Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Dec 2016 00:06:00 +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: r429296 - head/games/openbor
Message-ID:  <201612240006.uBO060uR010939@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jbeich
Date: Sat Dec 24 00:06:00 2016
New Revision: 429296
URL: https://svnweb.freebsd.org/changeset/ports/429296

Log:
  games/openbor: unbreak on DragonFly after r428004
  
  In file included from source/webmlib/halloc/halloc.c:20:0:
  source/webmlib/halloc/align.h:42:25: error: conflicting types for 'max_align_t'
   typedef union max_align max_align_t;
                           ^
  In file included from source/webmlib/halloc/halloc.h:18:0,
                   from source/webmlib/halloc/halloc.c:19:
  /usr/include/stddef.h:74:3: note: previous declaration of 'max_align_t' was here
   } max_align_t;
     ^

Modified:
  head/games/openbor/Makefile   (contents, props changed)

Modified: head/games/openbor/Makefile
==============================================================================
--- head/games/openbor/Makefile	Sat Dec 24 00:02:12 2016	(r429295)
+++ head/games/openbor/Makefile	Sat Dec 24 00:06:00 2016	(r429296)
@@ -21,7 +21,8 @@ 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
+CFLAGS+=	-fgnu89-inline ${CFLAGS_${OPSYS}}
+CFLAGS_DragonFly=	-D_GCC_MAX_ALIGN_T # system stddef.h
 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?201612240006.uBO060uR010939>