summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2008-05-11 18:14:45 +0000
committerAlexis Ballier <aballier@gentoo.org>2008-05-11 18:14:45 +0000
commitcc4d4c3f564a5e0683df7bb0a683b0c73aeac27b (patch)
tree324d5b981bfe0c8cbf10e8ceabe70e614f11af06 /media-sound/audacity/files
parentStable on ppc64; bug #221063 (diff)
downloadgentoo-2-cc4d4c3f564a5e0683df7bb0a683b0c73aeac27b.tar.gz
gentoo-2-cc4d4c3f564a5e0683df7bb0a683b0c73aeac27b.tar.bz2
gentoo-2-cc4d4c3f564a5e0683df7bb0a683b0c73aeac27b.zip
version bump
(Portage version: 2.1.5_rc10)
Diffstat (limited to 'media-sound/audacity/files')
-rw-r--r--media-sound/audacity/files/audacity-1.3.5-cflags_with_non_standard_macros.patch35
-rw-r--r--media-sound/audacity/files/audacity-1.3.5-libtool22.patch13
2 files changed, 48 insertions, 0 deletions
diff --git a/media-sound/audacity/files/audacity-1.3.5-cflags_with_non_standard_macros.patch b/media-sound/audacity/files/audacity-1.3.5-cflags_with_non_standard_macros.patch
new file mode 100644
index 000000000000..b22ae2cf68b7
--- /dev/null
+++ b/media-sound/audacity/files/audacity-1.3.5-cflags_with_non_standard_macros.patch
@@ -0,0 +1,35 @@
+Index: audacity-src-1.3.5-beta/configure.in
+===================================================================
+--- audacity-src-1.3.5-beta.orig/configure.in
++++ audacity-src-1.3.5-beta/configure.in
+@@ -161,30 +161,6 @@ if test x"$debug_preference" = "xyes" ;
+ CXXFLAGS="${CXXFLAGS} -g "
+ fi
+
+-dnl --------------------------------------------------------------------------
+-dnl We would like warnings enabled on the builds, but different compilers need
+-dnl different options for these. This bit tries to work out what flags we
+-dnl should add to the compiler we are using.
+-dnl --------------------------------------------------------------------------
+-
+-dnl Strict prototypes flags for C (only C because doesn't work for C++)
+-AX_CFLAGS_STRICT_PROTOTYPES(CFLAGS)
+-
+-dnl Sensible warnings for C
+-AX_CFLAGS_WARN_ALL(wall_flags)
+-CFLAGS="${CFLAGS} $wall_flags"
+-dnl try and use it on C++ as well
+-AX_CXX_CHECK_FLAG([$wall_flags], [[int foo;]], [[foo = 1;]], cxx_does_wall="yes", cxx_does_wall="no")
+-if test "x$cxx_does_wall" = "xyes" ; then
+- dnl can use all warnings flag on the C++ compiler
+- CXXFLAGS="${CXXFLAGS} $wall_flags"
+-fi
+-AX_CXXCPP_CHECK_FLAG([$wall_flags], [[int foo;]], [[foo = 1;]], cpp_does_wall="yes", cpp_does_wall="no")
+-if test "x$cpp_does_wall" = "xyes" ; then
+- dnl can use all warnings flag on the C++ pre-processor
+- CPPFLAGS="${CPPFLAGS} $wall_flags"
+-fi
+-
+ AC_CONFIG_SUBDIRS([lib-src/FileDialog])
+
+ LIBRARIES="LIBVORBIS LIBMAD LIBSNDFILE LIBFLAC LIBID3TAG LIBSAMPLERATE LIBRESAMPLE LIBSOUNDTOUCH LIBNYQUIST LIBVAMP LIBEXPAT LIBTWOLAME"
diff --git a/media-sound/audacity/files/audacity-1.3.5-libtool22.patch b/media-sound/audacity/files/audacity-1.3.5-libtool22.patch
new file mode 100644
index 000000000000..4780c9deac11
--- /dev/null
+++ b/media-sound/audacity/files/audacity-1.3.5-libtool22.patch
@@ -0,0 +1,13 @@
+Index: audacity-src-1.3.5-beta/lib-src/portaudio-v19/Makefile.in
+===================================================================
+--- audacity-src-1.3.5-beta.orig/lib-src/portaudio-v19/Makefile.in
++++ audacity-src-1.3.5-beta/lib-src/portaudio-v19/Makefile.in
+@@ -39,7 +39,7 @@ OTHER_OBJS = @OTHER_OBJS@
+ PALIB = libportaudio.la
+ PAINC = include/portaudio.h
+
+-PA_LDFLAGS = $(LDFLAGS) $(SHARED_FLAGS) -rpath $(libdir) -no-undefined \
++PA_LDFLAGS = $(LDFLAGS) -rpath $(libdir) -no-undefined \
+ -export-symbols-regex "(Pa|PaMacCore|PaJack|PaAlsa)_.*" \
+ -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
+