diff options
Diffstat (limited to 'dev-libs/libbpf/files/libbpf-0.0.7-paths.patch')
-rw-r--r-- | dev-libs/libbpf/files/libbpf-0.0.7-paths.patch | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/dev-libs/libbpf/files/libbpf-0.0.7-paths.patch b/dev-libs/libbpf/files/libbpf-0.0.7-paths.patch deleted file mode 100644 index cbc267b64a38..000000000000 --- a/dev-libs/libbpf/files/libbpf-0.0.7-paths.patch +++ /dev/null @@ -1,38 +0,0 @@ -diff --git a/Makefile b/Makefile -index bc25aba..e1db3d6 100644 ---- a/Makefile -+++ b/Makefile -@@ -66,7 +66,7 @@ endif - PREFIX ?= /usr - LIBDIR ?= $(PREFIX)/$(LIBSUBDIR) - INCLUDEDIR ?= $(PREFIX)/include --UAPIDIR ?= $(PREFIX)/include -+UAPIDIR ?= $(PREFIX)/include/bpf/uapi - - TAGS_PROG := $(if $(shell which etags 2>/dev/null),etags,ctags) - -@@ -89,6 +89,7 @@ $(OBJDIR)/libbpf.so.$(LIBBPF_VERSION): $(SHARED_OBJS) - $(OBJDIR)/libbpf.pc: - sed -e "s|@PREFIX@|$(PREFIX)|" \ - -e "s|@LIBDIR@|$(LIBDIR)|" \ -+ -e "s|@UAPIDIR@|$(UAPIDIR)|" \ - -e "s|@VERSION@|$(LIBBPF_VERSION)|" \ - < libbpf.pc.template > $@ - -diff --git a/libbpf.pc.template b/libbpf.pc.template -index b45ed53..5ec63c2 100644 ---- a/libbpf.pc.template -+++ b/libbpf.pc.template -@@ -3,10 +3,11 @@ - prefix=@PREFIX@ - libdir=@LIBDIR@ - includedir=${prefix}/include -+uapidir=@UAPIDIR@ - - Name: libbpf - Description: BPF library - Version: @VERSION@ - Libs: -L${libdir} -lbpf - Requires.private: libelf zlib --Cflags: -I${includedir} -+Cflags: -I${includedir} -I${uapidir} |