diff --git a/opensp-sigsegv.patch b/opensp-sigsegv.patch new file mode 100644 index 0000000..69bd3a9 --- /dev/null +++ b/opensp-sigsegv.patch @@ -0,0 +1,20 @@ +--- OpenSP-1.5.2/lib/ExtendEntityManager.cxx 2005-11-05 10:05:20.000000000 +0100 ++++ OpenSP-1.5.2.new/lib/ExtendEntityManager.cxx 2007-06-21 12:56:26.000000000 +0200 +@@ -1238,7 +1238,8 @@ StorageObjectSpec::StorageObjectSpec() + } + + StorageObjectSpec::StorageObjectSpec(const StorageObjectSpec& x) +-: codingSystemName(x.codingSystemName), ++: storageManager(x.storageManager), ++ codingSystemName(x.codingSystemName), + codingSystem(x.codingSystem), + specId(x.specId), + baseId(x.baseId), +@@ -1253,6 +1254,7 @@ StorageObjectSpec::StorageObjectSpec(con + StorageObjectSpec& StorageObjectSpec::operator=(const StorageObjectSpec& x) + { + if (this != &x) { ++ storageManager = x.storageManager; + codingSystemName = x.codingSystemName; + codingSystem = x.codingSystem; + specId = x.specId; diff --git a/opensp.spec b/opensp.spec index 4a39ee4..0583692 100644 --- a/opensp.spec +++ b/opensp.spec @@ -1,12 +1,13 @@ Summary: SGML and XML parser Name: opensp Version: 1.5.2 -Release: 4%{?dist} +Release: 5%{?dist} Requires: sgml-common >= 0.5 URL: http://openjade.sourceforge.net/ Source: http://download.sourceforge.net/openjade/OpenSP-%{version}.tar.gz Patch0: opensp-multilib.patch Patch1: opensp-nodeids.patch +Patch2: opensp-sigsegv.patch License: Distributable Group: Applications/Text BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) @@ -32,6 +33,7 @@ Header files and libtool library for developing applications that use OpenSP. %setup -q -n OpenSP-%{version} %patch0 -p1 -b .multilib %patch1 -p1 -b .nodeids +%patch2 -p1 -b .sigsegv %build %configure --disable-dependency-tracking --disable-static --enable-http \ @@ -99,6 +101,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Thu Jun 21 2007 Ondrej Vasik 1.5.2-5 +- fixed SIGSEGV (bug #245104) + * Mon Feb 12 2007 Tim Waugh 1.5.2-4 - Fixed build root. - Give IDs to nodes in the release notes source to prevent releasenotes.html