From ed81302bddf2e7a97e3898128914a0dbfee67e74 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20M=C3=BCller?= Date: Tue, 9 Apr 2019 09:06:00 +0200 Subject: [PATCH] guitarix: upgrade 0.38.0 -> 0.38.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit musl patch made it upstream Signed-off-by: Andreas Müller --- recipes-musicians/guitarix/guitarix.bb | 7 ++-- .../guitarix/0002-Fix-build-for-musl.patch | 38 ------------------- 2 files changed, 3 insertions(+), 42 deletions(-) delete mode 100644 recipes-musicians/guitarix/guitarix/0002-Fix-build-for-musl.patch diff --git a/recipes-musicians/guitarix/guitarix.bb b/recipes-musicians/guitarix/guitarix.bb index 1ec3975..a5eae65 100644 --- a/recipes-musicians/guitarix/guitarix.bb +++ b/recipes-musicians/guitarix/guitarix.bb @@ -3,14 +3,13 @@ HOMEPAGE = "http://guitarix.org/" LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://COPYING;md5=384f45fb7968a0fe30622ce6160d3b69" -PV = "0.38.0" +PV = "0.38.1" SRC_URI = " \ ${SOURCEFORGE_MIRROR}/project/${BPN}/${BPN}/${BPN}2-${PV}.tar.xz \ file://0001-do-not-perform-link-test-durin-cross-build.patch \ - file://0002-Fix-build-for-musl.patch \ " -SRC_URI[md5sum] = "c533bfd7223c42a7aef0e516f5b4cc01" -SRC_URI[sha256sum] = "c709ec903b2ae653802bd9327c32a20a086e6a97e8d029c8d79f1a8445dd655b" +SRC_URI[md5sum] = "d9aec810bf164cbf040b298cb9c45d50" +SRC_URI[sha256sum] = "00fda3e1ce1d5f1691665f9ff32bb3c9800381313d49b7c2e25618d0b3ed872f" inherit wafold fontcache gettext diff --git a/recipes-musicians/guitarix/guitarix/0002-Fix-build-for-musl.patch b/recipes-musicians/guitarix/guitarix/0002-Fix-build-for-musl.patch deleted file mode 100644 index a361dd4..0000000 --- a/recipes-musicians/guitarix/guitarix/0002-Fix-build-for-musl.patch +++ /dev/null @@ -1,38 +0,0 @@ -From 2e98159fe860cb42458fa3b434fe0eacda5e4b97 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Andreas=20M=C3=BCller?= -Date: Sun, 7 Apr 2019 20:56:49 +0200 -Subject: [PATCH] Fix build for musl -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -The function mallopt and it's constants doe not seem to be defined by POSIX so -musl does not define them. Get around by check for constants. - -Upstream-Status: Applied [1] - -[1] https://sourceforge.net/p/guitarix/git/ci/8ec1f3088e914e87cf2c04764b24e2bd5cafc940/ - -Signed-off-by: Andreas Müller ---- - src/gx_head/gui/machine.cpp | 2 ++ - 1 file changed, 2 insertions(+) - -diff --git a/src/gx_head/gui/machine.cpp b/src/gx_head/gui/machine.cpp -index bdc137d..d912839 100644 ---- a/src/gx_head/gui/machine.cpp -+++ b/src/gx_head/gui/machine.cpp -@@ -35,8 +35,10 @@ - void set_memory_allocation() { - if (mlockall(MCL_CURRENT | MCL_FUTURE)) - gx_print_error("system init", "mlockall failed:"); -+#if defined(M_TRIM_THRESHOLD) && defined(M_MMAP_MAX) - mallopt(M_TRIM_THRESHOLD, -1); - mallopt(M_MMAP_MAX, 0); -+#endif - } - - #else --- -2.20.1 -