aboutsummaryrefslogtreecommitdiffstats
path: root/community/signon-plugin-oauth2/disable-werror.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/signon-plugin-oauth2/disable-werror.patch')
-rw-r--r--community/signon-plugin-oauth2/disable-werror.patch19
1 files changed, 13 insertions, 6 deletions
diff --git a/community/signon-plugin-oauth2/disable-werror.patch b/community/signon-plugin-oauth2/disable-werror.patch
index 484eddbef9..48bf93058d 100644
--- a/community/signon-plugin-oauth2/disable-werror.patch
+++ b/community/signon-plugin-oauth2/disable-werror.patch
@@ -1,11 +1,18 @@
---- signon-plugin-oauth2-VERSION_0.24.orig/common-project-config.pri
-+++ signon-plugin-oauth2-VERSION_0.24/common-project-config.pri
-@@ -18,7 +18,7 @@
+Upstream sets -Werror but is full of warnings which then block the build.
+Disable it to get it compiling
+
+Upstream issue: https://gitlab.com/accounts-sso/signon-plugin-oauth2/-/issues/15
+
+diff --git a/common-project-config.pri b/common-project-config.pri
+index e149d90..557dc4d 100644
+--- a/common-project-config.pri
++++ b/common-project-config.pri
+@@ -19,8 +19,6 @@ UI_SOURCES_DIR = ui/src
+
QMAKE_CXXFLAGS += -fno-exceptions \
-fno-rtti
- # we don't like warnings...
--QMAKE_CXXFLAGS += -Werror
-+#QMAKE_CXXFLAGS += -Werror
+-# we don't like warnings...
+-unix:QMAKE_CXXFLAGS += -Werror
TOP_SRC_DIR = $$PWD