svn commit: r428968 - head/games/openbor
Jan Beich
jbeich at FreeBSD.org
Tue Dec 20 01:16:00 UTC 2016
Author: jbeich
Date: Tue Dec 20 01:15:58 2016
New Revision: 428968
URL: https://svnweb.freebsd.org/changeset/ports/428968
Log:
games/openbor: fix inline warnings
In file included from source/scriptlib/Interpreter.c:9:
In file included from ./openborscript.h:12:
In file included from source/scriptlib/Interpreter.h:12:
In file included from source/scriptlib/StackedSymbolTable.h:12:
In file included from source/scriptlib/SymbolTable.h:11:
source/scriptlib/ScriptVariant.h:66:23: warning: inline function 'ScriptVariant_Xor' is not defined
[-Wundefined-inline]
inline ScriptVariant *ScriptVariant_Xor( ScriptVariant *svar, ScriptVariant *rightChild );
^
source/scriptlib/Interpreter.c:1090:22: note: used here
BINARYOP(ScriptVariant_Xor);
^
Modified:
head/games/openbor/Makefile (contents, props changed)
Modified: head/games/openbor/Makefile
==============================================================================
--- head/games/openbor/Makefile Mon Dec 19 23:59:23 2016 (r428967)
+++ head/games/openbor/Makefile Tue Dec 20 01:15:58 2016 (r428968)
@@ -2,6 +2,7 @@
PORTNAME= openbor
PORTVERSION= 3.0.r4415
+PORTREVISION= 1
CATEGORIES= games devel
MASTER_SITES= LOCAL/jbeich \
https://svn.code.sf.net/p/${PORTNAME}/engine/engine/:svn
@@ -21,6 +22,7 @@ MAKE_ENV= BUILD_LINUX=1 SDKPATH="${LOCAL
MAKE_ARGS= CC="${CC}" LIBRARIES="${LOCALBASE}/lib" \
TARGET_ARCH=${ARCH:S/i386/x86/} ARCHFLAGS="" \
TARGET_FINAL='${TARGET}' BUILD_MMX=""
+CFLAGS+= -fgnu89-inline
LDFLAGS+= -Wl,--as-needed # ogg, pthread, zlib
PLIST_FILES= bin/${PORTNAME} \
share/pixmaps/${PORTNAME}.png
More information about the svn-ports-head
mailing list