svn commit: r552292 - head/lang/python39

Piotr Kubaj pkubaj at FreeBSD.org
Tue Oct 13 23:02:28 UTC 2020


Author: pkubaj
Date: Tue Oct 13 23:02:28 2020
New Revision: 552292
URL: https://svnweb.freebsd.org/changeset/ports/552292

Log:
  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

Modified:
  head/lang/python39/Makefile

Modified: head/lang/python39/Makefile
==============================================================================
--- head/lang/python39/Makefile	Tue Oct 13 22:35:45 2020	(r552291)
+++ head/lang/python39/Makefile	Tue Oct 13 23:02:28 2020	(r552292)
@@ -14,7 +14,8 @@ COMMENT=	Interpreted object-oriented programming langu
 
 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


More information about the svn-ports-all mailing list