summaryrefslogtreecommitdiff
path: root/misc/goffice0.8
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2012-05-03 06:01:35 +0000
committerwiz <wiz@pkgsrc.org>2012-05-03 06:01:35 +0000
commit5c23327add8355fb1a3aede3e05543fba679d62b (patch)
treecd15b27dc6d25e17543b250894cbc5ce4fd79392 /misc/goffice0.8
parent8caf078adc36fffe10f21de7fe0fa954c10f0d69 (diff)
downloadpkgsrc-5c23327add8355fb1a3aede3e05543fba679d62b.tar.gz
Fix pcre UTF-8 detection, unbreaking build.
Diffstat (limited to 'misc/goffice0.8')
-rw-r--r--misc/goffice0.8/distinfo3
-rw-r--r--misc/goffice0.8/patches/patch-configure15
2 files changed, 17 insertions, 1 deletions
diff --git a/misc/goffice0.8/distinfo b/misc/goffice0.8/distinfo
index c1ab5e2179c..44d2d69a0b6 100644
--- a/misc/goffice0.8/distinfo
+++ b/misc/goffice0.8/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.13 2011/09/08 20:11:54 drochner Exp $
+$NetBSD: distinfo,v 1.14 2012/05/03 06:01:35 wiz Exp $
SHA1 (goffice-0.8.17.tar.bz2) = 0c8f578f30746b92f37bd8e6eb13dbbaaa124278
RMD160 (goffice-0.8.17.tar.bz2) = 35224e53a1431b2ecf81297a081159c7297110bb
Size (goffice-0.8.17.tar.bz2) = 2289608 bytes
+SHA1 (patch-configure) = c9c3278707c2061222cf5eb526787cc3452cf4cc
diff --git a/misc/goffice0.8/patches/patch-configure b/misc/goffice0.8/patches/patch-configure
new file mode 100644
index 00000000000..4c9fe229857
--- /dev/null
+++ b/misc/goffice0.8/patches/patch-configure
@@ -0,0 +1,15 @@
+$NetBSD: patch-configure,v 1.1 2012/05/03 06:01:35 wiz Exp $
+
+pcretest -C also reports UTF-16 support, adapt pattern.
+
+--- configure.orig 2012-05-03 05:55:28.000000000 +0000
++++ configure
+@@ -15285,7 +15285,7 @@ fi
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for UTF-8 support in pcre" >&5
+ $as_echo_n "checking for UTF-8 support in pcre... " >&6; }
+- if (pcretest -C 2>&1) | grep -i "^ *UTF-8 support" >/dev/null; then
++ if (pcretest -C 2>&1) | grep -i "^ *UTF-8 .*support" >/dev/null; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+ $as_echo "yes" >&6; }
+ LIBS="$LIBS -lpcre"