diff options
author | fanquake <fanquake@gmail.com> | 2020-09-15 21:36:01 +0800 |
---|---|---|
committer | fanquake <fanquake@gmail.com> | 2020-09-15 21:48:59 +0800 |
commit | f07fb5a55e2d5d87f288c988a24ae8b9e3f827a1 (patch) | |
tree | c3f7f62886fac5861c6a1f333f4a498d85c224db /depends/patches | |
parent | 48a9968e508581e726feefe34e3bc0bf4a0b61ed (diff) |
build: patch qt libpng to fix powerpc build
This is an alternative to #19751 that fixes the build without requiring
splitting out libpng. This patch can be dropped once we are building qt
5.12.0 or later.
Diffstat (limited to 'depends/patches')
-rw-r--r-- | depends/patches/qt/fix_powerpc_libpng.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/depends/patches/qt/fix_powerpc_libpng.patch b/depends/patches/qt/fix_powerpc_libpng.patch new file mode 100644 index 0000000000..d37b6c7776 --- /dev/null +++ b/depends/patches/qt/fix_powerpc_libpng.patch @@ -0,0 +1,23 @@ +commit 6f9feb773a43c5abfa3455da2e324180e789285b +Author: fanquake <fanquake@gmail.com> +Date: Tue Sep 15 21:44:31 2020 +0800 + + Fix PowerPC build of libpng + + See https://bugreports.qt.io/browse/QTBUG-66388. + + Can be dropped when we are building qt 5.12.0 or later. + +diff --git a/qtbase/src/3rdparty/libpng/libpng.pro b/qtbase/src/3rdparty/libpng/libpng.pro +index 577b61d8..a2f56669 100644 +--- a/qtbase/src/3rdparty/libpng/libpng.pro ++++ b/qtbase/src/3rdparty/libpng/libpng.pro +@@ -10,7 +10,7 @@ MODULE_INCLUDEPATH = $$PWD + + load(qt_helper_lib) + +-DEFINES += PNG_ARM_NEON_OPT=0 ++DEFINES += PNG_ARM_NEON_OPT=0 PNG_POWERPC_VSX_OPT=0 + SOURCES += \ + png.c \ + pngerror.c \ |