pigz: update to 2.7
authorRosen Penev <rosenp@gmail.com>
Sat, 14 Jan 2023 21:21:00 +0000 (13:21 -0800)
committerRosen Penev <rosenp@gmail.com>
Sun, 15 Jan 2023 03:31:16 +0000 (19:31 -0800)
Signed-off-by: Rosen Penev <rosenp@gmail.com>
utils/pigz/Makefile
utils/pigz/patches/001.patch

index 7f76a0880cb6ad847e83177272c6df489c6a493e..f37092a3390df6ddcb8318721fd47486ac94384a 100644 (file)
@@ -1,12 +1,12 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=pigz
-PKG_VERSION:=2.4
+PKG_VERSION:=2.7
 PKG_RELEASE:=1
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
-PKG_SOURCE_URL:=https://zlib.net/pigz/
-PKG_HASH:=a4f816222a7b4269bd232680590b579ccc72591f1bb5adafcd7208ca77e14f73
+PKG_SOURCE_URL:=https://zlib.net/pigz
+PKG_HASH:=b4c9e60344a08d5db37ca7ad00a5b2c76ccb9556354b722d56d55ca7e8b1c707
 
 PKG_MAINTAINER:=Ken Wong <xinxijishuwyq@gmail.com>
 PKG_LICENSE:=CUSTOM
index bdd910c32009bee6448c3adfc7fccb1b1edd8e6c..28e8eaa450ba8c57135dffc23537727dbca4044b 100644 (file)
@@ -1,14 +1,18 @@
 --- a/Makefile
 +++ b/Makefile
-@@ -1,7 +1,7 @@
+@@ -1,11 +1,11 @@
 -CC=gcc
--CFLAGS=-O3 -Wall -Wextra -Wno-unknown-pragmas
+-CFLAGS=-O3 -Wall -Wextra -Wno-unknown-pragmas -Wcast-qual
 -LDFLAGS=
--LIBS=-lm -lpthread -lz
 +CC?=gcc
-+CFLAGS?=-O3 -Wall -Wextra -Wno-unknown-pragmas
++CFLAGS?=-O3 -Wall -Wextra -Wno-unknown-pragmas -Wcast-qual
 +LDFLAGS?=
+ # CFLAGS=-O3 -Wall -Wextra -Wno-unknown-pragmas -Wcast-qual -g -fsanitize=thread
+ # LDFLAGS=-g -fsanitize=thread
+ # CFLAGS=-O3 -Wall -Wextra -Wno-unknown-pragmas -Wcast-qual -g -fsanitize=address
+ # LDFLAGS=-g -fsanitize=address
+-LIBS=-lm -lpthread -lz
 +LIBS?=-lm -lpthread -lz
  ZOPFLI=zopfli/src/zopfli/
- ZOP=deflate.o blocksplitter.o tree.o lz77.o cache.o hash.o util.o squeeze.o katajainen.o
+ ZOP=deflate.o blocksplitter.o tree.o lz77.o cache.o hash.o util.o squeeze.o katajainen.o symbols.o