diff --git a/debian/changelog b/debian/changelog index 91658326b..bcccd73e4 100644 --- a/debian/changelog +++ b/debian/changelog @@ -2,6 +2,8 @@ linux (4.19.37-4) UNRELEASED; urgency=medium * libbpf: Fix various build bugs: - Drop unnecessary changes from "libbpf: add SONAME to shared object" + - libbpf: Use only 2 components in soversion, matching package name + (Closes: #929187) -- Ben Hutchings Sun, 19 May 2019 00:04:16 +0100 diff --git a/debian/patches/bugfix/all/libbpf-add-soname-to-shared-object.patch b/debian/patches/bugfix/all/libbpf-add-soname-to-shared-object.patch index 945a5304d..301d32bb5 100644 --- a/debian/patches/bugfix/all/libbpf-add-soname-to-shared-object.patch +++ b/debian/patches/bugfix/all/libbpf-add-soname-to-shared-object.patch @@ -29,7 +29,7 @@ Signed-off-by: Hilko Bengen N = -LIBBPF_VERSION = $(BPF_VERSION).$(BPF_PATCHLEVEL).$(BPF_EXTRAVERSION) -+LIBBPF_VERSION = $(shell make --no-print-directory -sC ../../.. kernelversion) ++LIBBPF_VERSION = $(shell make --no-print-directory -sC ../../.. kernelversion | cut -d. -f1,2) # Set compile option CFLAGS ifdef EXTRA_CFLAGS