Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Dec 2016 01:15:58 +0000 (UTC)
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r428968 - head/games/openbor
Message-ID:  <201612200115.uBK1Fx8F082184@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201612200115.uBK1Fx8F082184>