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

Antonio Rojas arojas at archlinux.org
Mon Apr 23 06:36:32 UTC 2018


    Date: Monday, April 23, 2018 @ 06:36:31
  Author: arojas
Revision: 322787

Fix memory leak (FS#58266)

Modified:
  qt5-declarative/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-04-23 06:34:53 UTC (rev 322786)
+++ PKGBUILD	2018-04-23 06:36:31 UTC (rev 322787)
@@ -5,7 +5,7 @@
 pkgname=qt5-declarative
 _qtver=5.10.1
 pkgver=${_qtver/-/}
-pkgrel=3
+pkgrel=4
 arch=('x86_64')
 url='http://qt-project.org/'
 license=('GPL3' 'LGPL3' 'FDL' 'custom')
@@ -18,10 +18,12 @@
 _pkgfqn="${pkgname/5-/}-everywhere-src-${_qtver}"
 source=("http://download.qt.io/official_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz"
         qtbug-65789-2.patch::"https://github.com/qt/qtdeclarative/commit/602a6589.patch"
-        qtbug-67019.patch::"https://github.com/qt/qtdeclarative/commit/b1243b8c.patch")
+        qtbug-67019.patch::"https://github.com/qt/qtdeclarative/commit/b1243b8c.patch"
+        qtdeclarative-memory-leak.patch::"http://code.qt.io/cgit/qt/qtdeclarative.git/patch?id=839f09c6")
 sha256sums=('3af9ed51bce5b5c6f04c4a67a6008f98765ccde897c43fff670621ab70789553'
             'e516e969dcf9520a4e5f05291ffe4baef1a6e499248f342f66c39147ef06a272'
-            'eed0e2617d4d46452acc79438666bab46c0c797ec4cb9ab447037c4176d83aba')
+            'eed0e2617d4d46452acc79438666bab46c0c797ec4cb9ab447037c4176d83aba'
+            '30c320f39b145d133aa165991316af7b82934e367f98aa0aaf6bc84eabb0cea8')
 
 prepare() {
   mkdir -p build
@@ -34,6 +36,9 @@
   # Fix two issues affecting display of SVG images
   patch -Np1 -i ../qtbug-65789-2.patch # https://bugreports.qt.io/browse/QTBUG-65789
   git apply -v ../qtbug-67019.patch    # https://bugreports.qt.io/browse/QTBUG-67019
+
+  # Fix memory leak
+  patch -p1 -i ../qtdeclarative-memory-leak.patch
 }
 
 build() {



More information about the arch-commits mailing list