summaryrefslogtreecommitdiff
path: root/package/lz4
diff options
context:
space:
mode:
Diffstat (limited to 'package/lz4')
-rw-r--r--package/lz4/Makefile4
-rw-r--r--package/lz4/patches/patch-lib_Makefile19
-rw-r--r--package/lz4/patches/patch-lib_liblz4_pc_in10
3 files changed, 12 insertions, 21 deletions
diff --git a/package/lz4/Makefile b/package/lz4/Makefile
index da85c1a12..605d446d0 100644
--- a/package/lz4/Makefile
+++ b/package/lz4/Makefile
@@ -4,9 +4,9 @@
include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= lz4
-PKG_VERSION:= 1.8.2
+PKG_VERSION:= 1.9.2
PKG_RELEASE:= 1
-PKG_HASH:= 0963fbe9ee90acd1d15e9f09e826eaaf8ea0312e854803caf2db0a6dd40f4464
+PKG_HASH:= 658ba6191fa44c92280d4aa2c271b0f4fbc0e34d249578dd05e50e76d0e5efcc
PKG_DESCR:= compression utility
PKG_SECTION:= app/archive
PKG_DEPENDS:= liblz4
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: