1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-17 19:39:43 +00:00

Fix build with -fno-common

While here add license (GPLv3)
This commit is contained in:
Stefan Eßer 2020-09-30 10:36:54 +00:00
parent 656ef8030a
commit c9e43954f5
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=550675
2 changed files with 18 additions and 4 deletions

View File

@ -3,19 +3,22 @@
PORTNAME= phlipple
PORTVERSION= 0.8.5
PORTREVISION= 5
PORTREVISION= 6
CATEGORIES= games
MASTER_SITES= SF/${PORTNAME}
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Flipping squares will never be the same
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libogg.so:audio/libogg \
libvorbis.so:audio/libvorbis
USES= desktop-file-utils gl pkgconfig sdl
USE_SDL= sdl mixer image
USES= desktop-file-utils gl pkgconfig sdl dos2unix xorg
USE_GL= gl glew glu
USE_SDL= sdl mixer image
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
@ -24,8 +27,8 @@ LIBS+= -L${LOCALBASE}/lib -lm
PLIST_FILES= bin/${PORTNAME} \
share/applications/${PORTNAME}.desktop \
share/pixmaps/${PORTNAME}.png
PORTDOCS= *
PORTDATA= *
PORTDOCS= *
OPTIONS_DEFINE= DOCS

View File

@ -0,0 +1,11 @@
--- src/engine.h.orig 2012-05-19 10:26:56 UTC
+++ src/engine.h
@@ -44,7 +44,7 @@
#define VERTEX_DRAW_INNER_OFFSET 0.15f
-char debugOutput[1024];
+extern char debugOutput[1024];
#include "renderstate.h"