From 19a050739649632cea5414243bbac7583350d559 Mon Sep 17 00:00:00 2001 From: Matteo Bernardini Date: Wed, 12 Sep 2012 18:13:29 +0200 Subject: audio/rubberband: Added a patch for gcc-4.7.x. Signed-off-by: Matteo Bernardini --- audio/rubberband/gcc47.patch | 11 +++++++++++ audio/rubberband/rubberband.SlackBuild | 5 ++++- 2 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 audio/rubberband/gcc47.patch (limited to 'audio/rubberband') diff --git a/audio/rubberband/gcc47.patch b/audio/rubberband/gcc47.patch new file mode 100644 index 0000000000..8109cc6f01 --- /dev/null +++ b/audio/rubberband/gcc47.patch @@ -0,0 +1,11 @@ +diff -Naur rubberband-1.6.0.orig/rubberband/RubberBandStretcher.h rubberband-1.6.0/rubberband/RubberBandStretcher.h +--- rubberband-1.6.0.orig/rubberband/RubberBandStretcher.h 2011-03-19 16:01:07.000000000 +0100 ++++ rubberband-1.6.0/rubberband/RubberBandStretcher.h 2012-09-12 17:58:27.260000741 +0200 +@@ -19,6 +19,7 @@ + #define RUBBERBAND_API_MAJOR_VERSION 2 + #define RUBBERBAND_API_MINOR_VERSION 4 + ++#include + #include + #include + diff --git a/audio/rubberband/rubberband.SlackBuild b/audio/rubberband/rubberband.SlackBuild index c96b138e56..0e2e17c67e 100644 --- a/audio/rubberband/rubberband.SlackBuild +++ b/audio/rubberband/rubberband.SlackBuild @@ -6,7 +6,7 @@ PRGNAM=rubberband VERSION=${VERSION:-1.6.0} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -54,6 +54,9 @@ find . \ # Fixup libdir on x86_64 [ "$ARCH" = "x86_64" ] && patch -p1 < $CWD/libdir_x86_64.diff +# Patch for gcc-4.7.x +patch -p1 < $CWD/gcc47.patch + CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ -- cgit v1.2.3