aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/ladspa/0002-plugin-constructor-destructor.patch
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2017-12-01 17:26:53 +0100
committerJakub Jirutka <jakub@jirutka.cz>2017-12-01 17:26:53 +0100
commit3ce3c4fd596debefbad77328a9b62a39eccf753c (patch)
tree8ea8842d946335dbd124e71336a11b928481c544 /unmaintained/ladspa/0002-plugin-constructor-destructor.patch
parent62b8ba5f8fe6d62d56b2d078b4f12f72830ee4af (diff)
downloadaports-3ce3c4fd596debefbad77328a9b62a39eccf753c.tar.bz2
aports-3ce3c4fd596debefbad77328a9b62a39eccf753c.tar.xz
unmaintained/*: purge aports not touched since v3.5.0
We agreed with ncopa on #alpine-devel (2017-12-01 16:20 UTC) to periodically purge aports in unmaintained that haven't been touched in last 1 year (2 releases).
Diffstat (limited to 'unmaintained/ladspa/0002-plugin-constructor-destructor.patch')
-rw-r--r--unmaintained/ladspa/0002-plugin-constructor-destructor.patch119
1 files changed, 0 insertions, 119 deletions
diff --git a/unmaintained/ladspa/0002-plugin-constructor-destructor.patch b/unmaintained/ladspa/0002-plugin-constructor-destructor.patch
deleted file mode 100644
index f0061e823d..0000000000
--- a/unmaintained/ladspa/0002-plugin-constructor-destructor.patch
+++ /dev/null
@@ -1,119 +0,0 @@
-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
-