blob: ae9370cfcf6cdb130231a2083b253da14a9ff2ab [file] [log] [blame]
Patrick Williamsb48b7b42016-08-17 15:04:38 -05001Taken from http://trac.macports.org/ticket/34812
2
3Fixes abiword build failing with:
4/usr/lib/libgoffice-0.8.so: undefined reference to `pcre_info'
5
6Upstream-Status: pending
7
8http://www.linuxfromscratch.org/blfs/view/cvs/x/goffice.html
9--- a/goffice/utils/regutf8.c.orig 2009-09-05 18:52:09.000000000 -0500
10+++ b/goffice/utils/regutf8.c 2012-06-09 18:04:29.000000000 -0500
11@@ -155,7 +155,7 @@
12 default: return GO_REG_BADPAT;
13 }
14 } else {
15- gor->re_nsub = pcre_info (r, NULL, NULL);
16+ gor->re_nsub = pcre_fullinfo (r, NULL, 0, NULL);
17 gor->nosub = (cflags & GO_REG_NOSUB) != 0;
18 return 0;
19 }