[SCM] jalv/master: Remove 0001-presets_with_non_decimal_ports.patch, applied upstream.

alessio at users.alioth.debian.org alessio at users.alioth.debian.org
Thu Oct 18 00:56:25 UTC 2012


The following commit has been merged in the master branch:
commit 7c55ef1bd7ec30e60d244d8bc6748fc61d40f503
Author: Alessio Treglia <alessio at debian.org>
Date:   Thu Oct 18 01:51:58 2012 +0100

    Remove 0001-presets_with_non_decimal_ports.patch, applied upstream.

diff --git a/debian/patches/0001-presets_with_non_decimal_ports.patch b/debian/patches/0001-presets_with_non_decimal_ports.patch
deleted file mode 100644
index 6d9f5e4..0000000
--- a/debian/patches/0001-presets_with_non_decimal_ports.patch
+++ /dev/null
@@ -1,34 +0,0 @@
-Description: Tolerate loading presets with port values that aren't xsd:decimal
-Origin: http://dev.drobilla.net/changeset/4499
----
- src/state.c |   15 +++++++++++----
- 1 file changed, 11 insertions(+), 4 deletions(-)
-
---- jalv.orig/src/state.c
-+++ jalv/src/state.c
-@@ -132,14 +132,21 @@ set_port_value(const char* port_symbol,
- 		return;
- 	}
- 
--	if (type != jalv->forge.Float) {
--		fprintf(stderr, "error: Preset port `%s' value is a <%s>, not float\n",
-+	float fvalue;
-+	if (type == jalv->forge.Float) {
-+		fvalue = *(float*)value;
-+	} else if (type == jalv->forge.Double) {
-+		fvalue = *(double*)value;
-+	} else if (type == jalv->forge.Int) {
-+		fvalue = *(int32_t*)value;
-+	} else if (type == jalv->forge.Long) {
-+		fvalue = *(int64_t*)value;
-+	} else {
-+		fprintf(stderr, "error: Preset `%s' value has bad type <%s>\n",
- 		        port_symbol, jalv->unmap.unmap(jalv->unmap.handle, type));
- 		return;
- 	}
- 
--	const float fvalue = *(float*)value;
--
- 	// Send value to plugin
- 	jalv_ui_write(jalv, port->index, sizeof(fvalue), 0, &fvalue);
- 
diff --git a/debian/patches/series b/debian/patches/series
index a928ca1..611400a 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1 @@
-0001-presets_with_non_decimal_ports.patch
 1001-manpages.patch

-- 
jalv packaging



More information about the pkg-multimedia-commits mailing list