Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame^] | 1 | Taken from http://trac.macports.org/ticket/34812 |
| 2 | |
| 3 | Fixes abiword build failing with: |
| 4 | /usr/lib/libgoffice-0.8.so: undefined reference to `pcre_info' |
| 5 | |
| 6 | Upstream-Status: pending |
| 7 | |
| 8 | http://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 | } |