diff options
author | Thomas Deutschmann <whissi@gentoo.org> | 2017-05-22 15:17:28 +0200 |
---|---|---|
committer | Thomas Deutschmann <whissi@gentoo.org> | 2017-05-22 15:43:56 +0200 |
commit | 0bdc0027d77f551be490f7811702a45b5cd6405c (patch) | |
tree | 5ed9e4830347c7aa6d97fa3b22f092eafb123490 /dev-libs/grok/files | |
parent | sys-kernel/linux-firmware: amd64 stable wrt bug #619358 (diff) | |
download | gentoo-0bdc0027d77f551be490f7811702a45b5cd6405c.tar.gz gentoo-0bdc0027d77f551be490f7811702a45b5cd6405c.tar.bz2 gentoo-0bdc0027d77f551be490f7811702a45b5cd6405c.zip |
dev-libs/grok: Fix compilation against PCRE >=8.34
In addition, <dev-util/gperf-3.1 dependency was added.
Link: https://github.com/jordansissel/grok/issues/29
Package-Manager: Portage-2.3.5, Repoman-2.3.2
Diffstat (limited to 'dev-libs/grok/files')
-rw-r--r-- | dev-libs/grok/files/0.9.2-build-with-pcre-lt-8.34.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/dev-libs/grok/files/0.9.2-build-with-pcre-lt-8.34.patch b/dev-libs/grok/files/0.9.2-build-with-pcre-lt-8.34.patch new file mode 100644 index 000000000000..1593ac309817 --- /dev/null +++ b/dev-libs/grok/files/0.9.2-build-with-pcre-lt-8.34.patch @@ -0,0 +1,15 @@ +https://github.com/jordansissel/grok/commit/44ce9372a29319c01d4ac7f24287fb36315e0e34 + +--- a/grokre.c ++++ b/grokre.c +@@ -12,8 +12,8 @@ + + /* global, static variables */ + +-#define CAPTURE_ID_LEN 4 +-#define CAPTURE_FORMAT "%04x" ++#define CAPTURE_ID_LEN 5 ++#define CAPTURE_FORMAT "_%04x" + + /* internal functions */ + static char *grok_pattern_expand(grok_t *grok); //, int offset, int length); |