diff options
author | Patrick McLean <patrick.mclean@sony.com> | 2021-01-04 13:32:57 -0800 |
---|---|---|
committer | Patrick McLean <chutzpah@gentoo.org> | 2021-01-04 13:36:02 -0800 |
commit | a300e08630dbb4e81d9cdaf4f8ded90d693ffb02 (patch) | |
tree | ee424d0551798ac3b763a9d073552e4c4fe97c1f /dev-libs/libbpf/files | |
parent | dev-tcltk/blt: Add subslot (diff) | |
download | gentoo-a300e08630dbb4e81d9cdaf4f8ded90d693ffb02.tar.gz gentoo-a300e08630dbb4e81d9cdaf4f8ded90d693ffb02.tar.bz2 gentoo-a300e08630dbb4e81d9cdaf4f8ded90d693ffb02.zip |
dev-libs/libbpf-0.3: Version bump
Copyright: Sony Interactive Entertainment Inc.
Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Patrick McLean <chutzpah@gentoo.org>
Diffstat (limited to 'dev-libs/libbpf/files')
-rw-r--r-- | dev-libs/libbpf/files/libbpf-0.3.0-paths.patch | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/dev-libs/libbpf/files/libbpf-0.3.0-paths.patch b/dev-libs/libbpf/files/libbpf-0.3.0-paths.patch new file mode 100644 index 000000000000..ff087bb38712 --- /dev/null +++ b/dev-libs/libbpf/files/libbpf-0.3.0-paths.patch @@ -0,0 +1,34 @@ +--- a/Makefile ++++ b/Makefile +@@ -76,7 +76,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) + +@@ -101,6 +101,7 @@ $(OBJDIR)/libbpf.so.$(LIBBPF_VERSION): $(SHARED_OBJS) + $(OBJDIR)/libbpf.pc: + $(Q)sed -e "s|@PREFIX@|$(PREFIX)|" \ + -e "s|@LIBDIR@|$(LIBDIR_PC)|" \ ++ -e "s|@UAPIDIR@|$(UAPIDIR)|" \ + -e "s|@VERSION@|$(LIBBPF_VERSION)|" \ + < libbpf.pc.template > $@ + +--- 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} |