Package: libsndfile / 1.0.21-3+squeeze2

01kfreebsd_symbols.diff Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
## 01kfreebsd_symbols.diff by Petr Salinger <Petr.Salinger@seznam.cz>
##
## DP: Use Symbols.linux linker script for kfreebsd.
## DP: See Debian bug #561086.

Index: libsndfile-1.0.21/configure.ac
===================================================================
--- libsndfile-1.0.21.orig/configure.ac
+++ libsndfile-1.0.21/configure.ac
@@ -521,7 +521,7 @@
 			CFLAGS=$temp_CFLAGS
 			SHLIB_VERSION_ARG="-Wl,-exported_symbols_list -Wl,\$(srcdir)/Symbols.darwin"
 			;;
-		linux*)
+		linux*|kfreebsd*-gnu*|gnu*)
 			SHLIB_VERSION_ARG="-Wl,--version-script=\$(srcdir)/Symbols.linux"
 			;;
 		mingw*)
Index: libsndfile-1.0.21/Makefile.am
===================================================================
--- libsndfile-1.0.21.orig/Makefile.am
+++ libsndfile-1.0.21/Makefile.am
@@ -2,6 +2,8 @@
 
 DISTCHECK_CONFIGURE_FLAGS = --enable-gcc-werror
 
+ACLOCAL_AMFLAGS = -I M4
+
 if BUILD_OCTAVE_MOD
 octave_dir = Octave
 endif