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

Anatol Pomozov anatolik at archlinux.org
Thu Oct 31 16:28:30 UTC 2019


    Date: Thursday, October 31, 2019 @ 16:28:29
  Author: anatolik
Revision: 366221

upgpkg: qemu 4.1.0-3

FS#64150 Pick upstream fix for image corruption problem

Modified:
  qemu/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-10-31 15:11:37 UTC (rev 366220)
+++ PKGBUILD	2019-10-31 16:28:29 UTC (rev 366221)
@@ -6,7 +6,7 @@
          qemu-block-{iscsi,rbd,gluster} qemu-guest-agent)
 pkgdesc="A generic and open source machine emulator and virtualizer"
 pkgver=4.1.0
-pkgrel=2
+pkgrel=3
 arch=(x86_64)
 license=(GPL2 LGPL2.1)
 url="https://wiki.qemu.org/"
@@ -16,11 +16,15 @@
 makedepends=(spice-protocol python2 ceph libiscsi glusterfs python-sphinx)
 source=(https://download.qemu.org/qemu-$pkgver.tar.xz{,.sig}
         qemu-ga.service
-        65-kvm.rules)
+        65-kvm.rules
+        fix_image_corruption_1.patch::"https://git.qemu.org/?p=qemu.git;a=patch;h=944f3d5dd216fcd8cb007eddd4f82dced0a15b3d"
+        fix_image_corruption_2.patch::"https://git.qemu.org/?p=qemu.git;a=patch;h=5e9785505210e2477e590e61b1ab100d0ec22b01")
 sha512sums=('82fd51702a7b9b1b00b2f1bd3b4a832b80249018dbba1add0b0a73e7d4bee452afd45574b4d8df7ce4477d8711f3bda4ca072a1a6de25895c93eb21cf78fc4b2'
             'SKIP'
             '269c0f0bacbd06a3d817fde02dce26c99d9f55c9e3b74bb710bd7e5cdde7a66b904d2eb794c8a605bf9305e4e3dee261a6e7d4ec9d9134144754914039f176e4'
-            'bdf05f99407491e27a03aaf845b7cc8acfa2e0e59968236f10ffc905e5e3d5e8569df496fd71c887da2b5b8d1902494520c7da2d3a8258f7fd93a881dd610c99')
+            'bdf05f99407491e27a03aaf845b7cc8acfa2e0e59968236f10ffc905e5e3d5e8569df496fd71c887da2b5b8d1902494520c7da2d3a8258f7fd93a881dd610c99'
+            '5cb7967aa2957919df788a92aefeab0e7aeb6e13ef89c7ab79f6a2b18fcb871376aa1fdf2d821560af6f41d3a78dcd3e0c9c0f199a57cc94b7f138e94d7103a0'
+            '1cec5950692859c717b0d41fb7baf6b23f638086f9dccaddc3c96d835184ab832393592156a7c25f342f45059071e75a36360f4a6799f7cf74b6a548bdbe66d2')
 validpgpkeys=('CEACC9E15534EBABB82D3FA03353C9CEF108B584')
 
 case $CARCH in
@@ -34,6 +38,10 @@
 
   cd ${pkgname}-${pkgver}
   #sed -i 's/vte-2\.90/vte-2.91/g' configure
+
+  # https://bugs.archlinux.org/task/64150
+  patch -p1 < ../fix_image_corruption_1.patch
+  patch -p1 < ../fix_image_corruption_2.patch
 }
 
 build() {



More information about the arch-commits mailing list