guitarix: fix build with boost >= 1.69.0

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
This commit is contained in:
Andreas Müller
2019-03-15 21:31:10 +01:00
parent 2535943408
commit cfe91e5789
2 changed files with 39 additions and 0 deletions

View File

@@ -0,0 +1,38 @@
From d4e6aa415af0b3a836cbfb882a31e960e5e60246 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@gmail.com>
Date: Fri, 15 Mar 2019 21:14:10 +0100
Subject: [PATCH] Fix build with boost >= 1.69.0
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
| In file included from ../src/headers/engine.h:73,
| from ../src/gx_head/engine/ladspaplugin.cpp:22:
| ../src/headers/gx_system.h:353:40: error: expected class-name before '{' token
| class BasicOptions: boost::noncopyable {
| ^
and more
Upstream-Status: Backport
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
---
src/headers/engine.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/headers/engine.h b/src/headers/engine.h
index 95f4497..2b6155e 100644
--- a/src/headers/engine.h
+++ b/src/headers/engine.h
@@ -39,6 +39,7 @@
#include <sys/stat.h>
#include <boost/format.hpp>
#include <boost/thread/mutex.hpp>
+#include <boost/core/noncopyable.hpp>
#include <glibmm/i18n.h> // NOLINT
#include <glibmm/optioncontext.h> // NOLINT
#include <glibmm/dispatcher.h>
--
2.20.1

View File

@@ -6,6 +6,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=384f45fb7968a0fe30622ce6160d3b69"
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-with-boost-1.69.0.patch \
"
SRC_URI[md5sum] = "78ebc879e5cd7a6e4bd43ff8aec562e1"
SRC_URI[sha256sum] = "4ca93bd4226cd175456f37612acd28b46e13133db61c0f235917dbcc3347d5f1"