Hello community, here is the log from the commit of package swig for openSUSE:Factory checked in at 2011-12-15 16:07:59 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/swig (Old) and /work/SRC/openSUSE:Factory/.swig.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "swig", Maintainer is "[email protected]" Changes: -------- --- /work/SRC/openSUSE:Factory/swig/swig.changes 2011-09-23 12:47:12.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.swig.new/swig.changes 2011-12-15 16:08:01.000000000 +0100 @@ -1,0 +2,10 @@ +Fri Dec 9 08:55:59 UTC 2011 - [email protected] + +- fix license to be in spdx.org format + +------------------------------------------------------------------- +Mon Dec 5 13:37:26 UTC 2011 - [email protected] + +- generate guile 2 friendly code + +------------------------------------------------------------------- New: ---- swig-2.0.4-guile2.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ swig.spec ++++++ --- /var/tmp/diff_new_pack.YRMx61/_old 2011-12-15 16:08:03.000000000 +0100 +++ /var/tmp/diff_new_pack.YRMx61/_new 2011-12-15 16:08:03.000000000 +0100 @@ -15,8 +15,6 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # - - Name: swig BuildRequires: boost-devel BuildRequires: gcc-c++ @@ -50,11 +48,11 @@ %endif %endif Version: 2.0.4 -Release: 5 -License: GPLv3+ and BSD +Release: 0 Summary: Simplified Wrapper and Interface Generator -Url: http://www.swig.org +License: GPL-3.0+ and BSD-3-Clause Group: Development/Languages/C and C++ +Url: http://www.swig.org Source: %{name}-%{version}.tar.bz2 Source1: %{name}.rpmlintrc # PATCH-FIX-UPSTREAM swig-2.0.4-support-python32.patch [email protected] -- Support Python 3.2 @@ -65,6 +63,8 @@ Patch3: swig-2.0.4-disable-broken-tests.patch # swig-2.0.4-disable-broken-tests_rhel4.patch [email protected] -- disable tests failing on RHEL4 Patch4: swig-2.0.4-disable-broken-tests_rhel4.patch +# PATCH-FIX-UPSTREAM swig-2.0.4-guile2.patch [email protected] -- generate guile 2 friendly code +Patch5: swig-2.0.4-guile2.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -78,9 +78,8 @@ customization options, and more. %package doc -License: BSD3c Summary: SWIG Manual -Group: Development/Languages/C and C++ +License: BSD-3-Clause Requires: swig %if 0%{?suse_version} >= 1120 BuildArch: noarch @@ -99,9 +98,8 @@ This package contains the SWIG manual. %package examples -License: BSD3c Summary: SWIG example files -Group: Development/Languages/C and C++ +License: BSD-3-Clause Requires: swig %description examples @@ -125,6 +123,10 @@ %if 0%{?rhel_version} >= 400 && 0%{?rhel_version} < 500 %patch4 -p1 %endif +# guile 2 from 12.1 +%if 0%{?suse_version} >= 1210 +%patch5 -p1 +%endif %build %configure --disable-ccache ++++++ swig-2.0.4-guile2.patch ++++++ Index: swig-2.0.4/Lib/guile/guile_scm_run.swg =================================================================== --- swig-2.0.4.orig/Lib/guile/guile_scm_run.swg +++ swig-2.0.4/Lib/guile/guile_scm_run.swg @@ -60,16 +60,17 @@ static swig_module_info *SWIG_Guile_GetM SWIGINTERN char * SWIG_Guile_scm2newstr(SCM str, size_t *len) { #define FUNC_NAME "SWIG_Guile_scm2newstr" - char *ret; + char *ret, *tmp; size_t l; SCM_ASSERT (SCM_STRINGP(str), str, 1, FUNC_NAME); - l = SCM_STRING_LENGTH(str); + tmp = scm_to_utf8_string(str); + memcpy(ret, tmp, l); + free(tmp); ret = (char *) SWIG_malloc( (l + 1) * sizeof(char)); if (!ret) return NULL; - memcpy(ret, SCM_STRING_CHARS(str), l); ret[l] = '\0'; if (len) *len = l; return ret; -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
