summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2011-02-16 15:54:19 +0000
committerAlexis Ballier <aballier@gentoo.org>2011-02-16 15:54:19 +0000
commita61c83d64182489dde7a6f62789e6b5dfb5bf360 (patch)
tree3d4c22753c3aa1fa82eca973158ca14c3b53b135 /media-sound/sox/files
parentAdd version 0.58.5 (diff)
downloadgentoo-2-a61c83d64182489dde7a6f62789e6b5dfb5bf360.tar.gz
gentoo-2-a61c83d64182489dde7a6f62789e6b5dfb5bf360.tar.bz2
gentoo-2-a61c83d64182489dde7a6f62789e6b5dfb5bf360.zip
fix build with libpng 1.5
(Portage version: 2.2.0_alpha24/cvs/Linux x86_64)
Diffstat (limited to 'media-sound/sox/files')
-rw-r--r--media-sound/sox/files/sox-14.3.1-libpng15.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/media-sound/sox/files/sox-14.3.1-libpng15.patch b/media-sound/sox/files/sox-14.3.1-libpng15.patch
new file mode 100644
index 000000000000..6b1b8df5eb37
--- /dev/null
+++ b/media-sound/sox/files/sox-14.3.1-libpng15.patch
@@ -0,0 +1,12 @@
+Index: sox-14.3.1/src/spectrogram.c
+===================================================================
+--- sox-14.3.1.orig/src/spectrogram.c
++++ sox-14.3.1/src/spectrogram.c
+@@ -25,6 +25,7 @@
+ #include <assert.h>
+ #include <math.h>
+ #include <png.h>
++#include <zlib.h>
+
+ #define MAX_FFT_SIZE 4096
+ #define is_p2(x) !(x & (x - 1))