summaryrefslogtreecommitdiff
path: root/debian/patches
diff options
context:
space:
mode:
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