diff options
author | Carlo Landmeter <clandmeter@gmail.com> | 2016-08-25 15:26:24 +0200 |
---|---|---|
committer | Carlo Landmeter <clandmeter@gmail.com> | 2016-08-25 15:26:24 +0200 |
commit | b6af1e02efe594039707cd882517663d5370f375 (patch) | |
tree | ff9c2d55873e051e82972ba64c017352d3a75d34 /unmaintained/ladspa/0002-plugin-constructor-destructor.patch | |
parent | a71346b7acebc600960a98c84fb32cfd72fe864b (diff) | |
download | aports-b6af1e02efe594039707cd882517663d5370f375.tar.bz2 aports-b6af1e02efe594039707cd882517663d5370f375.tar.xz |
testing/[multiple]: move unmaintained packages
This moves all packages from testing to unmaintained which have not been
updated for atleast 6 months. If you are affected by this commit please follow
this proceddure:
* make sure your packages build on all architectures
* move your pacakge(s) back to testing
* if you want to keep this package and can maintain it (or find somebody to
maintain it for you) for a minimum of 6 months ask it to be moved to community
Diffstat (limited to 'unmaintained/ladspa/0002-plugin-constructor-destructor.patch')
-rw-r--r-- | unmaintained/ladspa/0002-plugin-constructor-destructor.patch | 119 |
1 files changed, 119 insertions, 0 deletions
diff --git a/unmaintained/ladspa/0002-plugin-constructor-destructor.patch b/unmaintained/ladspa/0002-plugin-constructor-destructor.patch new file mode 100644 index 0000000000..f0061e823d --- /dev/null +++ b/unmaintained/ladspa/0002-plugin-constructor-destructor.patch @@ -0,0 +1,119 @@ +From d281f99e3776027e98f3b9d952fad0d456a75b8a Mon Sep 17 00:00:00 2001 +From: Natanael Copa <ncopa@alpinelinux.org> +Date: Sat, 4 Feb 2012 22:04:33 +0000 +Subject: [PATCH 2/3] plugin constructor destructor + +--- + src/plugins/amp.c | 8 ++++---- + src/plugins/delay.c | 8 ++++---- + src/plugins/filter.c | 8 ++++---- + src/plugins/noise.c | 8 ++++---- + 4 files changed, 16 insertions(+), 16 deletions(-) + +diff --git a/src/plugins/amp.c b/src/plugins/amp.c +index b6d2345..a447fa1 100644 +--- a/src/plugins/amp.c ++++ b/src/plugins/amp.c +@@ -152,8 +152,8 @@ LADSPA_Descriptor * g_psStereoDescriptor = NULL; + + /* _init() is called automatically when the plugin library is first + loaded. */ +-void +-_init() { ++void __attribute__ ((constructor)) ++my_init() { + + char ** pcPortNames; + LADSPA_PortDescriptor * piPortDescriptors; +@@ -335,8 +335,8 @@ deleteDescriptor(LADSPA_Descriptor * psDescriptor) { + /*****************************************************************************/ + + /* _fini() is called automatically when the library is unloaded. */ +-void +-_fini() { ++void __attribute__ ((destructor)) ++my_fini() { + deleteDescriptor(g_psMonoDescriptor); + deleteDescriptor(g_psStereoDescriptor); + } +diff --git a/src/plugins/delay.c b/src/plugins/delay.c +index 8b03979..22e477b 100644 +--- a/src/plugins/delay.c ++++ b/src/plugins/delay.c +@@ -228,8 +228,8 @@ LADSPA_Descriptor * g_psDescriptor = NULL; + + /* _init() is called automatically when the plugin library is first + loaded. */ +-void +-_init() { ++void __attribute__ ((constructor)) ++my_init() { + + char ** pcPortNames; + LADSPA_PortDescriptor * piPortDescriptors; +@@ -322,8 +322,8 @@ _init() { + /*****************************************************************************/ + + /* _fini() is called automatically when the library is unloaded. */ +-void +-_fini() { ++void __attribute__ ((destructor)) ++my_fini() { + long lIndex; + if (g_psDescriptor) { + free((char *)g_psDescriptor->Label); +diff --git a/src/plugins/filter.c b/src/plugins/filter.c +index 3f50457..06f7bc6 100644 +--- a/src/plugins/filter.c ++++ b/src/plugins/filter.c +@@ -252,8 +252,8 @@ LADSPA_Descriptor * g_psHPFDescriptor = NULL; + + /* _init() is called automatically when the plugin library is first + loaded. */ +-void +-_init() { ++void __attribute__ ((constructor)) ++my_init() { + + char ** pcPortNames; + LADSPA_PortDescriptor * piPortDescriptors; +@@ -431,8 +431,8 @@ deleteDescriptor(LADSPA_Descriptor * psDescriptor) { + /*****************************************************************************/ + + /* _fini() is called automatically when the library is unloaded. */ +-void +-_fini() { ++void __attribute__ ((destructor)) ++my_fini() { + deleteDescriptor(g_psLPFDescriptor); + deleteDescriptor(g_psHPFDescriptor); + } +diff --git a/src/plugins/noise.c b/src/plugins/noise.c +index 0fdd938..de6fc81 100644 +--- a/src/plugins/noise.c ++++ b/src/plugins/noise.c +@@ -142,8 +142,8 @@ LADSPA_Descriptor * g_psDescriptor; + + /* _init() is called automatically when the plugin library is first + loaded. */ +-void +-_init() { ++void __attribute__ ((constructor)) ++my_init() { + + char ** pcPortNames; + LADSPA_PortDescriptor * piPortDescriptors; +@@ -219,8 +219,8 @@ _init() { + /*****************************************************************************/ + + /* _fini() is called automatically when the library is unloaded. */ +-void +-_fini() { ++void __attribute__ ((destructor)) ++my_fini() { + long lIndex; + if (g_psDescriptor) { + free((char *)g_psDescriptor->Label); +-- +1.7.9 + |