From 3f17948b3e87b754c4e88f0767f1b8e45f52f64d862433d67f5b45c23cbb3e9f Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Sat, 2 Apr 2016 19:43:04 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/Archiving/lz4?expand=0&rev=19 --- lz4-soversion.diff | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/lz4-soversion.diff b/lz4-soversion.diff index 0366e86..adbd20f 100644 --- a/lz4-soversion.diff +++ b/lz4-soversion.diff @@ -4,24 +4,28 @@ Date: 2014-11-28 20:01:01.723860722 +0100 lz4 repeatedly changed the ABI without updating the SONAME in r124 (size of LZ4_streamDecode_t changes) --- - lib/Makefile | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) + lib/Makefile | 8 ++++---- + 1 file changed, 4 insertions(+), 4 deletions(-) Index: lz4-r131/lib/Makefile =================================================================== --- lz4-r131.orig/lib/Makefile +++ lz4-r131/lib/Makefile -@@ -50,11 +50,11 @@ INCLUDEDIR=$(PREFIX)/include +@@ -50,13 +50,13 @@ INCLUDEDIR=$(PREFIX)/include # see : https://developer.apple.com/library/mac/documentation/DeveloperTools/Conceptual/DynamicLibraries/100-Articles/DynamicLibraryDesignGuidelines.html ifeq ($(shell uname), Darwin) SHARED_EXT = dylib - SHARED_EXT_MAJOR = $(LIBVER_MAJOR).$(SHARED_EXT) + SHARED_EXT_MAJOR = $(LIBVER_MAJOR).$(LIBVER_MINOR).$(SHARED_EXT) SHARED_EXT_VER = $(LIBVER).$(SHARED_EXT) - SONAME_FLAGS = -install_name $(PREFIX)/lib/liblz4.$(SHARED_EXT_MAJOR) -compatibility_version $(LIBVER_MAJOR) -current_version $(LIBVER) +- SONAME_FLAGS = -install_name $(PREFIX)/lib/liblz4.$(SHARED_EXT_MAJOR) -compatibility_version $(LIBVER_MAJOR) -current_version $(LIBVER) ++ SONAME_FLAGS = -install_name $(PREFIX)/lib/liblz4.$(SHARED_EXT_MAJOR) -compatibility_version $(LIBVER_MAJOR).$(LIBVER_MINOR) -current_version $(LIBVER) else - SONAME_FLAGS = -Wl,-soname=liblz4.$(SHARED_EXT).$(LIBVER_MAJOR) + SONAME_FLAGS = -Wl,-soname=liblz4.$(SHARED_EXT).$(LIBVER_MAJOR).$(LIBVER_MINOR) SHARED_EXT = so - SHARED_EXT_MAJOR = $(SHARED_EXT).$(LIBVER_MAJOR) +- SHARED_EXT_MAJOR = $(SHARED_EXT).$(LIBVER_MAJOR) ++ SHARED_EXT_MAJOR = $(SHARED_EXT).$(LIBVER_MAJOR).$(LIBVER_MINOR) SHARED_EXT_VER = $(SHARED_EXT).$(LIBVER) + endif +