From 3ae772d6dc2f3b92491caeeb67f7f6fb21cf6bc2 Mon Sep 17 00:00:00 2001 From: Dmitry Shachnev Date: Fri, 10 Feb 2017 18:03:03 +0300 Subject: Add a patch to fix compilation error on Hurd. --- debian/patches/hurd_tilde.diff | 18 ++++++++++++++++++ debian/patches/series | 1 + 2 files changed, 19 insertions(+) create mode 100644 debian/patches/hurd_tilde.diff (limited to 'debian/patches') 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 +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 ++#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 -- cgit v1.2.3