slackbuilds_ponce/system/pigz/math_fix.diff
Patrick Verner a83b56e78d system/pigz: Updated for version 2.3, new maintainer.
Signed-off-by: Erik Hanson <erik@slackbuilds.org>
2013-07-01 09:06:18 -05:00

12 lines
470 B
Diff

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