diff options
Diffstat (limited to 'media-libs/libsbsms/files')
-rw-r--r-- | media-libs/libsbsms/files/libsbsms-2.0.0-cflags.patch | 24 | ||||
-rw-r--r-- | media-libs/libsbsms/files/libsbsms-2.0.1-includes.patch | 11 | ||||
-rw-r--r-- | media-libs/libsbsms/files/libsbsms-2.0.2-cflags.patch | 24 |
3 files changed, 59 insertions, 0 deletions
diff --git a/media-libs/libsbsms/files/libsbsms-2.0.0-cflags.patch b/media-libs/libsbsms/files/libsbsms-2.0.0-cflags.patch new file mode 100644 index 000000000000..63de676beb66 --- /dev/null +++ b/media-libs/libsbsms/files/libsbsms-2.0.0-cflags.patch @@ -0,0 +1,24 @@ +--- libsbsms-2.0.0/configure.in ++++ libsbsms-2.0.0/configure.in +@@ -69,8 +69,6 @@ + + AC_ARG_ENABLE(universal_binary,[ --enable-universal_binary enable universal binary build: (default: disable)],[enable_universal_binary=$enableval],[enable_universal_binary=no]) + +-SBSMS_CFLAGS="-ffast-math -funroll-loops" +- + if test x$enable_static = xno; then + case "$target_os" in + darwin*) +@@ -81,12 +79,6 @@ + esac + fi + +-if test x$enable_debug = xyes; then +- SBSMS_CFLAGS="$SBSMS_CFLAGS -g -O3" +-else +- SBSMS_CFLAGS="$SBSMS_CFLAGS -O3 -fomit-frame-pointer" +-fi +- + if test x$enable_multithreaded = xyes; then + AC_DEFINE(MULTITHREADED,1,[Define to compile multithreaded sbsms]) + fi diff --git a/media-libs/libsbsms/files/libsbsms-2.0.1-includes.patch b/media-libs/libsbsms/files/libsbsms-2.0.1-includes.patch new file mode 100644 index 000000000000..63937fa6157d --- /dev/null +++ b/media-libs/libsbsms/files/libsbsms-2.0.1-includes.patch @@ -0,0 +1,11 @@ +diff -urN libsbsms-2.0.1.old/src/buffer.h libsbsms-2.0.1/src/buffer.h +--- libsbsms-2.0.1.old/src/buffer.h 2012-12-08 18:43:46.772667486 +0100 ++++ libsbsms-2.0.1/src/buffer.h 2012-12-08 18:44:04.677668212 +0100 +@@ -2,6 +2,7 @@ + #ifndef BUFFER_H + #define BUFFER_H + ++#include <stdlib.h> + #include "sbsms.h" + #include "grain.h" + #include <list> diff --git a/media-libs/libsbsms/files/libsbsms-2.0.2-cflags.patch b/media-libs/libsbsms/files/libsbsms-2.0.2-cflags.patch new file mode 100644 index 000000000000..929135baa0ec --- /dev/null +++ b/media-libs/libsbsms/files/libsbsms-2.0.2-cflags.patch @@ -0,0 +1,24 @@ +--- libsbsms-2.0.2/configure.ac ++++ libsbsms-2.0.2/configure.ac +@@ -69,8 +69,6 @@ + + AC_ARG_ENABLE(universal_binary,[ --enable-universal_binary enable universal binary build: (default: disable)],[enable_universal_binary=$enableval],[enable_universal_binary=no]) + +-SBSMS_CFLAGS="-ffast-math -funroll-loops" +- + if test x$enable_static = xno; then + case "$target_os" in + darwin*) +@@ -81,12 +79,6 @@ + esac + fi + +-if test x$enable_debug = xyes; then +- SBSMS_CFLAGS="$SBSMS_CFLAGS -g -O3" +-else +- SBSMS_CFLAGS="$SBSMS_CFLAGS -O3 -fomit-frame-pointer" +-fi +- + if test x$enable_multithreaded = xyes; then + AC_DEFINE(MULTITHREADED,1,[Define to compile multithreaded sbsms]) + fi |