Hello community,

here is the log from the commit of package subversion for openSUSE:Factory 
checked in at 2014-07-24 07:32:04
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/subversion (Old)
 and      /work/SRC/openSUSE:Factory/.subversion.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "subversion"

Changes:
--------
--- /work/SRC/openSUSE:Factory/subversion/subversion.changes    2014-06-06 
14:36:38.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.subversion.new/subversion.changes       
2014-07-24 07:32:05.000000000 +0200
@@ -1,0 +2,6 @@
+Tue Jul 22 17:09:01 CEST 2014 - m...@suse.de
+
+- do not undef bool in swig, it breaks modern perl versions
+  new patch: swig.noembed.patch
+
+-------------------------------------------------------------------

New:
----
  swig.noembed.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ subversion.spec ++++++
--- /var/tmp/diff_new_pack.yehC7K/_old  2014-07-24 07:32:06.000000000 +0200
+++ /var/tmp/diff_new_pack.yehC7K/_new  2014-07-24 07:32:06.000000000 +0200
@@ -179,6 +179,7 @@
 Patch31:        subversion.perl.LD_RUN_PATH.patch
 Patch37:        subversion-no-build-date.patch
 Patch38:        subversion-1.8.9-allow-httpd-2.4.6.patch
+Patch39:        swig.noembed.patch
 #
 %if %with_ruby
 %define rb_arch %(echo "%{_host_cpu}-%{_os}" | sed -e "s/i686/i586/" -e 
"s/armv5tel/armv4l/" -e "s/hppa2.0/hppa/")
@@ -326,6 +327,9 @@
 %prep
 %if %with_intree_swig
 %setup -q -n subversion-%{version} -a 4 -b 90
+pushd "../swig-%{swig_version}"
+%patch39
+popd
 %else
 %setup -q -n subversion-%{version} -a 4
 %endif




++++++ swig.noembed.patch ++++++
From: Michael Schröder <m...@suse.com>
Date: Tue, 22 Jul 2014 17:09:01 +0100
Subject: do not undef bool in swig, it breaks modern perl versions
References: 
https://github.com/swig/swig/commit/4305a3cef9b210541c3b88ab2fd03d787c3bca66
Upstream: committed

Fixes swig compilation errors like:

[  778s] /usr/lib/perl5/5.20.0/i586-linux-thread-multi/CORE/handy.h:124:39: 
error: expected ':' before numeric constant
[  778s]  #define cBOOL(cbool) ((cbool) ? (bool)1 : (bool)0)

[  778s] core.c: In function '_wrap_svn_diff_open_patch_file':
[  778s] /usr/lib/perl5/5.20.0/i586-linux-thread-multi/CORE/handy.h:124:34: 
error: 'bool' undeclared (first use in this function)
[  778s]  #define cBOOL(cbool) ((cbool) ? (bool)1 : (bool)0)
etc.

--- ./Lib/perl5/noembed.h.orig  2014-07-22 15:04:46.921825843 +0000
+++ ./Lib/perl5/noembed.h       2014-07-22 15:04:58.983770532 +0000
@@ -61,9 +61,6 @@
 #ifdef eof
   #undef eof
 #endif
-#ifdef bool
-  #undef bool
-#endif
 #ifdef close
   #undef close
 #endif
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to