lpd8editor: workaround build error for lpd8editor with alsa-lib >= 1.1.9

Send a Heads up to the developer [1]

[1] https://github.com/charlesfleche/lpd8editor/issues/36

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
This commit is contained in:
Andreas Müller
2019-05-26 01:35:30 +02:00
parent 75f06ce05f
commit 831eee9100
2 changed files with 35 additions and 0 deletions

View File

@@ -0,0 +1,34 @@
From 083bbdcab900d1d3b101ee2adb9eff6f15aa56a2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@gmail.com>
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 <alsa/asoundlib.h> instead.
| ^~~~~~~
| In file included from ../../git/src/midiconnectionsmodel.h:7,
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
---
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

View File

@@ -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"