lang/python39: fix build on GCC architectures

Use newer GCC:
/wrkdirs/usr/ports/lang/python39/work/Python-3.9.0/Modules/_zoneinfo.c: In function 'calendarrule_new':
/wrkdirs/usr/ports/lang/python39/work/Python-3.9.0/Modules/_zoneinfo.c:1227: error: #pragma GCC diagnostic not allowed inside functions
/wrkdirs/usr/ports/lang/python39/work/Python-3.9.0/Modules/_zoneinfo.c:1228: error: #pragma GCC diagnostic not allowed inside functions
/wrkdirs/usr/ports/lang/python39/work/Python-3.9.0/Modules/_zoneinfo.c:1229: warning: comparison is always false due to limited range of data type
/wrkdirs/usr/ports/lang/python39/work/Python-3.9.0/Modules/_zoneinfo.c:1230: error: #pragma GCC diagnostic not allowed inside functions
This commit is contained in:
Piotr Kubaj 2020-10-13 23:02:28 +00:00
parent 2af67e7ff0
commit 75bc919f3d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=552292

View File

@ -14,7 +14,8 @@ COMMENT= Interpreted object-oriented programming language
LICENSE= PSFL
USES= cpe ncurses pathfix pkgconfig readline:port shebangfix ssl tar:xz
USES= compiler:c11 cpe ncurses pathfix pkgconfig readline:port \
shebangfix ssl tar:xz
PATHFIX_MAKEFILEIN= Makefile.pre.in
USE_LDCONFIG= yes
GNU_CONFIGURE= yes