Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 337534 Details for
Bug 454932
dev-lang/ferite-1.1.17 fails with undefined symbol: pcre_info
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
make ferite use pcre_fullinfo instead of inexistent pcre_info
ferite-1.1.17-pcre_info.patch (text/plain), 1.32 KB, created by
Jan Psota
on 2013-02-01 01:55:09 UTC
(
hide
)
Description:
make ferite use pcre_fullinfo instead of inexistent pcre_info
Filename:
MIME Type:
Creator:
Jan Psota
Created:
2013-02-01 01:55:09 UTC
Size:
1.32 KB
patch
obsolete
>diff -pruN ferite-1.1.17.orig/modules/regexp/regexp.fec ferite-1.1.17/modules/regexp/regexp.fec >--- ferite-1.1.17.orig/modules/regexp/regexp.fec 2009-07-15 19:21:34.000000000 +0200 >+++ ferite-1.1.17/modules/regexp/regexp.fec 2013-02-01 02:33:40.438849775 +0100 >@@ -427,7 +427,8 @@ class Regexp { > } > > /* get the number of subparts */ >- captured_str_cnt = pcre_info( rgx->compiled_re, NULL, NULL ) + 1; >+ pcre_fullinfo( rgx->compiled_re, NULL, PCRE_INFO_CAPTURECOUNT, &captured_str_cnt ); >+ captured_str_cnt++; > /* create an offset array */ > size_offsets = (int)(captured_str_cnt * 3); > offsets = (int *)fmalloc(size_offsets * sizeof(int)); >diff -pruN ferite-1.1.17.orig/modules/regexp/regexp_Regexp.c ferite-1.1.17/modules/regexp/regexp_Regexp.c >--- ferite-1.1.17.orig/modules/regexp/regexp_Regexp.c 2009-07-17 08:59:19.000000000 +0200 >+++ ferite-1.1.17/modules/regexp/regexp_Regexp.c 2013-02-01 02:33:16.647875845 +0100 >@@ -88,7 +88,8 @@ FE_NATIVE_FUNCTION( ferite_regexp_Regexp > } > > /* get the number of subparts */ >- captured_str_cnt = pcre_info( rgx->compiled_re, NULL, NULL ) + 1; >+ pcre_fullinfo( rgx->compiled_re, NULL, PCRE_INFO_CAPTURECOUNT, &captured_str_cnt ); >+ captured_str_cnt++; > /* create an offset array */ > size_offsets = (int)(captured_str_cnt * 3); > offsets = (int *)fmalloc(size_offsets * sizeof(int));
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 454932
: 337534