[arch-commits] Commit in qt5-script/trunk (PKGBUILD)

Antonio Rojas arojas at archlinux.org
Wed May 23 18:00:04 UTC 2018


    Date: Wednesday, May 23, 2018 @ 18:00:04
  Author: arojas
Revision: 324904

Fix arithmetic errors with GCC 8

Modified:
  qt5-script/trunk/PKGBUILD

----------+
 PKGBUILD |   11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-05-23 14:07:46 UTC (rev 324903)
+++ PKGBUILD	2018-05-23 18:00:04 UTC (rev 324904)
@@ -5,7 +5,7 @@
 pkgname=qt5-script
 _qtver=5.11.0
 pkgver=${_qtver/-/}
-pkgrel=1
+pkgrel=2
 arch=('x86_64')
 url='http://qt-project.org/'
 license=('GPL3' 'LGPL3' 'FDL' 'custom')
@@ -14,11 +14,16 @@
 makedepends=()
 groups=('qt' 'qt5')
 _pkgfqn="${pkgname/5-/}-everywhere-src-${_qtver}"
-source=("http://download.qt.io/official_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz")
-sha256sums=('25926ae733b31baac7af51f489ad26570d4f4f02ad4892a4a82babae5f5168c5')
+source=("http://download.qt.io/official_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz"
+        qt5-script-gcc8.patch::"http://code.qt.io/cgit/qt/qtscript.git/patch/?id=9d1a9073")
+sha256sums=('25926ae733b31baac7af51f489ad26570d4f4f02ad4892a4a82babae5f5168c5'
+            '8b7c32b9a2810ff3feca4c6fda94f7d76a81402a202c6c2dbe4830c372c5acf0')
 
 prepare() {
   mkdir -p build
+
+  cd ${_pkgfqn}
+  patch -p1 -i ../qt5-script-gcc8.patch # Fix arithmetic errors with GCC 8
 }
 
 build() {



More information about the arch-commits mailing list