diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2019-10-08 05:43:02 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2019-10-08 05:45:59 +0200 |
commit | 1879fdd3cfe6ac32fab1646790644e5de064cf3c (patch) | |
tree | 93c7078c0455c3c4b0870f7ad9e2b2196b0a5877 /package/lz4/patches | |
parent | b80c554aad23f0107b25709ce30bb6506b62d0ea (diff) |
lz4: update to 1.9.2
Diffstat (limited to 'package/lz4/patches')
-rw-r--r-- | package/lz4/patches/patch-lib_Makefile | 19 | ||||
-rw-r--r-- | package/lz4/patches/patch-lib_liblz4_pc_in | 10 |
2 files changed, 10 insertions, 19 deletions
diff --git a/package/lz4/patches/patch-lib_Makefile b/package/lz4/patches/patch-lib_Makefile deleted file mode 100644 index 9b883d267..000000000 --- a/package/lz4/patches/patch-lib_Makefile +++ /dev/null @@ -1,19 +0,0 @@ ---- lz4-1.8.2.orig/lib/Makefile 2018-05-07 23:38:45.000000000 +0200 -+++ lz4-1.8.2/lib/Makefile 2018-05-22 20:22:31.000000000 +0200 -@@ -45,6 +45,7 @@ LIBVER := $(shell echo $(LIBVER_SCRIPT) - BUILD_SHARED:=yes - BUILD_STATIC:=yes - -+OS?=$(shell uname) - CPPFLAGS+= -DXXH_NAMESPACE=LZ4_ - CFLAGS ?= -O3 - DEBUGFLAGS:= -Wall -Wextra -Wcast-qual -Wcast-align -Wshadow \ -@@ -58,7 +59,7 @@ SRCFILES := $(sort $(wildcard *.c)) - - # OS X linker doesn't support -soname, and use different extension - # see : https://developer.apple.com/library/mac/documentation/DeveloperTools/Conceptual/DynamicLibraries/100-Articles/DynamicLibraryDesignGuidelines.html --ifeq ($(shell uname), Darwin) -+ifeq ($(OS), Darwin) - SHARED_EXT = dylib - SHARED_EXT_MAJOR = $(LIBVER_MAJOR).$(SHARED_EXT) - SHARED_EXT_VER = $(LIBVER).$(SHARED_EXT) diff --git a/package/lz4/patches/patch-lib_liblz4_pc_in b/package/lz4/patches/patch-lib_liblz4_pc_in new file mode 100644 index 000000000..05fc1b2ca --- /dev/null +++ b/package/lz4/patches/patch-lib_liblz4_pc_in @@ -0,0 +1,10 @@ +--- lz4-1.9.2.orig/lib/liblz4.pc.in 2019-08-15 13:59:59.000000000 +0200 ++++ lz4-1.9.2/lib/liblz4.pc.in 2019-10-07 22:01:00.003319055 +0200 +@@ -10,5 +10,5 @@ Name: lz4 + Description: extremely fast lossless compression algorithm library + URL: http://www.lz4.org/ + Version: @VERSION@ +-Libs: -L@LIBDIR@ -llz4 +-Cflags: -I@INCLUDEDIR@ ++Libs: -llz4 ++Cflags: |