diff mbox series

package/lz4: bump to version 1.10.0

Message ID 20240902203714.2650246-1-francois.perrad@gadz.org
State Changes Requested
Headers show
Series package/lz4: bump to version 1.10.0 | expand

Commit Message

Francois Perrad Sept. 2, 2024, 8:37 p.m. UTC
remove merged patch

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
---
 .../0001-build-Support-BUILD_SHARED-no.patch  | 42 -------------------
 package/lz4/lz4.hash                          |  4 +-
 package/lz4/lz4.mk                            |  2 +-
 3 files changed, 3 insertions(+), 45 deletions(-)
 delete mode 100644 package/lz4/0001-build-Support-BUILD_SHARED-no.patch

Comments

Thomas Petazzoni Sept. 3, 2024, 8:40 p.m. UTC | #1
On Mon,  2 Sep 2024 22:37:13 +0200
Francois Perrad <francois.perrad@gadz.org> wrote:

> remove merged patch
> 
> Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
> ---
>  .../0001-build-Support-BUILD_SHARED-no.patch  | 42 -------------------
>  package/lz4/lz4.hash                          |  4 +-
>  package/lz4/lz4.mk                            |  2 +-
>  3 files changed, 3 insertions(+), 45 deletions(-)
>  delete mode 100644 package/lz4/0001-build-Support-BUILD_SHARED-no.patch

Thanks a lot for the patch, but you have forgotten to update
.checkpackageignore, and more importantly, you have not explained the
change of the license file hash in the commit message? Could you have a
look at those small things, and send a v2?

Thanks a lot!

Thomas
diff mbox series

Patch

diff --git a/package/lz4/0001-build-Support-BUILD_SHARED-no.patch b/package/lz4/0001-build-Support-BUILD_SHARED-no.patch
deleted file mode 100644
index d2d8639a3..000000000
--- a/package/lz4/0001-build-Support-BUILD_SHARED-no.patch
+++ /dev/null
@@ -1,42 +0,0 @@ 
-From 5ccbd38277989ae6a728171d59ae03bad6f2f4d5 Mon Sep 17 00:00:00 2001
-From: Fotis Xenakis <foxen@windowslive.com>
-Date: Tue, 13 Sep 2022 20:09:36 +0300
-Subject: [PATCH] build: Support BUILD_SHARED=no
-
-Since e585a438c714652e866a59371b287f52aa4d2dc3, the BUILD_SHARED
-Makefile variable only takes effect for the install target (i.e. the
-shared libraries always built). This restores the original behaviour.
-
-[Retrieved from:
-https://github.com/lz4/lz4/commit/5ccbd38277989ae6a728171d59ae03bad6f2f4d5]
-Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
----
- lib/Makefile | 4 ++++
- 1 file changed, 4 insertions(+)
-
-diff --git a/lib/Makefile b/lib/Makefile
-index 06503cb2a..ee262c0df 100644
---- a/lib/Makefile
-+++ b/lib/Makefile
-@@ -112,17 +112,21 @@ liblz4-dll.o: liblz4-dll.rc
- 	$(WINDRES) -i liblz4-dll.rc -o liblz4-dll.o
- 
- $(LIBLZ4): $(SRCFILES) liblz4-dll.o
-+ifeq ($(BUILD_SHARED),yes)
- 	@echo compiling dynamic library $(LIBVER)
- 	$(CC) $(FLAGS) -DLZ4_DLL_EXPORT=1 -shared $^ -o dll/$@.dll -Wl,--out-implib,dll/$(LIBLZ4_EXP)
-+endif
- 
- else   # not windows
- 
- $(LIBLZ4): $(SRCFILES)
-+ifeq ($(BUILD_SHARED),yes)
- 	@echo compiling dynamic library $(LIBVER)
- 	$(CC) $(FLAGS) -shared $^ -fPIC -fvisibility=hidden $(SONAME_FLAGS) -o $@
- 	@echo creating versioned links
- 	$(LN_SF) $@ liblz4.$(SHARED_EXT_MAJOR)
- 	$(LN_SF) $@ liblz4.$(SHARED_EXT)
-+endif
- 
- endif
- 
diff --git a/package/lz4/lz4.hash b/package/lz4/lz4.hash
index 04bd118cf..548bb21e6 100644
--- a/package/lz4/lz4.hash
+++ b/package/lz4/lz4.hash
@@ -1,4 +1,4 @@ 
 # sha256 locally computed
-sha256  0b0e3aa07c8c063ddf40b082bdf7e37a1562bda40a0ff5272957f3e987e0e54b  lz4-1.9.4.tar.gz
+sha256  537512904744b35e232912055ccf8ec66d768639ff3abe5788d90d792ec5f48b  lz4-1.10.0.tar.gz
 sha256  8b58c446121a109ccf32edc094bba3010a3d85e4ee3702950db55e4d3e87736c  lib/LICENSE
-sha256  8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643  programs/COPYING
+sha256  609b910ef05c9c855ecc1da155a36ed0f57514eac452cf93446530b5ea4b3bc3  programs/COPYING
diff --git a/package/lz4/lz4.mk b/package/lz4/lz4.mk
index 202dc172f..60d321bab 100644
--- a/package/lz4/lz4.mk
+++ b/package/lz4/lz4.mk
@@ -4,7 +4,7 @@ 
 #
 ################################################################################
 
-LZ4_VERSION = 1.9.4
+LZ4_VERSION = 1.10.0
 LZ4_SITE = $(call github,lz4,lz4,v$(LZ4_VERSION))
 LZ4_INSTALL_STAGING = YES
 LZ4_LICENSE = BSD-2-Clause (library), GPL-2.0+ (programs)