summarylogtreecommitdiffstats
path: root/permissive.patch
diff options
context:
space:
mode:
authorharre2020-02-09 23:33:08 +0100
committerharre2020-02-09 23:33:08 +0100
commit7e32de7db7a7e5036a905186f66a78502ad06c9f (patch)
treed953bedecc0c8a65b1bd5763fbbc3636cf49692f /permissive.patch
parentb7a025a3e213505df7ac35e67ad7f2f5e777c436 (diff)
downloadaur-7e32de7db7a7e5036a905186f66a78502ad06c9f.tar.gz
Modify permissive patch to work for updated file
Diffstat (limited to 'permissive.patch')
-rw-r--r--permissive.patch14
1 files changed, 8 insertions, 6 deletions
diff --git a/permissive.patch b/permissive.patch
index c6ab799377b..61ea5c88902 100644
--- a/permissive.patch
+++ b/permissive.patch
@@ -1,13 +1,15 @@
diff --git a/oscar/oscar.pro b/oscar/oscar.pro
-index cd228b00..18199837 100644
+index 24a68f10..dc223c87 100644
--- a/oscar/oscar.pro
+++ b/oscar/oscar.pro
-@@ -471,6 +471,8 @@ QMAKE_CXXFLAGS += -Werror
+@@ -488,6 +488,10 @@ QMAKE_CXXFLAGS += -Werror
+ # Make deprecation warnings just warnings
QMAKE_CFLAGS += -Wno-error=deprecated-declarations
QMAKE_CXXFLAGS += -Wno-error=deprecated-declarations
-
++
+# Make g++ more permissive
+QMAKE_CXXFLAGS += -fpermissive
-
- # Create a debug GUI build by adding "CONFIG+=memdebug" to your qmake command
- memdebug {
++
+ lessThan(QT_MAJOR_VERSION,5)|lessThan(QT_MINOR_VERSION,9) {
+ QMAKE_CFLAGS += -Wno-error=strict-aliasing
+ QMAKE_CXXFLAGS += -Wno-error=strict-aliasing