From b7ac81735fcef516dc81a40076a385f4f34799dd Mon Sep 17 00:00:00 2001 From: maxice8 Date: Tue, 19 Feb 2019 06:05:52 -0300 Subject: [PATCH] lv2: update to 1.16.0. --- srcpkgs/lv2/patches/fix-memory-leak.patch | 25 -------------- srcpkgs/lv2/patches/fix-segfault.patch | 42 ----------------------- srcpkgs/lv2/patches/musl-stdint.patch | 12 ------- srcpkgs/lv2/template | 8 ++--- 4 files changed, 4 insertions(+), 83 deletions(-) delete mode 100644 srcpkgs/lv2/patches/fix-memory-leak.patch delete mode 100644 srcpkgs/lv2/patches/fix-segfault.patch delete mode 100644 srcpkgs/lv2/patches/musl-stdint.patch diff --git a/srcpkgs/lv2/patches/fix-memory-leak.patch b/srcpkgs/lv2/patches/fix-memory-leak.patch deleted file mode 100644 index 6615f8a099..0000000000 --- a/srcpkgs/lv2/patches/fix-memory-leak.patch +++ /dev/null @@ -1,25 +0,0 @@ -From f8fdd7a48d12465d2ef8153d25337593c88687e3 Mon Sep 17 00:00:00 2001 -From: David Robillard -Date: Sun, 12 Feb 2017 18:20:31 +0100 -Subject: Fix memory leak - ---- - plugins/eg-sampler.lv2/sampler.c | 2 ++ - 1 file changed, 2 insertions(+) - -diff --git plugins/eg-sampler.lv2/sampler.c plugins/eg-sampler.lv2/sampler.c -index ca92a9c..95cb45e 100644 ---- plugins/eg-sampler.lv2/sampler.c -+++ plugins/eg-sampler.lv2/sampler.c -@@ -564,6 +564,8 @@ restore(LV2_Handle instance, - free(buf); - } - -+ free(path); -+ - return LV2_STATE_SUCCESS; - } - --- -cgit v1.2.1 - diff --git a/srcpkgs/lv2/patches/fix-segfault.patch b/srcpkgs/lv2/patches/fix-segfault.patch deleted file mode 100644 index b2de914d9f..0000000000 --- a/srcpkgs/lv2/patches/fix-segfault.patch +++ /dev/null @@ -1,42 +0,0 @@ -From dc9ff1250c049b5b60cef16f07be4c031ce2fa4c Mon Sep 17 00:00:00 2001 -From: Harry van Haaren -Date: Sat, 19 May 2018 14:15:15 +0100 -Subject: eg-sampler: Fix segfault on old_sample null deref - -Fixes a segmentation fault in eg-sampler when a sample is loaded for the first -time. Dereferencing old_sample->path causes the NULL pointer segfault. - -Resolved by always simplifying code to always write_set_file, -even if the filename is the same. - -Signed-off-by: Harry van Haaren ---- - plugins/eg-sampler.lv2/sampler.c | 12 +++++------- - 1 file changed, 5 insertions(+), 7 deletions(-) - -diff --git plugins/eg-sampler.lv2/sampler.c plugins/eg-sampler.lv2/sampler.c -index 3bd8b6c..aa8a1c1 100644 ---- plugins/eg-sampler.lv2/sampler.c -+++ plugins/eg-sampler.lv2/sampler.c -@@ -220,13 +220,11 @@ work_response(LV2_Handle instance, - old_sample }; - self->schedule->schedule_work(self->schedule->handle, sizeof(msg), &msg); - -- if (strcmp(old_sample->path, new_sample->path)) { -- // Send a notification that we're using a new sample -- lv2_atom_forge_frame_time(&self->forge, self->frame_offset); -- write_set_file(&self->forge, &self->uris, -- new_sample->path, -- new_sample->path_len); -- } -+ // Send a notification that we're using a new sample -+ lv2_atom_forge_frame_time(&self->forge, self->frame_offset); -+ write_set_file(&self->forge, &self->uris, -+ new_sample->path, -+ new_sample->path_len); - - return LV2_WORKER_SUCCESS; - } --- -cgit v1.2.1 - diff --git a/srcpkgs/lv2/patches/musl-stdint.patch b/srcpkgs/lv2/patches/musl-stdint.patch deleted file mode 100644 index cb00bd5946..0000000000 --- a/srcpkgs/lv2/patches/musl-stdint.patch +++ /dev/null @@ -1,12 +0,0 @@ -Explicitly include stdint.h for the int64_t definition. - ---- plugins/eg-fifths.lv2/fifths.c 2014-02-08 04:03:16.000000000 +0100 -+++ plugins/eg-fitths.lv2/fifths.c 2015-10-09 17:20:36.198433090 +0200 -@@ -18,6 +18,7 @@ - #include - #include - #include -+#include - #ifndef __cplusplus - # include - #endif diff --git a/srcpkgs/lv2/template b/srcpkgs/lv2/template index 851e5bbf6d..9f21773707 100644 --- a/srcpkgs/lv2/template +++ b/srcpkgs/lv2/template @@ -1,16 +1,16 @@ # Template file for 'lv2' pkgname=lv2 -version=1.14.0 -revision=2 +version=1.16.0 +revision=1 build_style=waf -hostmakedepends="python" +hostmakedepends="python3" makedepends="libsndfile-devel gtk+-devel" short_desc="Plugin standard for audio systems" maintainer="Juan RP " license="ISC" homepage="http://lv2plug.in" distfiles="http://lv2plug.in/spec/${pkgname}-${version}.tar.bz2" -checksum=b8052683894c04efd748c81b95dd065d274d4e856c8b9e58b7c3da3db4e71d32 +checksum=dec3727d7bd34a413a344a820678848e7f657b5c6019a0571c61df76d7bdf1de lib32disabled=yes post_install() {