Subject: Re: pkg/30466: python23 under macosx 10.4 (tiger), build problem
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Antoine Reilles <Antoine.Reilles@loria.fr>
List: pkgsrc-bugs
Date: 06/08/2005 15:22:02
The following reply was made to PR pkg/30466; it has been noted by GNATS.
From: Antoine Reilles <Antoine.Reilles@loria.fr>
To: gnats-bugs@netbsd.org
Cc:
Subject: Re: pkg/30466: python23 under macosx 10.4 (tiger), build problem
Date: Wed, 8 Jun 2005 17:14:31 +0200
--Apple-Mail-4-350034380
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
charset=US-ASCII;
delsp=yes;
format=flowed
And the patch (I used the send-pr web form, and it do strange things
with patches)
regards,
antoine
--Apple-Mail-4-350034380
Content-Transfer-Encoding: 7bit
Content-Type: application/octet-stream;
x-unix-mode=0644;
name="python23.diff"
Content-Disposition: attachment;
filename=python23.diff
Index: distinfo
===================================================================
RCS file: /cvsroot/pkgsrc/lang/python23/distinfo,v
retrieving revision 1.28
diff -u -r1.28 distinfo
--- distinfo 7 Mar 2005 12:11:49 -0000 1.28
+++ distinfo 8 Jun 2005 15:06:11 -0000
@@ -9,7 +9,7 @@
SHA1 (patch-ae) = 3dcf150147333342b333871b41fe6fa92bced2d9
SHA1 (patch-af) = d23d42d5d5fc31aeaf1fca89448873cc4179ccf6
SHA1 (patch-ah) = 6740fb09c3a1fca8cd25642a683d65d6d66760f8
-SHA1 (patch-al) = 77ccdc4d9ef11b955db44680d4a0b572a49cea7a
+SHA1 (patch-al) = 22ec9e1e2475cc3f0487de646de4a749deaf43d9
SHA1 (patch-am) = df5c858b32a9a5aa118c84f6742f9d3547c0c7f3
SHA1 (patch-bb) = 7c6fe21b6328dddce2a079b0a1c7ae0bee817bae
SHA1 (patch-ca) = 95f5a515fe3dafd75d077e0591e88a34447152ff
Index: patches/patch-al
===================================================================
RCS file: /cvsroot/pkgsrc/lang/python23/patches/patch-al,v
retrieving revision 1.11
diff -u -r1.11 patch-al
--- patches/patch-al 15 Feb 2005 12:25:07 -0000 1.11
+++ patches/patch-al 8 Jun 2005 15:06:11 -0000
@@ -1,8 +1,8 @@
$NetBSD: patch-al,v 1.11 2005/02/15 12:25:07 drochner Exp $
--- configure.orig 2005-01-11 14:48:52.000000000 +0100
-+++ configure
-@@ -1481,6 +1481,8 @@ case $ac_sys_system/$ac_sys_release in
++++ configure 2005-06-08 16:12:12.000000000 +0200
+@@ -1481,6 +1481,8 @@
# Reconfirmed for OpenBSD 3.3 by Zachary Hamm, for 3.4 by Jason Ish.
OpenBSD/2.* | OpenBSD/3.[01234])
define_xopen_source=no;;
@@ -11,7 +11,16 @@
# On Solaris 2.6, sys/wait.h is inconsistent in the usage
# of union __?sigval. Reported by Stuart Bishop.
SunOS/5.6)
-@@ -3733,7 +3735,7 @@ _ACEOF
+@@ -1498,7 +1500,7 @@
+ # it craps out if _XOPEN_EXTENDED_SOURCE is defined. Apparently,
+ # this is fixed in 10.3, which identifies itself as Darwin/7.*
+ # This should hopefully be fixed in FreeBSD 4.9
+- FreeBSD/4.8* | Darwin/6* )
++ FreeBSD/4.8* | Darwin/6* | Darwin/8* )
+ define_xopen_source=no;;
+ # On AIX 4, mbstate_t is defined only when _XOPEN_SOURCE == 500 but used in
+ # wcsnrtombs() and mbsnrtowcs() even if _XOPEN_SOURCE is not defined or
+@@ -3733,7 +3735,7 @@
RUNSHARED=LD_LIBRARY_PATH=`pwd`:${LD_LIBRARY_PATH}
INSTSONAME="$LDLIBRARY".$SOVERSION
;;
@@ -20,7 +29,7 @@
LDLIBRARY='libpython$(VERSION).so'
BLDLIBRARY='-L. -lpython$(VERSION)'
RUNSHARED=LD_LIBRARY_PATH=`pwd`:${LD_LIBRARY_PATH}
-@@ -3754,6 +3756,14 @@ _ACEOF
+@@ -3754,6 +3756,14 @@
BLDLIBRARY='-L. -lpython$(VERSION)'
RUNSHARED=DLL_PATH=`pwd`:${DLL_PATH:-/atheos/sys/libs:/atheos/autolnk/lib}
;;
@@ -35,7 +44,7 @@
esac
# DG/UX requires some fancy ld contortions to produce a .so from an .a
case $MACHDEP in
-@@ -4152,7 +4162,12 @@ echo "${ECHO_T}$ac_cv_no_strict_aliasing
+@@ -4152,7 +4162,12 @@
;;
# is there any other compiler on Darwin besides gcc?
Darwin*)
@@ -49,7 +58,7 @@
;;
esac
;;
-@@ -10979,7 +10994,7 @@ then
+@@ -10979,7 +10994,7 @@
LDSHARED="$LDSHARED "'$(PYTHONFRAMEWORKPREFIX)/$(PYTHONFRAMEWORKDIR)/Versions/$(VERSION)/$(PYTHONFRAMEWORK)'
else
# No framework. Ignore undefined symbols, assuming they come from Python
@@ -58,7 +67,7 @@
fi ;;
Darwin/1.4*|Darwin/5.*|Darwin/6.*)
LDSHARED='$(CC) $(LDFLAGS) -bundle'
-@@ -11009,12 +11024,12 @@ then
+@@ -11009,12 +11024,12 @@
LDSHARED="$LDSHARED "'$(PYTHONFRAMEWORKPREFIX)/$(PYTHONFRAMEWORKDIR)/Versions/$(VERSION)/$(PYTHONFRAMEWORK)'
else
# No framework, use the Python app as bundle-loader
@@ -74,7 +83,7 @@
dgux*) LDSHARED="ld -G";;
BSD/OS*/4*) LDSHARED="gcc -shared";;
OpenBSD*|FreeBSD*)
-@@ -11024,7 +11039,8 @@ then
+@@ -11024,7 +11039,8 @@
else
LDSHARED="ld -Bshareable ${LDFLAGS}"
fi;;
@@ -84,7 +93,7 @@
OpenUNIX*|UnixWare*)
if test "$GCC" = "yes"
then LDSHARED='$(CC) -shared'
-@@ -11057,6 +11073,7 @@ then
+@@ -11057,6 +11073,7 @@
Linux*|GNU*) CCSHARED="-fPIC";;
BSD/OS*/4*) CCSHARED="-fpic";;
FreeBSD*|NetBSD*|OpenBSD*) CCSHARED="-fPIC";;
@@ -92,7 +101,7 @@
OpenUNIX*|UnixWare*)
if test "$GCC" = "yes"
then CCSHARED="-fPIC"
-@@ -11116,6 +11133,7 @@ then
+@@ -11116,6 +11133,7 @@
then
LINKFORSHARED="-Wl,--export-dynamic"
fi;;
@@ -100,7 +109,16 @@
SunOS/5*) case $CC in
*gcc*)
if $CC -Xlinker --help 2>&1 | grep export-dynamic >/dev/null
-@@ -15127,6 +15145,7 @@ cat >>conftest.$ac_ext <<_ACEOF
+@@ -13357,7 +13375,7 @@
+ _ACEOF
+
+ ;;
+- SunOS/5.8)
++ SunOS/5.8 | Darwin/8* )
+ cat >>confdefs.h <<\_ACEOF
+ #define HAVE_BROKEN_POSIX_SEMAPHORES 1
+ _ACEOF
+@@ -15127,6 +15145,7 @@
/* end confdefs.h. */
#include "confdefs.h"
--Apple-Mail-4-350034380--