Hello community, here is the log from the commit of package swig for openSUSE:Factory checked in at Wed Apr 7 17:38:25 CEST 2010. -------- --- swig/swig.changes 2010-02-14 10:54:45.000000000 +0100 +++ swig/swig.changes 2010-04-06 15:39:55.000000000 +0200 @@ -1,0 +2,7 @@ +Tue Apr 6 13:38:47 UTC 2010 - coolo@novell.com + +- fix build with new perl 5.12: there is no Reference type anymore, + but references and integers are the same, so a 0L was seen as 0 + pointer - breaking the test suite. The fix is to remove the check + +------------------------------------------------------------------- calling whatdependson for head-i586 New: ---- adapt-perl512.diff ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ swig.spec ++++++ --- /var/tmp/diff_new_pack.sgLyw3/_old 2010-04-07 17:34:22.000000000 +0200 +++ /var/tmp/diff_new_pack.sgLyw3/_new 2010-04-07 17:34:22.000000000 +0200 @@ -49,10 +49,11 @@ AutoReqProv: on Summary: Simplified Wrapper and Interface Generator Version: 1.3.40 -Release: 2 +Release: 3 Source: swig-%{version}.tar.bz2 Patch1: swig-1.3.36-perl-long-long.patch Patch2: swig-fixassert.diff +Patch3: adapt-perl512.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -128,6 +129,7 @@ %setup -q %patch1 %patch2 +%patch3 -p1 %build v1=$(awk '/^# Generated by GNU Autoconf / { print $6; exit; }' configure) ++++++ adapt-perl512.diff ++++++ Index: swig-1.3.40/Lib/perl5/perlrun.swg =================================================================== --- swig-1.3.40.orig/Lib/perl5/perlrun.swg 2009-08-14 23:05:06.000000000 +0200 +++ swig-1.3.40/Lib/perl5/perlrun.swg 2010-04-06 15:07:29.000000000 +0200 @@ -272,6 +272,7 @@ SWIG_Perl_ConvertPtrAndOwn(SWIG_MAYBE_PE } else if (! SvOK(sv)) { /* Check for undef */ *(ptr) = (void *) 0; return SWIG_OK; +#if PERL_VERSION < 12 } else if (SvTYPE(sv) == SVt_RV) { /* Check for NULL pointer */ if (!SvROK(sv)) { *(ptr) = (void *) 0; @@ -279,6 +280,7 @@ SWIG_Perl_ConvertPtrAndOwn(SWIG_MAYBE_PE } else { return SWIG_ERROR; } +#endif } else { /* Don't know what it is */ return SWIG_ERROR; } ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org