shithub: libsamplerate

Download patch

ref: aa5597573b12da119b891edc15b6f459385c060b
parent: 28afc79c7604cac61eca7d621579d19e4fd27e1a
author: Erik de Castro Lopo <erikd@mega-nerd.com>
date: Sun Apr 7 17:37:37 EDT 2013

src/Version_script.in : Fix linking warnings when using ld.gold.

--- a/src/Version_script.in
+++ b/src/Version_script.in
@@ -1,7 +1,7 @@
 #
 # Export file for libsamplerate
 #
-# Only the symbols listed in the global section will be callable from 
+# Only the symbols listed in the global section will be callable from
 # applications linking to libsamplerate.
 #
 
@@ -20,7 +20,7 @@
 		src_simple ;
 		src_is_valid_ratio ;
 		src_set_ratio ;
-		
+
 	local:
 		*;
 };
@@ -28,19 +28,6 @@
 @PACKAGE@.so.0.1
 {
 	global:
-		src_new ;
-		src_delete ;
-		src_get_name ;
-		src_get_description ;
-		src_get_version ;
-		src_process ;
-		src_reset ;
-		src_error ;
-		src_strerror ;
-		src_simple ;
-		src_is_valid_ratio ;
-		src_set_ratio ;
-		
 		src_callback_new ;
 		src_callback_read ;
 
@@ -48,6 +35,5 @@
 		src_float_to_short_array ;
 		src_int_to_float_array ;
 		src_float_to_int_array ;
-	local:
-		*;
-};
+		src_get_channels ;
+} @PACKAGE@.so.0.0;