summaryrefslogtreecommitdiff
path: root/debian/patches/gnukfreebsd_cloexec.diff
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/gnukfreebsd_cloexec.diff')
-rw-r--r--debian/patches/gnukfreebsd_cloexec.diff22
1 files changed, 12 insertions, 10 deletions
diff --git a/debian/patches/gnukfreebsd_cloexec.diff b/debian/patches/gnukfreebsd_cloexec.diff
index 6ff7c63..e97273a 100644
--- a/debian/patches/gnukfreebsd_cloexec.diff
+++ b/debian/patches/gnukfreebsd_cloexec.diff
@@ -1,14 +1,16 @@
Description: catch linker warnings in cloexec test
Author: Dmitry Shachnev <mitya57@debian.org>
-Forwarded: https://codereview.qt-project.org/163214
+Forwarded: https://codereview.qt-project.org/163214 (rejected)
Bug: https://bugs.debian.org/827935
-Last-Update: 2016-06-23
+Last-Update: 2017-09-23
---- a/config.tests/unix/cloexec/cloexec.pro
-+++ b/config.tests/unix/cloexec/cloexec.pro
-@@ -1,3 +1,5 @@
- SOURCES = cloexec.cpp
- CONFIG -= qt
- QT =
-+
-+QMAKE_LFLAGS += -Wl,--fatal-warnings
+--- a/src/corelib/configure.json
++++ b/src/corelib/configure.json
+@@ -236,6 +236,7 @@
+ "label": "O_CLOEXEC",
+ "type": "compile",
+ "test": {
++ "qmake": "QMAKE_LFLAGS += -Wl,--fatal-warnings",
+ "head": "#define _GNU_SOURCE 1",
+ "include": [ "sys/types.h", "sys/socket.h", "fcntl.h", "unistd.h" ],
+ "main": [