diff options
-rw-r--r-- | system/pigz/math_fix.diff | 12 | ||||
-rw-r--r-- | system/pigz/pigz.SlackBuild | 9 | ||||
-rw-r--r-- | system/pigz/pigz.info | 10 |
3 files changed, 25 insertions, 6 deletions
diff --git a/system/pigz/math_fix.diff b/system/pigz/math_fix.diff new file mode 100644 index 0000000000000..7123175132bc7 --- /dev/null +++ b/system/pigz/math_fix.diff @@ -0,0 +1,12 @@ +diff -Naur a/Makefile b/Makefile +--- a/Makefile 2013-03-04 00:06:35.000000000 -0600 ++++ b/Makefile 2013-06-18 08:56:58.111172954 -0500 +@@ -3,7 +3,7 @@ + + + pigz: pigz.o yarn.o zopfli/deflate.o zopfli/blocksplitter.o zopfli/tree.o zopfli/lz77.o zopfli/cache.o zopfli/hash.o zopfli/util.o zopfli/squeeze.o zopfli/katajainen.o +- $(CC) -o pigz $^ -lpthread -lz ++ $(CC) -o pigz $^ -lpthread -lz -lm + ln -f pigz unpigz + + pigz.o: pigz.c yarn.h zopfli/deflate.h zopfli/util.h diff --git a/system/pigz/pigz.SlackBuild b/system/pigz/pigz.SlackBuild index 175df51d659cb..fe5defe4030fb 100644 --- a/system/pigz/pigz.SlackBuild +++ b/system/pigz/pigz.SlackBuild @@ -4,8 +4,12 @@ # Written by Max Miorim <miorimmax@gmail.com> +# Currently maintained by Patrick Verner <distrozilla@gmail.com> as of 6/29/2013 +# Changelog... +# Patched to fix missing -lm flag in Makefile. math_fix.diff + PRGNAM=pigz -VERSION=${VERSION:-2.2.5} +VERSION=${VERSION:-2.3} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -53,6 +57,9 @@ find . \ sed -i "s/^CFLAGS=.*/CFLAGS=$SLKCFLAGS/g" Makefile +# Add missing -lm flag to Makefile +patch -p1 < $CWD/math_fix.diff + make install -D -m 0755 pigz $PKG/usr/bin/pigz diff --git a/system/pigz/pigz.info b/system/pigz/pigz.info index d038cf1f530be..fc8cef7f8220c 100644 --- a/system/pigz/pigz.info +++ b/system/pigz/pigz.info @@ -1,10 +1,10 @@ PRGNAM="pigz" -VERSION="2.2.5" +VERSION="2.3" HOMEPAGE="http://www.zlib.net/pigz/" -DOWNLOAD="http://www.zlib.net/pigz/pigz-2.2.5.tar.gz" -MD5SUM="188f769ccedc403893d03049ad31e969" +DOWNLOAD="http://www.zlib.net/pigz/pigz-2.3.tar.gz" +MD5SUM="042e3322534f2c3d761736350cac303f" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" -MAINTAINER="Diogo Leal" -EMAIL="diogo@diogoleal.com" +MAINTAINER="Patrick Verner" +EMAIL="distrozilla@gmail.com" |