diff options
author | Patrick McLean <patrick.mclean@sony.com> | 2020-02-20 11:02:51 -0800 |
---|---|---|
committer | Patrick McLean <chutzpah@gentoo.org> | 2020-02-20 11:02:51 -0800 |
commit | b3d6fe70779ee6b49176f8643d966a7009b808f2 (patch) | |
tree | 6291ebf88b0464532419d0c20ad8db7b20f70120 /dev-libs/libbpf/files | |
parent | dev-libs/libbpf-0.0.7: Version bump (diff) | |
download | gentoo-b3d6fe70779ee6b49176f8643d966a7009b808f2.tar.gz gentoo-b3d6fe70779ee6b49176f8643d966a7009b808f2.tar.bz2 gentoo-b3d6fe70779ee6b49176f8643d966a7009b808f2.zip |
dev-libs/libbpf: Remove old versions
Copyright: Sony Interactive Entertainment Inc.
Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Patrick McLean <chutzpah@gentoo.org>
Diffstat (limited to 'dev-libs/libbpf/files')
-rw-r--r-- | dev-libs/libbpf/files/libbpf-0.0.3-paths.patch | 50 |
1 files changed, 0 insertions, 50 deletions
diff --git a/dev-libs/libbpf/files/libbpf-0.0.3-paths.patch b/dev-libs/libbpf/files/libbpf-0.0.3-paths.patch deleted file mode 100644 index 8f905819f656..000000000000 --- a/dev-libs/libbpf/files/libbpf-0.0.3-paths.patch +++ /dev/null @@ -1,50 +0,0 @@ -diff --git a/Makefile b/src/Makefile -index 82a650c..549779d 100644 ---- a/Makefile -+++ b/src/Makefile -@@ -36,7 +36,10 @@ OBJDIR ?= . - OBJS := $(addprefix $(OBJDIR)/,bpf.o btf.o libbpf.o libbpf_errno.o netlink.o \ - nlattr.o str_error.o libbpf_probes.o bpf_prog_linfo.o xsk.o) - --LIBS := $(OBJDIR)/libbpf.a -+ifdef BUILD_STATIC -+ LIBS := $(OBJDIR)/libbpf.a -+endif -+ - ifndef BUILD_STATIC_ONLY - LIBS += $(OBJDIR)/libbpf.so \ - $(OBJDIR)/libbpf.so.$(VERSION) \ -@@ -63,7 +66,7 @@ endif - PREFIX ?= /usr - LIBDIR ?= $(PREFIX)/$(LIBSUBDIR) - INCLUDEDIR ?= $(PREFIX)/include --UAPIDIR ?= $(PREFIX)/include -+UAPIDIR ?= $(PREFIX)/include/bpf/uapi - - all: $(LIBS) $(PC_FILE) - -@@ -84,6 +87,7 @@ $(OBJDIR)/libbpf.so.$(LIBBPF_VERSION): $(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/src/libbpf.pc.template -index ac17fce..6d385d9 100644 ---- a/libbpf.pc.template -+++ b/src/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 --Cflags: -I${includedir} -+Cflags: -I${includedir} -I${uapidir} |