diff options
author | Sam James <sam@gentoo.org> | 2021-04-19 09:00:15 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-04-19 20:10:48 +0100 |
commit | 16fc39a089093b07de57fcdcac9eb6658d4b3cb0 (patch) | |
tree | d8c245f829d20283eecfd99a8b21e0efb7dde335 /dev-util | |
parent | dev-lua/lanes: respect PKG_CONFIG (diff) | |
download | gentoo-16fc39a089093b07de57fcdcac9eb6658d4b3cb0.tar.gz gentoo-16fc39a089093b07de57fcdcac9eb6658d4b3cb0.tar.bz2 gentoo-16fc39a089093b07de57fcdcac9eb6658d4b3cb0.zip |
dev-util/dropwatch: respect PKG_CONFIG, tidy up patch
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-util')
-rw-r--r-- | dev-util/dropwatch/files/dropwatch-1.4-binutils-2.23.patch | 8 | ||||
-rw-r--r-- | dev-util/dropwatch/files/dropwatch-1.4_p20150706-makefile.patch | 4 |
2 files changed, 1 insertions, 11 deletions
diff --git a/dev-util/dropwatch/files/dropwatch-1.4-binutils-2.23.patch b/dev-util/dropwatch/files/dropwatch-1.4-binutils-2.23.patch index 1a7fa7913e42..94770ab3dc91 100644 --- a/dev-util/dropwatch/files/dropwatch-1.4-binutils-2.23.patch +++ b/dev-util/dropwatch/files/dropwatch-1.4-binutils-2.23.patch @@ -7,8 +7,6 @@ Date: Thu Nov 17 00:04:47 2016 +0300 Gentoo-Bug: 457980 Upstream Ticket: 5 -diff --git a/src/lookup.c b/src/lookup.c -index ba54991..809981b 100644 --- a/src/lookup.c +++ b/src/lookup.c @@ -27,13 +27,13 @@ @@ -26,8 +24,6 @@ index ba54991..809981b 100644 extern struct lookup_methods bfd_methods; extern struct lookup_methods kallsym_methods; -diff --git a/src/lookup.h b/src/lookup.h -index e6568d8..47a7b56 100644 --- a/src/lookup.h +++ b/src/lookup.h @@ -28,6 +28,9 @@ @@ -40,8 +36,6 @@ index e6568d8..47a7b56 100644 /* * Initalization routine -diff --git a/src/lookup_bfd.c b/src/lookup_bfd.c -index cc7010b..271d426 100644 --- a/src/lookup_bfd.c +++ b/src/lookup_bfd.c @@ -25,13 +25,13 @@ @@ -59,8 +53,6 @@ index cc7010b..271d426 100644 static int lookup_bfd_init(void) -diff --git a/src/lookup_kas.c b/src/lookup_kas.c -index 16e639f..556cb62 100644 --- a/src/lookup_kas.c +++ b/src/lookup_kas.c @@ -25,7 +25,6 @@ diff --git a/dev-util/dropwatch/files/dropwatch-1.4_p20150706-makefile.patch b/dev-util/dropwatch/files/dropwatch-1.4_p20150706-makefile.patch index d2a9a6b761b6..42ff8f9e8365 100644 --- a/dev-util/dropwatch/files/dropwatch-1.4_p20150706-makefile.patch +++ b/dev-util/dropwatch/files/dropwatch-1.4_p20150706-makefile.patch @@ -1,5 +1,3 @@ -diff --git a/src/Makefile b/src/Makefile -index 5bc6aaa..4eab2e8 100644 --- a/src/Makefile +++ b/src/Makefile @@ -1,14 +1,14 @@ @@ -7,7 +5,7 @@ index 5bc6aaa..4eab2e8 100644 CPPFLAGS += -D_GNU_SOURCE -CFLAGS += -g -Wall -Werror $(shell pkg-config --cflags libnl-3.0) -+CFLAGS += -g -Wall $(shell pkg-config --cflags libnl-3.0) ++CFLAGS += -Wall $(shell ${PKG_CONFIG} --cflags libnl-3.0) LDLIBS += -lbfd -lreadline -lnl-3 -lnl-genl-3 OBJFILES := main.o lookup.o\ |