summaryrefslogtreecommitdiff
path: root/user/sox/sox-dynamic.patch
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-21 23:38:00 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-21 23:38:00 -0500
commitf652af7585e2a9a9f4b1245cb4d097debe781bd8 (patch)
tree5a8a7ab81d48936b0ce5130c263a8ead9be22954 /user/sox/sox-dynamic.patch
parente4e01460aecb95a67e06c9ff698c52b1d3e3107c (diff)
downloadpackages-f652af7585e2a9a9f4b1245cb4d097debe781bd8.tar.gz
packages-f652af7585e2a9a9f4b1245cb4d097debe781bd8.tar.bz2
packages-f652af7585e2a9a9f4b1245cb4d097debe781bd8.tar.xz
packages-f652af7585e2a9a9f4b1245cb4d097debe781bd8.zip
user/sox: pull in, modernise, fix license
Diffstat (limited to 'user/sox/sox-dynamic.patch')
-rw-r--r--user/sox/sox-dynamic.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/user/sox/sox-dynamic.patch b/user/sox/sox-dynamic.patch
new file mode 100644
index 000000000..94ac6a282
--- /dev/null
+++ b/user/sox/sox-dynamic.patch
@@ -0,0 +1,12 @@
+diff -Naur sox-14.4.2-orig/src/Makefile.am sox-14.4.2/src/Makefile.am
+--- sox-14.4.2-orig/src/Makefile.am 2015-04-08 17:11:09.555343005 -0400
++++ sox-14.4.2/src/Makefile.am 2015-04-08 17:11:25.115317153 -0400
+@@ -95,7 +95,7 @@
+
+ libsox_la_CFLAGS = @WARN_CFLAGS@
+ libsox_la_LDFLAGS = @APP_LDFLAGS@ -version-info @SHLIB_VERSION@ \
+- -export-symbols-regex '^(sox_.*|lsx_(check_read_params|(close|open)_dllibrary|(debug(_more|_most)?|fail|report|warn)_impl|eof|fail_errno|filelength|find_(enum_(text|value)|file_extension)|getopt(_init)?|lpc10_(create_(de|en)coder_state|(de|en)code)|raw(read|write)|read(_b_buf|buf|chars)|realloc|rewind|seeki|sigfigs3p?|strcasecmp|tell|unreadb|write(b|_b_buf|buf|s)))$$'
++ -export-symbols-regex '^(sox_.*|lsx_(error|flush|check_read_params|(close|open)_dllibrary|(debug(_more|_most)?|fail|report|warn)_impl|eof|fail_errno|filelength|find_(enum_(text|value)|file_extension)|getopt(_init)?|lpc10_(create_(de|en)coder_state|(de|en)code)|raw(read|write)|read(_b_buf|buf|chars)|realloc|rewind|seeki|sigfigs3p?|strcasecmp|tell|unreadb|write(b|_b_buf|buf|s)))$$'
+
+ if HAVE_WIN32_LTDL
+ libsox_la_SOURCES += win32-ltdl.c win32-ltdl.h