svn commit: r559065 - head/devel/py-game

Piotr Kubaj pkubaj at FreeBSD.org
Thu Dec 24 11:59:25 UTC 2020


Author: pkubaj
Date: Thu Dec 24 11:59:24 2020
New Revision: 559065
URL: https://svnweb.freebsd.org/changeset/ports/559065

Log:
  devel/py-game: fix build on GCC architectures
  
  In file included from /usr/local/include/SDL2/SDL_main.h:25,
                   from /usr/local/include/SDL2/SDL.h:32,
                   from src_c/scrap.c:30:
  /usr/local/include/SDL2/SDL_stdinc.h:179: error: redefinition of typedef 'Uint8'
  src_c/include/pgcompat.h:86: error: previous declaration of 'Uint8' was here
  /usr/local/include/SDL2/SDL_stdinc.h:203: error: redefinition of typedef 'Uint32'
  src_c/include/pgcompat.h:85: error: previous declaration of 'Uint32' was here

Modified:
  head/devel/py-game/Makefile

Modified: head/devel/py-game/Makefile
==============================================================================
--- head/devel/py-game/Makefile	Thu Dec 24 11:42:34 2020	(r559064)
+++ head/devel/py-game/Makefile	Thu Dec 24 11:59:24 2020	(r559065)
@@ -21,7 +21,7 @@ LIB_DEPENDS=	libfreetype.so:print/freetype2 \
 RUN_DEPENDS=	${PYNUMPY} \
 		v4l_compat>0:multimedia/v4l_compat
 
-USES=		jpeg pkgconfig python sdl xorg
+USES=		compiler:c11 jpeg pkgconfig python sdl xorg
 USE_SDL=	sdl2 ttf2 image2 mixer2
 USE_PYTHON=	autoplist distutils
 USE_XORG=	x11


More information about the svn-ports-all mailing list