summaryrefslogtreecommitdiff
path: root/debian/patches
diff options
context:
space:
mode:
authorDmitry Shachnev <mitya57@gmail.com>2016-11-15 14:37:02 +0300
committerDmitry Shachnev <mitya57@gmail.com>2016-11-15 14:37:02 +0300
commit310cd40b5edf8a014bdd81f3b808f654953eb06c (patch)
tree2aaea6a2d2fb1302e26eaef416a0b31392ba06d4 /debian/patches
parent83c19ef276dab723580bbf2d57e74d551ded6a1f (diff)
downloadqtbase-310cd40b5edf8a014bdd81f3b808f654953eb06c.tar.gz
Backport upstream patch to fix build on x32 (fix_build_on_x32.diff).
Diffstat (limited to 'debian/patches')
-rw-r--r--debian/patches/fix_build_on_x32.diff15
-rw-r--r--debian/patches/series1
2 files changed, 16 insertions, 0 deletions
diff --git a/debian/patches/fix_build_on_x32.diff b/debian/patches/fix_build_on_x32.diff
new file mode 100644
index 0000000..e42d952
--- /dev/null
+++ b/debian/patches/fix_build_on_x32.diff
@@ -0,0 +1,15 @@
+Description: fix EGL break on Debian X32
+Origin: upstream, https://code.qt.io/cgit/qt/qtbase.git/commit/?id=92805a0e9c488e47
+Last-Update: 2016-11-15
+
+--- a/src/platformsupport/eglconvenience/qt_egl_p.h
++++ b/src/platformsupport/eglconvenience/qt_egl_p.h
+@@ -83,7 +83,7 @@
+ { return v; }
+ };
+
+-#if Q_PROCESSOR_WORDSIZE > 4
++#if QT_POINTER_SIZE > 4
+ template <>
+ struct QtEglConverter<uintptr_t, uint32_t>
+ {
diff --git a/debian/patches/series b/debian/patches/series
index 9d04087..22dc365 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,6 +1,7 @@
# Backported from upstream
qsettings_simplify_logic.diff
qsettings_XDG_CONFIG_DIRS.diff
+fix_build_on_x32.diff
# Debian specific.
no_dbus_dependency.diff