[SCM] libmysofa/master: Patch to remove unexported symbol from headers

umlaeute at users.alioth.debian.org umlaeute at users.alioth.debian.org
Thu Jul 20 10:45:11 UTC 2017


The following commit has been merged in the master branch:
commit b3de91159590de9ef21a93f8f7bc622eee6d7e38
Author: IOhannes m zmölnig <zmoelnig at umlautQ.umlaeute.mur.at>
Date:   Thu Jul 20 12:09:50 2017 +0200

    Patch to remove unexported symbol from headers

diff --git a/debian/patches/fix_export_symbols.patch b/debian/patches/fix_export_symbols.patch
new file mode 100644
index 0000000..f888bb1
--- /dev/null
+++ b/debian/patches/fix_export_symbols.patch
@@ -0,0 +1,18 @@
+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
+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);
+ 
+ 	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);
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..ea82920
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+fix_export_symbols.patch

-- 
libmysofa packaging



More information about the pkg-multimedia-commits mailing list