summaryrefslogtreecommitdiff
path: root/user/qt5-qtdeclarative/broken-bgra-be.patch
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-09 19:48:38 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-09 19:48:38 -0500
commitf1fc0e6ecae7dc68c91361f3836b8e03b8cd169c (patch)
tree034e317ec6085e521ba46bf7a07d15d0c8fb9943 /user/qt5-qtdeclarative/broken-bgra-be.patch
parent00add29283170ea81e0e6631a33a38975fd898ea (diff)
downloadpackages-f1fc0e6ecae7dc68c91361f3836b8e03b8cd169c.tar.gz
packages-f1fc0e6ecae7dc68c91361f3836b8e03b8cd169c.tar.bz2
packages-f1fc0e6ecae7dc68c91361f3836b8e03b8cd169c.tar.xz
packages-f1fc0e6ecae7dc68c91361f3836b8e03b8cd169c.zip
user/qt5-qtdeclarative: new package
Diffstat (limited to 'user/qt5-qtdeclarative/broken-bgra-be.patch')
-rw-r--r--user/qt5-qtdeclarative/broken-bgra-be.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/user/qt5-qtdeclarative/broken-bgra-be.patch b/user/qt5-qtdeclarative/broken-bgra-be.patch
new file mode 100644
index 000000000..68cd17d77
--- /dev/null
+++ b/user/qt5-qtdeclarative/broken-bgra-be.patch
@@ -0,0 +1,11 @@
+--- qtdeclarative-opensource-src-5.9.3/src/quick/scenegraph/util/qsgatlastexture.cpp.old 2017-11-17 12:15:09.000000000 -0600
++++ qtdeclarative-opensource-src-5.9.3/src/quick/scenegraph/util/qsgatlastexture.cpp 2018-07-02 21:00:34.620000000 -0500
+@@ -147,6 +147,8 @@
+ && (deviceName->compare(QLatin1String("samsung SM-T211"), Qt::CaseInsensitive) == 0
+ || deviceName->compare(QLatin1String("samsung SM-T210"), Qt::CaseInsensitive) == 0
+ || deviceName->compare(QLatin1String("samsung SM-T215"), Qt::CaseInsensitive) == 0);
++#elif Q_BYTE_ORDER == Q_BIG_ENDIAN
++ static bool wrongfullyReportsBgra8888Support = true;
+ #else
+ static bool wrongfullyReportsBgra8888Support = false;
+ // The Raspberry Pi (both 1 and 2) GPU refuses framebuffers with BGRA color attachments.