summarylogtreecommitdiffstats
path: root/fix-build-error.patch
diff options
context:
space:
mode:
authorVáclav Kubernát2023-11-28 13:30:03 +0100
committerVáclav Kubernát2023-11-28 13:30:03 +0100
commit716ec31b305fcdf19ada332abfaba06475c4f203 (patch)
tree8667afa5d40ef78fe6c2dfc1369dd429e34555c6 /fix-build-error.patch
downloadaur-qt5-opcua.tar.gz
Initial commit
Diffstat (limited to 'fix-build-error.patch')
-rw-r--r--fix-build-error.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/fix-build-error.patch b/fix-build-error.patch
new file mode 100644
index 000000000000..5c44a55e567e
--- /dev/null
+++ b/fix-build-error.patch
@@ -0,0 +1,13 @@
+diff --git a/src/3rdparty/open62541.pri b/src/3rdparty/open62541.pri
+index 011fb8b8..7841eec4 100644
+--- a/src/3rdparty/open62541.pri
++++ b/src/3rdparty/open62541.pri
+@@ -8,7 +8,7 @@ win32-g++: LIBS += -lws2_32
+ win32-msvc|winrt: {
+ SOURCES += $$OPEN62541_SOURCES
+ } else {
+- OPEN62541_CFLAGS += -Wno-unused-parameter -Wno-unused-function -Wno-format -Wno-strict-aliasing -Wno-unused-result -std=c99
++ OPEN62541_CFLAGS += -Wno-unused-parameter -Wno-unused-function -Wno-strict-aliasing -Wno-unused-result -std=c99
+
+ # The open62541 source code produces lots of warnings.
+ # This custom compiler will disable these warnings just for open62541.c