summaryrefslogtreecommitdiff
path: root/debian/patches
diff options
context:
space:
mode:
authorDmitry Shachnev <mitya57@gmail.com>2017-02-10 18:03:03 +0300
committerDmitry Shachnev <mitya57@gmail.com>2017-02-10 18:03:03 +0300
commit3ae772d6dc2f3b92491caeeb67f7f6fb21cf6bc2 (patch)
tree14ce46cdcfefb970e583fd390f7dda531464f15a /debian/patches
parenteec3263db3be3b1554c5e5f3551db938c5de6248 (diff)
downloadqtbase-3ae772d6dc2f3b92491caeeb67f7f6fb21cf6bc2.tar.gz
Add a patch to fix compilation error on Hurd.
Diffstat (limited to 'debian/patches')
-rw-r--r--debian/patches/hurd_tilde.diff18
-rw-r--r--debian/patches/series1
2 files changed, 19 insertions, 0 deletions
diff --git a/debian/patches/hurd_tilde.diff b/debian/patches/hurd_tilde.diff
new file mode 100644
index 0000000..062098e
--- /dev/null
+++ b/debian/patches/hurd_tilde.diff
@@ -0,0 +1,18 @@
+Description: undef TILDE to fix compilation on Hurd
+Author: Dmitry Shachnev <mitya57@debian.org>
+Forwarded: https://codereview.qt-project.org/185255
+Last-Update: 2017-02-10
+
+--- a/src/gui/text/qcssparser_p.h
++++ b/src/gui/text/qcssparser_p.h
+@@ -75,6 +75,10 @@
+ #if defined(Q_OS_INTEGRITY)
+ # undef Value
+ #endif
++// Hurd has #define TILDE 0x00080000 from <sys/ioctl.h>
++#if defined(TILDE)
++# undef TILDE
++#endif
+
+ #define QT_CSS_DECLARE_TYPEINFO(Class, Type) \
+ } /* namespace QCss */ \
diff --git a/debian/patches/series b/debian/patches/series
index 647c5a4..bb59fda 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -4,6 +4,7 @@ qsettings_XDG_CONFIG_DIRS.diff
# Forwarded upstream
qvncscreen_semicolon.diff
+hurd_tilde.diff
# Debian specific.
no_dbus_dependency.diff