diff options
Diffstat (limited to 'app-text/opensp/files')
-rw-r--r-- | app-text/opensp/files/opensp-1.5-gcc34.patch | 10 | ||||
-rw-r--r-- | app-text/opensp/files/opensp-1.5.2-fix-segfault.patch | 23 |
2 files changed, 33 insertions, 0 deletions
diff --git a/app-text/opensp/files/opensp-1.5-gcc34.patch b/app-text/opensp/files/opensp-1.5-gcc34.patch new file mode 100644 index 000000000000..60ee56085315 --- /dev/null +++ b/app-text/opensp/files/opensp-1.5-gcc34.patch @@ -0,0 +1,10 @@ +--- include/RangeMap.h~ 2004-04-22 20:34:13.729541096 +0300 ++++ include/RangeMap.h 2004-04-22 20:31:48.473049702 +0300 +@@ -8,6 +8,7 @@ + #include "Boolean.h" + #include "ISet.h" + #include "types.h" ++#include "constant.h" + #include <stddef.h> + + #ifdef SP_NAMESPACE diff --git a/app-text/opensp/files/opensp-1.5.2-fix-segfault.patch b/app-text/opensp/files/opensp-1.5.2-fix-segfault.patch new file mode 100644 index 000000000000..5a9d328da915 --- /dev/null +++ b/app-text/opensp/files/opensp-1.5.2-fix-segfault.patch @@ -0,0 +1,23 @@ +Resolve segfault in OpenSP::ParsedSystemId::unparse. +Patch taken from Debian. +https://bugs.gentoo.org/show_bug.cgi?id=196230 +--- a/lib/ExtendEntityManager.cxx ++++ b/lib/ExtendEntityManager.cxx +@@ -1238,7 +1238,8 @@ + } + + 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::operator=(const StorageObjectSpec& x) + { + if (this != &x) { ++ storageManager = x.storageManager; + codingSystemName = x.codingSystemName; + codingSystem = x.codingSystem; + specId = x.specId; |