mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-20 19:41:34 +01:00
audio/rubberband: Added a patch for gcc-4.7.x.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
This commit is contained in:
parent
b87988a320
commit
19a0507396
2 changed files with 15 additions and 1 deletions
11
audio/rubberband/gcc47.patch
Normal file
11
audio/rubberband/gcc47.patch
Normal file
|
@ -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 <unistd.h>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
|
@ -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 \
|
||||
|
|
Loading…
Reference in a new issue