rpms/subversion/F-8 subversion-1.4.4-swig1333.patch, NONE, 1.1 subversion.spec, 1.102, 1.103

Joe Orton (jorton) fedora-extras-commits at redhat.com
Wed Feb 13 14:38:35 UTC 2008


Author: jorton

Update of /cvs/extras/rpms/subversion/F-8
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv17395

Modified Files:
	subversion.spec 
Added Files:
	subversion-1.4.4-swig1333.patch 
Log Message:
* Wed Feb 13 2008 Joe Orton <jorton at redhat.com> 1.4.6-2.fc8
- fix build of swig bindings


subversion-1.4.4-swig1333.patch:

--- NEW FILE subversion-1.4.4-swig1333.patch ---

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=453166

# For some reason, rubyhead.swg is included without being needed (at least 
# for the current swig 1.3.33 version). This leads to a redefinition of 
# _mSWIG. The documentation of SWIG only talks about including just 
# the external_runtime file, not any additional includes. Also, the other
# bindings do not include anything from SWIG apart from the external 
# runtime. So I think this patch should suffice.  
#
#  -- Torsten Landschoff

Index: subversion/bindings/swig/ruby/libsvn_swig_ruby/swigutil_rb.c
===================================================================
--- subversion-1.4.4/subversion/bindings/swig/ruby/libsvn_swig_ruby/swigutil_rb.c.swig133
+++ subversion-1.4.4/subversion/bindings/swig/ruby/libsvn_swig_ruby/swigutil_rb.c
@@ -1,4 +1,3 @@
-#include "rubyhead.swg"
 #include "swig_ruby_external_runtime.swg"
 #include "swigutil_rb.h"
 #include <st.h>


Index: subversion.spec
===================================================================
RCS file: /cvs/extras/rpms/subversion/F-8/subversion.spec,v
retrieving revision 1.102
retrieving revision 1.103
diff -u -r1.102 -r1.103
--- subversion.spec	31 Jan 2008 15:47:08 -0000	1.102
+++ subversion.spec	13 Feb 2008 14:38:01 -0000	1.103
@@ -15,7 +15,7 @@
 Summary: Modern Version Control System designed to replace CVS
 Name: subversion
 Version: 1.4.6
-Release: 1%{?dist}
+Release: 2%{?dist}
 License: ASL 1.1
 Group: Development/Tools
 URL: http://subversion.tigris.org/
@@ -28,6 +28,7 @@
 Patch6: subversion-1.0.3-pie.patch
 Patch7: subversion-1.1.3-java.patch
 Patch8: subversion-1.4.4-macropen.patch
+Patch9: subversion-1.4.4-swig1333.patch
 BuildRequires: autoconf, libtool, python, python-devel, texinfo, which
 BuildRequires: db4-devel >= 4.1.25, swig >= 1.3.24, gettext
 BuildRequires: apr-devel >= 0.9.7, apr-util-devel >= 0.9.7
@@ -110,6 +111,7 @@
 %patch7 -p1 -b .java
 %endif
 %patch8 -p1 -b .macropen
+%patch9 -p1 -b .swig1333
 
 %build
 ./autogen.sh
@@ -274,6 +276,9 @@
 %endif
 
 %changelog
+* Wed Feb 13 2008 Joe Orton <jorton at redhat.com> 1.4.6-2.fc8
+- fix build of swig bindings
+
 * Thu Jan 31 2008 Joe Orton <jorton at redhat.com> 1.4.6-1.fc8
 - update to 1.4.6
 




More information about the fedora-extras-commits mailing list