diff options
author | rillig <rillig> | 2007-11-14 15:41:40 +0000 |
---|---|---|
committer | rillig <rillig> | 2007-11-14 15:41:40 +0000 |
commit | 33a287fadf3f77ab6f768bced4c5e3af693ddc80 (patch) | |
tree | 84aa0d24200775b81f340e75476dd327dfebf13c /editors/abiword/patches/patch-sa | |
parent | d34287e4d76fa2e41870b4213147ffc05c5ae1b0 (diff) | |
download | pkgsrc-33a287fadf3f77ab6f768bced4c5e3af693ddc80.tar.gz |
Fixed six little things that prevented sunpro from building the package.
Now it fails in the linker stage with an undefined reference to
UT_XML::processingInstruction(const char *, const char *).
Diffstat (limited to 'editors/abiword/patches/patch-sa')
-rw-r--r-- | editors/abiword/patches/patch-sa | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/editors/abiword/patches/patch-sa b/editors/abiword/patches/patch-sa new file mode 100644 index 00000000000..b9a0be068d3 --- /dev/null +++ b/editors/abiword/patches/patch-sa @@ -0,0 +1,22 @@ +$NetBSD: patch-sa,v 1.1 2007/11/14 15:41:41 rillig Exp $ + +--- src/af/util/xp/ut_misc.cpp.orig 2005-06-20 20:59:13.000000000 +0200 ++++ src/af/util/xp/ut_misc.cpp 2007-11-14 14:24:39.136875000 +0100 +@@ -1128,7 +1128,7 @@ const XML_Char ** UT_splitPropsToArray(X + } + + char * semi = NULL; +- const char * p = pProps; ++ char * p = pProps; + while(semi = strchr(p, ';')) + { + *semi = 0; +@@ -1142,7 +1142,7 @@ const XML_Char ** UT_splitPropsToArray(X + const XML_Char ** pPropsArray = new const XML_Char *[2 * iPropCount + 1]; + UT_return_val_if_fail( pPropsArray, NULL ); + +- const char * pStart = pProps; ++ char * pStart = pProps; + + // we want to include the 0-terminator + for(i = 0; i <= iLen; i++) |