summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArjan Bouter2012-05-29 23:36:02 +0200
committerVlad Glagolev2012-06-14 12:26:48 +0400
commitef2728c0492a4deb2ec79dd3df06d07d14a9d3da (patch)
tree219e8b30e02ba9adcb3b8260a9a128f323ee39f9
parentc721e0587e9d4614096dc1f8d500e4f671ad91a2 (diff)
goffice: pcre_info is replaced by pcre_fullinfo, I added a fix from
opensuse so we can build spells that depend on goffice again. see http://lists.opensuse.org/archive/opensuse-commit/2012-02/msg01190.html for more info (cherry picked from commit 154e6048583740150a8c385760196e67aed119ca)
-rw-r--r--gnome2-libs/goffice/HISTORY3
-rwxr-xr-xgnome2-libs/goffice/PRE_BUILD4
2 files changed, 7 insertions, 0 deletions
diff --git a/gnome2-libs/goffice/HISTORY b/gnome2-libs/goffice/HISTORY
index e26e828ad5..ed633b52e9 100644
--- a/gnome2-libs/goffice/HISTORY
+++ b/gnome2-libs/goffice/HISTORY
@@ -1,3 +1,6 @@
+2012-05-29 Arjan Bouter <abouter@sourcemage.org>
+ * PRE_BUILD: added a fix for pcre
+
2011-08-02 Vlad Glagolev <stealth@sourcemage.org>
* DETAILS: updated spell to 0.8.17
diff --git a/gnome2-libs/goffice/PRE_BUILD b/gnome2-libs/goffice/PRE_BUILD
new file mode 100755
index 0000000000..abbc84cd14
--- /dev/null
+++ b/gnome2-libs/goffice/PRE_BUILD
@@ -0,0 +1,4 @@
+default_pre_build &&
+cd "${SOURCE_DIRECTORY}" &&
+# pcre_info is gone
+sedit 's/pcre_info (r, NULL, NULL)/pcre_fullinfo (r, NULL, 0, NULL)/' goffice/utils/regutf8.c