[SCM] qtbase packaging branch, ubuntu, updated. ubuntu/5.4.2+dfsg-2ubuntu1-40-g207c1f2

Timo Jyrinki timo at moszumanska.debian.org
Mon Jul 6 15:11:45 UTC 2015


Gitweb-URL: http://git.debian.org/?p=pkg-kde/qt/qtbase.git;a=commitdiff;h=207c1f2

The following commit has been merged in the ubuntu branch:
commit 207c1f21d7d1375c25b4665873e98a9c62bf7527
Author: Timo Jyrinki <timo.jyrinki at canonical.com>
Date:   Mon Jul 6 15:07:37 2015 +0000

    Add debian/patches/Fix-compile-error-on-big-endian.patch
---
 debian/changelog                                   |  2 ++
 .../patches/Fix-compile-error-on-big-endian.patch  | 28 ++++++++++++++++++++++
 debian/patches/series                              |  1 +
 3 files changed, 31 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 8a4ab79..1f7fe0e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -8,6 +8,8 @@ qtbase-opensource-src (5.5.0-0ubuntu1) UNRELEASED; urgency=medium
     - Correct-typo-in-the-Gujarati-openType-identififer.patch
   * Rebase enable-tests.patch
   * Build depend on GStreamer 1.0 and add a configure option for it.
+  * debian/patches/Fix-compile-error-on-big-endian.patch:
+    - Fix FTBFS on powerpc.
 
  -- Timo Jyrinki <timo-jyrinki at ubuntu.com>  Tue, 24 Mar 2015 13:56:14 +0000
 
diff --git a/debian/patches/Fix-compile-error-on-big-endian.patch b/debian/patches/Fix-compile-error-on-big-endian.patch
new file mode 100644
index 0000000..d8bcae0
--- /dev/null
+++ b/debian/patches/Fix-compile-error-on-big-endian.patch
@@ -0,0 +1,28 @@
+From 1a8b161da80b93d122854c854c95bf9f7d326cdc Mon Sep 17 00:00:00 2001
+From: Allan Sandfeld Jensen <allan.jensen at theqtcompany.com>
+Date: Fri, 3 Jul 2015 14:19:02 +0200
+Subject: [PATCH] Fix compile error on big endian
+
+DestFormat is not defined here but should be Format_RGBX8888
+
+Change-Id: Ie33989a6fc31650434281a6b7b0f4806524268af
+---
+ src/gui/image/qimage_conversions.cpp | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/gui/image/qimage_conversions.cpp b/src/gui/image/qimage_conversions.cpp
+index e0ca2c5..02f32aa 100644
+--- a/src/gui/image/qimage_conversions.cpp
++++ b/src/gui/image/qimage_conversions.cpp
+@@ -1103,7 +1103,7 @@ static bool mask_alpha_converter_rgbx_inplace(QImageData *data, Qt::ImageConvers
+         }
+         rgb_data += pad;
+     }
+-    data->format = DestFormat;
++    data->format = QImage::Format_RGBX8888;
+     return true;
+ #endif
+ }
+-- 
+2.1.4
+
diff --git a/debian/patches/series b/debian/patches/series
index 1bcb95c..6e04295 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -15,3 +15,4 @@ Add-workaround-for-GL-on-Android-emulator.patch
 enable-tests.patch
 qopenglframebufferobject_powervrworkaround.patch
 disable-generic-plugin-when-others-available.patch
+Fix-compile-error-on-big-endian.patch

-- 
qtbase packaging



More information about the pkg-kde-commits mailing list