diff options
Diffstat (limited to 'dev-libs/grok/files/grok-0.9.2-libtirpc.patch')
-rw-r--r-- | dev-libs/grok/files/grok-0.9.2-libtirpc.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/dev-libs/grok/files/grok-0.9.2-libtirpc.patch b/dev-libs/grok/files/grok-0.9.2-libtirpc.patch new file mode 100644 index 000000000000..9fd09bef8252 --- /dev/null +++ b/dev-libs/grok/files/grok-0.9.2-libtirpc.patch @@ -0,0 +1,21 @@ +diff -ruN grok-0.9.2.orig/Makefile grok-0.9.2/Makefile +--- grok-0.9.2.orig/Makefile 2018-05-05 17:22:33.122558130 +0200 ++++ grok-0.9.2/Makefile 2018-05-05 17:24:29.554221133 +0200 +@@ -25,7 +25,7 @@ + GPERF?=/usr/bin/gperf + endif + +-LIBS=-lpcre -levent -rdynamic -ltokyocabinet ++LIBS=-lpcre -levent -rdynamic -ltokyocabinet -ltirpc + + # For linux, we need libdl for dlopen() + # On FreeBSD, comment this line out. +@@ -55,7 +55,7 @@ + #LDFLAGS+=-L/usr/local/lib + + # Platform so we know what to dlopen +-CFLAGS+=-DPLATFORM_$(PLATFORM) ++CFLAGS+=-DPLATFORM_$(PLATFORM) -I$(EPREFIX)/usr/include/tirpc + # Uncomment to totally disable logging features + #CFLAGS+=-DNOLOGGING + |