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
This commit is contained in:
Piotr Kubaj 2020-12-24 11:59:24 +00:00
parent cecdb5fd3c
commit 71ef236b38
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=559065

View File

@ -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