sonic-visualiser: fix build

- deprecated warnings were treated as errors
- remove unnecessary patch
This commit is contained in:
newbluemoon 2020-05-15 18:50:53 +02:00 committed by Piotr
parent 66b4fc4791
commit b672d0b8e1
2 changed files with 2 additions and 12 deletions

View file

@ -1,12 +0,0 @@
diff --git a/svcore/base/RangeMapper.h b/svcore/base/RangeMapper.h
index dd8ba94..4cdd924 100644
--- svcore/base/RangeMapper.h
+++ svcore/base/RangeMapper.h
#ifndef SV_RANGE_MAPPER_H
#define SV_RANGE_MAPPER_H
-#include <QString>
+#include <qt5/QtCore/qstring.h>
#include "Debug.h"
#include <map>

View file

@ -17,6 +17,8 @@ changelog="https://code.soundsoftware.ac.uk/projects/sonic-visualiser/repository
distfiles="https://code.soundsoftware.ac.uk/attachments/download/2607/${pkgname}-${version}.tar.gz"
checksum=e6e9dbec686c9dc94d32dff311eb0f6b44b63d3643285b3d8d908dfb9b22c790
CXXFLAGS+=" -DQT_NO_DEPRECATED_WARNINGS"
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
makedepends+=" libatomic-devel"
fi