Date: Saturday, November 17, 2018 @ 17:55:31
  Author: foutrelis
Revision: 408596

Fix build with Qt 5.11

Modified:
  goldendict/trunk/PKGBUILD

----------+
 PKGBUILD |    6 ++++++
 1 file changed, 6 insertions(+)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2018-11-17 17:41:26 UTC (rev 408595)
+++ PKGBUILD    2018-11-17 17:55:31 UTC (rev 408596)
@@ -13,12 +13,18 @@
 provides=('stardict')
 changelog=$pkgname.changelog
 
source=($pkgname-$pkgver.tar.gz::https://github.com/$pkgname/$pkgname/archive/1.5.0-RC2.tar.gz
+        
goldendict-qt-5.11-1.patch::"https://github.com/goldendict/goldendict/commit/3d4a468b.patch";
+        
goldendict-qt-5.11-2.patch::"https://github.com/goldendict/goldendict/commit/a6596780.patch";
         
goldendict-ffmpeg4.patch::"https://github.com/goldendict/goldendict/commit/03bbe01b.patch";)
 sha256sums=('bccee0a3d3902f8fa31e439e220a405065fff774e5f8c581be2b0743d3f83fde'
+            'dbcd8f40c8a6d35bf00fdb80cd559e22068ea4a57633d3feed711babae8af8d4'
+            '628eeec6b50a1f027347f799c2b06e01300412b94452bd72a611b3735e62bb98'
             'c09649081dff26b7a4eb5d6828a077089eaedf0d8cc392d5bb8232fc64e2537f')
 
 prepare() {
   cd $pkgname-1.5.0-RC2
+  patch -p1 -i ../goldendict-qt-5.11-1.patch # Fix build with Qt 5.11
+  patch -p1 -i ../goldendict-qt-5.11-2.patch # Follow-up to the above
   patch -p1 -i ../goldendict-ffmpeg4.patch # Fix build with ffmpeg 4
 }
 

Reply via email to