summaryrefslogtreecommitdiff
path: root/system/pigz/math_fix.diff
diff options
context:
space:
mode:
Diffstat (limited to 'system/pigz/math_fix.diff')
-rw-r--r--system/pigz/math_fix.diff12
1 files changed, 12 insertions, 0 deletions
diff --git a/system/pigz/math_fix.diff b/system/pigz/math_fix.diff
new file mode 100644
index 0000000000..7123175132
--- /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