Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Dec 2020 11:59:25 +0000 (UTC)
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r559065 - head/devel/py-game
Message-ID:  <202012241159.0BOBxPj1051347@repo.freebsd.org>

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



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