Subject: pkg/25011: devel/subversion/patches/patch-ae broken for subversion-1.0.1
To: None <>
From: None <>
List: pkgsrc-bugs
Date: 04/01/2004 16:34:36
>Number:         25011
>Category:       pkg
>Synopsis:       devel/subversion/patches/patch-ae broken for subversion-1.0.1
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Apr 01 16:35:01 UTC 2004
>Originator:     Jonathan Baudanza
>Release:        Using pkgsrc on Solaris 9
bash-2.05# uname -a
SunOS ruckus01 5.9 Generic_112233-11 sun4u sparc SUNW,Ultra-250

I am using the latest checkout from

devel/subversion/patches/patch-ae works fine on the file configure in subversion 1.0.0.  It breaks with the current 1.0.1 version of subversion.
cd /usr/pkgsrc/devel/subversion-base
bmake (or make)
I created a new patch-ae file by doing a three way merge with the 1.0.0 configure, the 1.0.0 configure with patch-ae, and the 1.0.1 configure.  

The following is the result of my merge.  You'll also have to run make makepatchsum in /usr/pkgsrc/devel/subversion


--- configure.orig      2004-04-01 10:15:18.003927000 -0500
+++ configure
@@ -10990,8 +10990,9 @@ echo "$as_me: WARNING: swig bindings ver
     if test "$PYTHON" != "none" -a "$SWIG_SUITABLE" = "yes" -a "$svn_swig_bindings_enable_python" = "yes"; then
       { echo "$as_me:$LINENO: \"Configuring python swig binding\"" >&5
 echo "$as_me: \"Configuring python swig binding\"" >&6;}
-      SWIG_INSTALL_RULES="$SWIG_INSTALL_RULES install-swig-py-lib"
+      # XXX pkgsrc: Don't build bindings by default.
+      #SWIG_BUILD_RULES="$SWIG_BUILD_RULES swig-py-lib"
+      #SWIG_INSTALL_RULES="$SWIG_INSTALL_RULES install-swig-py-lib"

       echo "$as_me:$LINENO: checking if swig needs -L for its libraries" >&5
@@ -11073,7 +11074,7 @@ echo "${ECHO_T}$ac_cv_python_link" >&6
       ### TODO: enable when the target is implemented correctly
 #      SWIG_BUILD_RULES="$SWIG_BUILD_RULES swig-pl-lib"
 #      SWIG_INSTALL_RULES="$SWIG_INSTALL_RULES install-swig-pl-lib"
-      SWIG_PL_INCLUDES="\$(SWIG_INCLUDES) `$PERL -MExtUtils::Embed -e ccopts`"
+      SWIG_PL_INCLUDES="\$(SWIG_INCLUDES) `$PERL -MExtUtils::Embed -e ccopts | sed s/-fno-strict-aliasing//`"
       SWIG_PL_COMPILE="`$PERL -MConfig -e 'print $Config{cc}'` \$(SWIG_PL_INCLUDES)"
       SWIG_PL_LINK="`$PERL -MConfig -e 'print $Config{ld}'` `$PERL -MConfig -e 'print $Config{lddlflags}'` `$PERL -MExtUtils::Embed -e ldopts`"