summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick McLean <patrick.mclean@sony.com>2019-06-14 14:00:34 -0700
committerPatrick McLean <chutzpah@gentoo.org>2019-06-14 14:03:35 -0700
commit14eef1a2086ca095ae140982ead455c1a42d5efe (patch)
tree16a90342eb58c4b4bfe2d1323d212ff358105ad7 /dev-libs/libbpf/files
parentdev-libs/libbpf: Version bump to 0.0.3 (diff)
downloadgentoo-14eef1a2086ca095ae140982ead455c1a42d5efe.tar.gz
gentoo-14eef1a2086ca095ae140982ead455c1a42d5efe.tar.bz2
gentoo-14eef1a2086ca095ae140982ead455c1a42d5efe.zip
dev-libs/libbpf: Remove old snapshots
This is to force an upgrade to 0.0.3, which portage evaluates as older than the currently existing snapshots. Copyright: Sony Interactive Entertainment Inc. Package-Manager: Portage-2.3.67, Repoman-2.3.14 Signed-off-by: Patrick McLean <chutzpah@gentoo.org>
Diffstat (limited to 'dev-libs/libbpf/files')
-rw-r--r--dev-libs/libbpf/files/libbpf-0.20190404-makefile.patch16
-rw-r--r--dev-libs/libbpf/files/libbpf-makefile.patch24
2 files changed, 0 insertions, 40 deletions
diff --git a/dev-libs/libbpf/files/libbpf-0.20190404-makefile.patch b/dev-libs/libbpf/files/libbpf-0.20190404-makefile.patch
deleted file mode 100644
index 7bfe5eb6335f..000000000000
--- a/dev-libs/libbpf/files/libbpf-0.20190404-makefile.patch
+++ /dev/null
@@ -1,16 +0,0 @@
-diff --git a/Makefile b/src/Makefile
-index 35b4818..c034531 100644
---- a/Makefile
-+++ b/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) \
diff --git a/dev-libs/libbpf/files/libbpf-makefile.patch b/dev-libs/libbpf/files/libbpf-makefile.patch
deleted file mode 100644
index a98cbb8762b2..000000000000
--- a/dev-libs/libbpf/files/libbpf-makefile.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-diff --git a/Makefile b/Makefile
-index 7ea1ff1..75ca998 100644
---- a/Makefile
-+++ b/Makefile
-@@ -22,7 +22,9 @@ 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
- ifdef BUILD_SHARED
- LIBS += $(OBJDIR)/libbpf.so
- endif
-@@ -52,7 +54,7 @@ $(OBJDIR)/libbpf.a: $(OBJS)
- $(AR) rcs $@ $^
-
- $(OBJDIR)/libbpf.so: $(OBJS)
-- $(CC) -shared $(LDFLAGS) $^ -o $@
-+ $(CC) -shared $(LDFLAGS) $^ -Wl,-soname,libbpf.so -o $@
-
- $(OBJDIR)/%.o: %.c
- $(CC) $(ALL_CFLAGS) -c $< -o $@