Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Oct 2020 23:02:28 +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: r552292 - head/lang/python39
Message-ID:  <202010132302.09DN2Sd5029447@repo.freebsd.org>

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



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