pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/lang/python36
Module Name: pkgsrc
Committed By: he
Date: Mon May 29 23:06:45 UTC 2017
Modified Files:
pkgsrc/lang/python36: Makefile distinfo
pkgsrc/lang/python36/patches: patch-configure
Log Message:
Fix a build issue observed on NetBSD/macppc, in that alloca() is left
as an unresolved undefined symbol, causing the install to fail due to
PLIST issues. Change from -std=c99 to -std=gnu99 to work around this
problem, based on hint from joerg@.
Bump PKGREVISION.
To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 pkgsrc/lang/python36/Makefile
cvs rdiff -u -r1.9 -r1.10 pkgsrc/lang/python36/distinfo
cvs rdiff -u -r1.6 -r1.7 pkgsrc/lang/python36/patches/patch-configure
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/lang/python36/Makefile
diff -u pkgsrc/lang/python36/Makefile:1.6 pkgsrc/lang/python36/Makefile:1.7
--- pkgsrc/lang/python36/Makefile:1.6 Thu Mar 30 11:42:58 2017
+++ pkgsrc/lang/python36/Makefile Mon May 29 23:06:45 2017
@@ -1,9 +1,10 @@
-# $NetBSD: Makefile,v 1.6 2017/03/30 11:42:58 adam Exp $
+# $NetBSD: Makefile,v 1.7 2017/05/29 23:06:45 he Exp $
.include "dist.mk"
PKGNAME= python36-${PY_DISTVERSION}
CATEGORIES= lang python
+PKGREVISION= 1
MAINTAINER= pkgsrc-users%NetBSD.org@localhost
HOMEPAGE= http://www.python.org/
Index: pkgsrc/lang/python36/distinfo
diff -u pkgsrc/lang/python36/distinfo:1.9 pkgsrc/lang/python36/distinfo:1.10
--- pkgsrc/lang/python36/distinfo:1.9 Tue May 23 10:53:56 2017
+++ pkgsrc/lang/python36/distinfo Mon May 29 23:06:45 2017
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.9 2017/05/23 10:53:56 jperkin Exp $
+$NetBSD: distinfo,v 1.10 2017/05/29 23:06:45 he Exp $
SHA1 (Python-3.6.1.tar.xz) = 91d880a2a9fcfc6753cbfa132bf47a47e17e7b16
RMD160 (Python-3.6.1.tar.xz) = 77e70ec6a07b9c17a99ac1df503f12f3a4c49fce
@@ -14,5 +14,5 @@ SHA1 (patch-Modules___cursesmodule.c) =
SHA1 (patch-Modules_makesetup) = a06786eebffadecedba5e3a50a9785fb47613567
SHA1 (patch-Modules_nismodule.c) = 1bafe9b06359586d027a77011b103877590d947d
SHA1 (patch-Python_thread__pthread.h) = fb81eaa604b4ed7c1b64c3f4731d58a8aee257be
-SHA1 (patch-configure) = fe9b0213b64313dab4c453a8bd7135db961f6ac4
+SHA1 (patch-configure) = a5b943a2fb05b237ff370e5632de0597813d7944
SHA1 (patch-setup.py) = 1e14b84fc5cb21b3fa61755bf574021ba9b2ab81
Index: pkgsrc/lang/python36/patches/patch-configure
diff -u pkgsrc/lang/python36/patches/patch-configure:1.6 pkgsrc/lang/python36/patches/patch-configure:1.7
--- pkgsrc/lang/python36/patches/patch-configure:1.6 Tue May 23 10:53:56 2017
+++ pkgsrc/lang/python36/patches/patch-configure Mon May 29 23:06:45 2017
@@ -1,4 +1,4 @@
-$NetBSD: patch-configure,v 1.6 2017/05/23 10:53:56 jperkin Exp $
+$NetBSD: patch-configure,v 1.7 2017/05/29 23:06:45 he Exp $
Simplify _sysconfigdata to include only platform name.
@@ -9,6 +9,8 @@ Changes for consistency across pkgsrc pl
Fix linking on Darwin.
+Use gnu99 instead of c99 to avoid "alloca() undefined" problems on macppc.
+
--- configure.orig 2017-03-21 06:32:38.000000000 +0000
+++ configure
@@ -2928,7 +2928,7 @@ $as_echo_n "checking for python interpre
@@ -38,6 +40,15 @@ Fix linking on Darwin.
LDLIBRARY='libpython$(LDVERSION).so'
BLDLIBRARY='-L. -lpython$(LDVERSION)'
RUNSHARED=LD_LIBRARY_PATH=`pwd`${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}
+@@ -6897,7 +6897,7 @@ UNIVERSAL_ARCH_FLAGS=
+ # tweak BASECFLAGS based on compiler and platform
+ case $GCC in
+ yes)
+- CFLAGS_NODIST="$CFLAGS_NODIST -std=c99"
++ CFLAGS_NODIST="$CFLAGS_NODIST -std=gnu99"
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Wextra" >&5
+ $as_echo_n "checking for -Wextra... " >&6; }
@@ -9188,8 +9188,8 @@ then
LDCXXSHARED="$LDCXXSHARED "'$(PYTHONFRAMEWORKPREFIX)/$(PYTHONFRAMEWORKDIR)/Versions/$(VERSION)/$(PYTHONFRAMEWORK)'
else
Home |
Main Index |
Thread Index |
Old Index