pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/pkgsrc-2017Q1]: pkgsrc/lang/python36 Pullup ticket #5469 - requested ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/33334333ec10
branches: pkgsrc-2017Q1
changeset: 360405:33334333ec10
user: bsiegert <bsiegert%pkgsrc.org@localhost>
date: Sun Jun 04 09:49:50 2017 +0000
description:
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.
diffstat:
lang/python36/Makefile | 4 ++--
lang/python36/distinfo | 4 ++--
lang/python36/patches/patch-configure | 14 +++++++++++++-
3 files changed, 17 insertions(+), 5 deletions(-)
diffs (66 lines):
diff -r c41504d8e910 -r 33334333ec10 lang/python36/Makefile
--- a/lang/python36/Makefile Sat Jun 03 18:34:10 2017 +0000
+++ b/lang/python36/Makefile Sun Jun 04 09:49:50 2017 +0000
@@ -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
diff -r c41504d8e910 -r 33334333ec10 lang/python36/distinfo
--- a/lang/python36/distinfo Sat Jun 03 18:34:10 2017 +0000
+++ b/lang/python36/distinfo Sun Jun 04 09:49:50 2017 +0000
@@ -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_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
diff -r c41504d8e910 -r 33334333ec10 lang/python36/patches/patch-configure
--- a/lang/python36/patches/patch-configure Sat Jun 03 18:34:10 2017 +0000
+++ b/lang/python36/patches/patch-configure Sun Jun 04 09:49:50 2017 +0000
@@ -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 @@
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 @@
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