pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: [pkgsrc-2017Q1] pkgsrc/lang/python36



Module Name:    pkgsrc
Committed By:   bsiegert
Date:           Sun Jun  4 09:49:51 UTC 2017

Modified Files:
        pkgsrc/lang/python36 [pkgsrc-2017Q1]: Makefile distinfo
        pkgsrc/lang/python36/patches [pkgsrc-2017Q1]: patch-configure

Log Message:
Pullup ticket #5469 - requested by he
lang/python36: macppc build fix

Revisions pulled up:
- lang/python36/Makefile                                        1.7
- lang/python36/distinfo                                        1.10
- lang/python36/patches/patch-configure                         1.7

---
   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.5 -r1.5.2.1 pkgsrc/lang/python36/Makefile
cvs rdiff -u -r1.7 -r1.7.2.1 pkgsrc/lang/python36/distinfo
cvs rdiff -u -r1.4 -r1.4.2.1 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.5 pkgsrc/lang/python36/Makefile:1.5.2.1
--- pkgsrc/lang/python36/Makefile:1.5   Wed Feb  1 11:47:45 2017
+++ pkgsrc/lang/python36/Makefile       Sun Jun  4 09:49:50 2017
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.5 2017/02/01 11:47:45 jperkin Exp $
+# $NetBSD: Makefile,v 1.5.2.1 2017/06/04 09:49:50 bsiegert Exp $
 
 .include "dist.mk"
 
 PKGNAME=       python36-${PY_DISTVERSION}
-PKGREVISION=   2
+PKGREVISION=   3
 CATEGORIES=    lang python
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost

Index: pkgsrc/lang/python36/distinfo
diff -u pkgsrc/lang/python36/distinfo:1.7 pkgsrc/lang/python36/distinfo:1.7.2.1
--- pkgsrc/lang/python36/distinfo:1.7   Thu Jan 26 09:45:23 2017
+++ pkgsrc/lang/python36/distinfo       Sun Jun  4 09:49:50 2017
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.7 2017/01/26 09:45:23 jperkin Exp $
+$NetBSD: distinfo,v 1.7.2.1 2017/06/04 09:49:50 bsiegert Exp $
 
 SHA1 (Python-3.6.0.tar.xz) = 18ebf7d726782967d967dc00e3aa08b334fbdd5c
 RMD160 (Python-3.6.0.tar.xz) = 984a38d1eec379ac8921479a86259ca0161734af
@@ -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) = b3b73638ddd72517f4e80193212a38e0cd991157
+SHA1 (patch-configure) = dd7a5667675126cc5bafbaa935368513e16b4b6d
 SHA1 (patch-setup.py) = 2ac8834ecc4e8bb27e1721e572e06dbfa74fe277

Index: pkgsrc/lang/python36/patches/patch-configure
diff -u pkgsrc/lang/python36/patches/patch-configure:1.4 pkgsrc/lang/python36/patches/patch-configure:1.4.2.1
--- pkgsrc/lang/python36/patches/patch-configure:1.4    Thu Jan 26 09:13:27 2017
+++ pkgsrc/lang/python36/patches/patch-configure        Sun Jun  4 09:49:51 2017
@@ -1,4 +1,4 @@
-$NetBSD: patch-configure,v 1.4 2017/01/26 09:13:27 adam Exp $
+$NetBSD: patch-configure,v 1.4.2.1 2017/06/04 09:49:51 bsiegert Exp $
 
 Simplify _sysconfigdata to include only platform name.
 
@@ -9,6 +9,9 @@ Changes for consistency across pkgsrc pl
 
 Fix linking on Darwin.
 
+Use gnu99 instead of c99 to avoid issue with alloca() being undefined
+on at least NetBSD/macppc.
+
 --- configure.orig     2016-12-23 02:21:22.000000000 +0000
 +++ configure
 @@ -2928,7 +2928,7 @@ $as_echo_n "checking for python interpre
@@ -38,6 +41,15 @@ Fix linking on Darwin.
          LDLIBRARY='libpython$(LDVERSION).so'
          BLDLIBRARY='-L. -lpython$(LDVERSION)'
          RUNSHARED=LD_LIBRARY_PATH=`pwd`${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}
+@@ -6905,7 +6905,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; }
 @@ -9196,8 +9196,8 @@ then
                        LDCXXSHARED="$LDCXXSHARED "'$(PYTHONFRAMEWORKPREFIX)/$(PYTHONFRAMEWORKDIR)/Versions/$(VERSION)/$(PYTHONFRAMEWORK)'
                else



Home | Main Index | Thread Index | Old Index