[SCM] libmysofa/master: Backported upstream-fix for exported symbols

umlaeute at users.alioth.debian.org umlaeute at users.alioth.debian.org
Thu Aug 17 07:18:45 UTC 2017


The following commit has been merged in the master branch:
commit 29fa9e109ba9d13758b629e3501920f4083badc1
Author: IOhannes m zmölnig <zmoelnig at umlautQ.umlaeute.mur.at>
Date:   Thu Jul 20 14:45:02 2017 +0200

    Backported upstream-fix for exported symbols

diff --git a/debian/libmysofa0.symbols b/debian/libmysofa0.symbols
index ae1d7b7..9104c15 100644
--- a/debian/libmysofa0.symbols
+++ b/debian/libmysofa0.symbols
@@ -1,29 +1,30 @@
 libmysofa.so.0 libmysofa0 #MINVER#
- mysofa_c2s at Base 0.5~
- mysofa_cache_lookup at Base 0.5~
- mysofa_cache_release at Base 0.5~
- mysofa_cache_release_all at Base 0.5~
- mysofa_cache_store at Base 0.5~
- mysofa_check at Base 0.5~
- mysofa_close at Base 0.5~
- mysofa_close_cached at Base 0.5~
- mysofa_free at Base 0.5~
- mysofa_getfilter_float at Base 0.5~
- mysofa_getfilter_short at Base 0.5~
+ mysofa_c2s at Base 0.6~
+ mysofa_cache_lookup at Base 0.6~
+ mysofa_cache_release at Base 0.6~
+ mysofa_cache_release_all at Base 0.6~
+ mysofa_cache_store at Base 0.6~
+ mysofa_check at Base 0.6~
+ mysofa_close at Base 0.6~
+ mysofa_close_cached at Base 0.6~
+ mysofa_free at Base 0.6~
+ mysofa_getAttribute at Base 0.6~
+ mysofa_getfilter_float at Base 0.6~
+ mysofa_getfilter_short at Base 0.6~
  mysofa_getversion at Base 0.6~
- mysofa_interpolate at Base 0.5~
- mysofa_load at Base 0.5~
- mysofa_lookup at Base 0.5~
- mysofa_lookup_free at Base 0.5~
- mysofa_lookup_init at Base 0.5~
- mysofa_loudness at Base 0.5~
- mysofa_minphase at Base 0.5~
- mysofa_neighborhood at Base 0.5~
- mysofa_neighborhood_free at Base 0.5~
- mysofa_neighborhood_init at Base 0.5~
- mysofa_open at Base 0.5~
- mysofa_open_cached at Base 0.5~
- mysofa_resample at Base 0.5~
- mysofa_s2c at Base 0.5~
- mysofa_tocartesian at Base 0.5~
- mysofa_tospherical at Base 0.5~
+ mysofa_interpolate at Base 0.6~
+ mysofa_load at Base 0.6~
+ mysofa_lookup at Base 0.6~
+ mysofa_lookup_free at Base 0.6~
+ mysofa_lookup_init at Base 0.6~
+ mysofa_loudness at Base 0.6~
+ mysofa_minphase at Base 0.6~
+ mysofa_neighborhood at Base 0.6~
+ mysofa_neighborhood_free at Base 0.6~
+ mysofa_neighborhood_init at Base 0.6~
+ mysofa_open at Base 0.6~
+ mysofa_open_cached at Base 0.6~
+ mysofa_resample at Base 0.6~
+ mysofa_s2c at Base 0.6~
+ mysofa_tocartesian at Base 0.6~
+ mysofa_tospherical at Base 0.6~
diff --git a/debian/patches/fix_export_symbols.patch b/debian/patches/fix_export_symbols.patch
index f888bb1..e5962d4 100644
--- a/debian/patches/fix_export_symbols.patch
+++ b/debian/patches/fix_export_symbols.patch
@@ -1,18 +1,17 @@
 Description: sync mysofa.h-declaration with exported symbols
  symbols declared (but not defined) in the public header must be exported.
- for now, we remove the "mysofa_getAttribute" from the headers, as it is easier
- to add a new symbol than to remove it
 Author: IOhannes m zmölnig
+Applied-Upstream: 00c6e62aecaac89e965348c85de5b7d71bd5f873
 Last-Update: 2017-07-20
 ---
 This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
---- libmysofa.orig/src/hrtf/mysofa.h
-+++ libmysofa/src/hrtf/mysofa.h
-@@ -89,7 +89,6 @@
- 	struct MYSOFA_HRTF* mysofa_load(const char *filename, int *err);
+--- libmysofa.orig/src/hrtf/tools.c
++++ libmysofa/src/hrtf/tools.c
+@@ -45,6 +45,7 @@
+ 	return 0;
+ }
  
- 	int mysofa_check(struct MYSOFA_HRTF *hrtf);
--	char* mysofa_getAttribute(struct MYSOFA_ATTRIBUTE *attr, char *name);
- 	void mysofa_tospherical(struct MYSOFA_HRTF *hrtf);
- 	void mysofa_tocartesian(struct MYSOFA_HRTF *hrtf);
- 	void mysofa_free(struct MYSOFA_HRTF *hrtf);
++MYSOFA_EXPORT
+ char* mysofa_getAttribute(struct MYSOFA_ATTRIBUTE *attr, char *name) {
+ 	while (attr) {
+ 		if (!strcmp(name, attr->name)) {

-- 
libmysofa packaging



More information about the pkg-multimedia-commits mailing list