![](https://seccdn.libravatar.org/avatar/e2145bc5cf53dda95c308a3c75e8fef3.jpg?s=120&d=mm&r=g)
Hello community, here is the log from the commit of package swig for openSUSE:Factory checked in at Sun Feb 14 12:35:48 CET 2010. -------- --- swig/swig.changes 2010-01-22 11:23:28.000000000 +0100 +++ /mounts/work_src_done/STABLE/swig/swig.changes 2010-02-14 10:54:45.000000000 +0100 @@ -1,0 +2,6 @@ +Sun Feb 14 09:54:04 UTC 2010 - coolo@novell.com + +- take patch from swig svn to fix assertion on -xmlout (fix + yast2-storage build) + +------------------------------------------------------------------- calling whatdependson for head-i586 New: ---- swig-fixassert.diff ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ swig.spec ++++++ --- /var/tmp/diff_new_pack.e8knE2/_old 2010-02-14 12:35:18.000000000 +0100 +++ /var/tmp/diff_new_pack.e8knE2/_new 2010-02-14 12:35:18.000000000 +0100 @@ -49,9 +49,10 @@ AutoReqProv: on Summary: Simplified Wrapper and Interface Generator Version: 1.3.40 -Release: 1 +Release: 2 Source: swig-%{version}.tar.bz2 Patch1: swig-1.3.36-perl-long-long.patch +Patch2: swig-fixassert.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -126,6 +127,7 @@ %prep %setup -q %patch1 +%patch2 %build v1=$(awk '/^# Generated by GNU Autoconf / { print $6; exit; }' configure) ++++++ swig-fixassert.diff ++++++ ------------------------------------------------------------------------ r11841 | wsfulton | 2010-02-05 23:22:35 +0100 (Fr, 05. Feb 2010) | 1 Zeile Fix #2894405 - assertion when using -xmlout. ------------------------------------------------------------------------ Index: Source/Modules/swigmain.cxx =================================================================== --- Source/Modules/swigmain.cxx (Revision 11840) +++ Source/Modules/swigmain.cxx (Revision 11841) @@ -196,7 +196,8 @@ dl = (fac) (); } } + int res = SWIG_main(argc, argv, dl); - delete dl; + return res; } Index: Source/Modules/main.cxx =================================================================== --- Source/Modules/main.cxx (Revision 11840) +++ Source/Modules/main.cxx (Revision 11841) @@ -25,7 +25,7 @@ // Global variables -Language *lang; // Language method +static Language *lang = 0; // Language method int CPlusPlus = 0; int Extend = 0; // Extend flag int ForceExtern = 0; // Force extern mode @@ -1231,6 +1231,8 @@ Swig_print_tree(Getattr(top, "module")); } if (dump_xml && top) { + delete lang; + lang = 0; Swig_print_xml(top, xmlout); } Delete(top); @@ -1265,6 +1267,9 @@ if ((werror) && (Swig_warn_count())) { return Swig_warn_count(); } + + delete lang; + return Swig_error_count(); } ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@Hilbert.suse.de