summaryrefslogtreecommitdiff
path: root/lang/python27
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2012-03-27 10:49:22 +0000
committerobache <obache@pkgsrc.org>2012-03-27 10:49:22 +0000
commita0e313b67f59bc99d554f769dafcb793230ec7c3 (patch)
treea3a7b02bda3311a7f824ac214a7aaa7212a8cc3c /lang/python27
parent129925d829ecae0e4e69421d0b24e38c8c8d15cb (diff)
downloadpkgsrc-a0e313b67f59bc99d554f769dafcb793230ec7c3.tar.gz
Fix build on OpenBSD-5.x, treat same as OpenBSD-4.[789].
Diffstat (limited to 'lang/python27')
-rw-r--r--lang/python27/distinfo4
-rw-r--r--lang/python27/patches/patch-al13
2 files changed, 13 insertions, 4 deletions
diff --git a/lang/python27/distinfo b/lang/python27/distinfo
index 22705482483..073e7a10ef5 100644
--- a/lang/python27/distinfo
+++ b/lang/python27/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.16 2012/03/24 12:04:36 tron Exp $
+$NetBSD: distinfo,v 1.17 2012/03/27 10:49:22 obache Exp $
SHA1 (Python-2.7.2.tar.bz2) = 417bdeea77abfaf1b9257fc6b4a04aaa209f4547
RMD160 (Python-2.7.2.tar.bz2) = c3bf4f09b7c429a4d9f4cc251c795304cd5232c5
@@ -38,7 +38,7 @@ SHA1 (patch-ab) = 8c44f60d9ed0babb107bc4643b0437e2dd55d03a
SHA1 (patch-ad) = de730b9f5a5efb56afa8bed05824b5f6579242ec
SHA1 (patch-ae) = ff6d8c6164fe3c6dc4fb33d88eb8a49d5c5442f6
SHA1 (patch-ah) = 8e9ee44c7a054f1387b6d8ef8dbe9c1b8dc8d891
-SHA1 (patch-al) = b97c2e73b9038e22f55ec226c2cbcc671466ad19
+SHA1 (patch-al) = 2e72dcb429a368a0241ecb188dc01d68e2d9e530
SHA1 (patch-am) = f56a53eb9f4694913d317c09e162bdd413f8f38f
SHA1 (patch-an) = 6098fbf0fc31422196cc40d3a227934523db11ca
SHA1 (patch-ao) = 9996a444fc0034c9f01fd18f4ad7bf714a8c8d04
diff --git a/lang/python27/patches/patch-al b/lang/python27/patches/patch-al
index 09b9867c98e..133e8277b43 100644
--- a/lang/python27/patches/patch-al
+++ b/lang/python27/patches/patch-al
@@ -1,6 +1,6 @@
-$NetBSD: patch-al,v 1.5 2011/09/16 19:17:52 bsiegert Exp $
+$NetBSD: patch-al,v 1.6 2012/03/27 10:49:22 obache Exp $
---- configure.orig Sat Jun 11 15:46:04 2011
+--- configure.orig 2011-06-11 15:46:28.000000000 +0000
+++ configure
@@ -3026,7 +3026,7 @@ case $ac_sys_system/$ac_sys_release in
# Reconfirmed for OpenBSD 3.3 by Zachary Hamm, for 3.4 by Jason Ish.
@@ -11,6 +11,15 @@ $NetBSD: patch-al,v 1.5 2011/09/16 19:17:52 bsiegert Exp $
define_xopen_source=no
# OpenBSD undoes our definition of __BSD_VISIBLE if _XOPEN_SOURCE is
# also defined. This can be overridden by defining _BSD_SOURCE
+@@ -3035,7 +3035,7 @@ case $ac_sys_system/$ac_sys_release in
+ $as_echo "#define _BSD_SOURCE 1" >>confdefs.h
+
+ ;;
+- OpenBSD/4.[789])
++ OpenBSD/4.[789] | OpenBSD/5.*)
+ # OpenBSD undoes our definition of __BSD_VISIBLE if _XOPEN_SOURCE is
+ # also defined. This can be overridden by defining _BSD_SOURCE
+ # As this has a different meaning on Linux, only define it on OpenBSD
@@ -4927,15 +4927,10 @@ $as_echo "#define Py_ENABLE_SHARED 1" >>
RUNSHARED=LD_LIBRARY_PATH=`pwd`:${LD_LIBRARY_PATH}
INSTSONAME="$LDLIBRARY".$SOVERSION