Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 313325 Details for
Bug 409779
games-mud/tf: use an obsolete call from libpcre.so that is vanished now in games-mud/tf-50_beta8-r1
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
minimized patch
tf-508b.patch (text/plain), 1.34 KB, created by
Robert Varga
on 2012-05-27 20:48:11 UTC
(
hide
)
Description:
minimized patch
Filename:
MIME Type:
Creator:
Robert Varga
Created:
2012-05-27 20:48:11 UTC
Size:
1.34 KB
patch
obsolete
>diff -Naur tf-50b8/src/macro.c tf-50b8-patched/src/macro.c >--- tf-50b8/src/macro.c 2007-01-14 00:12:39.000000000 +0100 >+++ tf-50b8-patched/src/macro.c 2012-03-26 19:21:16.562160003 +0200 >@@ -893,7 +893,7 @@ > } > spec->attr &= ~F_NONE; > if (spec->nsubattr) { >- int n = pcre_info(spec->trig.ri->re, NULL, NULL); >+ int n = pcre_fullinfo(spec->trig.ri->re, NULL, 0, NULL); > for (i = 0; i < spec->nsubattr; i++) { > spec->subattr[i].attr &= ~F_NONE; > if (spec->subattr[i].subexp > n) { >diff -Naur tf-50b8/src/pattern.c tf-50b8-patched/src/pattern.c >--- tf-50b8/src/pattern.c 2007-01-14 00:12:39.000000000 +0100 >+++ tf-50b8-patched/src/pattern.c 2012-03-26 19:21:40.702159645 +0200 >@@ -151,7 +151,7 @@ > emsg ? emsg : "unknown error"); > goto tf_reg_compile_error; > } >- n = pcre_info(ri->re, NULL, NULL); >+ n = pcre_fullinfo(ri->re, NULL, 0, NULL); > if (n < 0) goto tf_reg_compile_error; > ri->ovecsize = 3 * (n + 1); > ri->ovector = dmalloc(NULL, sizeof(int) * ri->ovecsize, file, line); >diff -Naur tf-50b8/src/pattern.h tf-50b8-patched/src/pattern.h >--- tf-50b8/src/pattern.h 2007-01-14 00:12:39.000000000 +0100 >+++ tf-50b8-patched/src/pattern.h 2012-03-26 19:16:41.710164083 +0200 >@@ -10,7 +10,7 @@ > #ifndef PATTERN_H > #define PATTERN_H > >-#include "pcre-2.08/pcre.h" >+#include <pcre.h> > > typedef struct RegInfo { > pcre *re;
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 Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 409779
:
306781
| 313325