Hello community, here is the log from the commit of package limal for openSUSE:Factory checked in at 2012-06-07 15:38:55 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/limal (Old) and /work/SRC/openSUSE:Factory/.limal.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "limal", Maintainer is "m...@suse.com" Changes: -------- --- /work/SRC/openSUSE:Factory/limal/limal.changes 2012-06-06 12:20:04.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.limal.new/limal.changes 2012-06-07 15:39:03.000000000 +0200 @@ -1,0 +2,6 @@ +Wed Jun 6 17:34:49 CEST 2012 - m...@suse.de + +- new swig versions is sv_isobject to test if to stringify the + error, so bless the limal exception hash into class "LIMAL::Exception" + +------------------------------------------------------------------- New: ---- limal-1.6.3-swig.diff ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ limal.spec ++++++ --- /var/tmp/diff_new_pack.JEIA3S/_old 2012-06-07 15:39:04.000000000 +0200 +++ /var/tmp/diff_new_pack.JEIA3S/_new 2012-06-07 15:39:04.000000000 +0200 @@ -22,6 +22,7 @@ Source0: limal-1.6.3.tar.bz2 Patch0: limal-1.6.3.diff +Patch1: limal-1.6.3-swig.diff Prefix: /usr %define swiglibdir /usr/share/limal/typemaps @@ -74,6 +75,7 @@ %prep %setup -n limal-1.6.3 %patch0 +%patch1 translation-update-upstream %build ++++++ limal-1.6.3-swig.diff ++++++ --- ./typemaps/blocxx_exceptions.i.orig 2012-06-06 15:32:15.000000000 +0000 +++ ./typemaps/blocxx_exceptions.i 2012-06-06 15:33:28.000000000 +0000 @@ -55,7 +55,7 @@ LIMAL_croak(SWIG_MAYBE_PERL_OBJECT const LIMAL_buildExceptionHash(hash, e); #endif - sv_setsv(perl_get_sv("@", TRUE), newRV_noinc((SV*)hash)); + sv_setsv(perl_get_sv("@", TRUE), sv_bless(newRV_noinc((SV*)hash), gv_stashpv("LIMAL::Exception", GV_ADD))); } #define LIMAL_exception(a) { LIMAL_croak(a); SWIG_fail; } @@ -72,7 +72,7 @@ LIMAL_croak2(SWIG_MAYBE_PERL_OBJECT cons value = newSVpv(e.what(), 0); hv_store(hash, "message", 7, value, 0); - sv_setsv(perl_get_sv("@", TRUE), newRV_noinc((SV*)hash)); + sv_setsv(perl_get_sv("@", TRUE), sv_bless(newRV_noinc((SV*)hash), gv_stashpv("LIMAL::Exception", GV_ADD))); } #define LIMAL_exception2(a) { LIMAL_croak2(a); SWIG_fail; } -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org