diff --git a/recipes-musicians/device-control/lpd8editor/files/0001-Remove-Werror-from-CXXFLAGS.patch b/recipes-musicians/device-control/lpd8editor/files/0001-Remove-Werror-from-CXXFLAGS.patch new file mode 100644 index 0000000..27a310d --- /dev/null +++ b/recipes-musicians/device-control/lpd8editor/files/0001-Remove-Werror-from-CXXFLAGS.patch @@ -0,0 +1,34 @@ +From 083bbdcab900d1d3b101ee2adb9eff6f15aa56a2 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Andreas=20M=C3=BCller?= +Date: Sun, 26 May 2019 01:20:53 +0200 +Subject: [PATCH] Remove -Werror from CXXFLAGS +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Works around warning -> errors + +| #warning This header is deprecated, use instead. +| ^~~~~~~ +| In file included from ../../git/src/midiconnectionsmodel.h:7, + +Signed-off-by: Andreas Müller +--- + common.pri | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/common.pri b/common.pri +index 11d9315..35f696e 100644 +--- a/common.pri ++++ b/common.pri +@@ -10,6 +10,6 @@ INSTALL_BIN = $${INSTALL_PREFIX}/bin + INSTALL_TRANSLATION = $${INSTALL_PREFIX}/share/$${APPNAME}/$${APPNAME} + + CONFIG += c++11 link_pkgconfig warn_on +-QMAKE_CXXFLAGS += -Werror ++#QMAKE_CXXFLAGS += -Werror + + PKGCONFIG += alsa +-- +2.20.1 + diff --git a/recipes-musicians/device-control/lpd8editor/lpd8editor_0.0.10.bb b/recipes-musicians/device-control/lpd8editor/lpd8editor.bb similarity index 92% rename from recipes-musicians/device-control/lpd8editor/lpd8editor_0.0.10.bb rename to recipes-musicians/device-control/lpd8editor/lpd8editor.bb index a2b4770..9e990ca 100644 --- a/recipes-musicians/device-control/lpd8editor/lpd8editor_0.0.10.bb +++ b/recipes-musicians/device-control/lpd8editor/lpd8editor.bb @@ -12,6 +12,7 @@ DEPENDS += " \ SRC_URI = " \ git://github.com/charlesfleche/lpd8editor.git \ + file://0001-Remove-Werror-from-CXXFLAGS.patch\ file://lpd8-editor.desktop \ " SRCREV = "5ca6f2b90889893e0633b23ffe0e4a014096656a"