From bdc9e49f390332d8709d70c575229da91878351b Mon Sep 17 00:00:00 2001 From: John Date: Mon, 18 Nov 2019 02:21:18 +0100 Subject: [PATCH] qxmledit: remove Werror to fix build with qt5.13+ --- srcpkgs/qxmledit/template | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/srcpkgs/qxmledit/template b/srcpkgs/qxmledit/template index 6c68563f0a..71605cf73d 100644 --- a/srcpkgs/qxmledit/template +++ b/srcpkgs/qxmledit/template @@ -23,6 +23,13 @@ if [ "$CROSS_BUILD" ]; then qt5-svg-devel qt5-xmlpatterns-devel" fi +post_patch() { + vsed -e '/Werror/d' -i src/QXmlEdit.pro \ + -i src/QXmlEditWidget.pro \ + -i test/test.pro -i singleapp/app.pro \ + -i src/sessions/QXmlEditSessions.pro +} + post_install() { vlicense external/qwtplot3d/license.txt vmkdir usr/share/appdata