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

Evangelos Foutras foutrelis at gemini.archlinux.org
Sun Apr 24 06:20:34 UTC 2022


    Date: Sunday, April 24, 2022 @ 06:20:33
  Author: foutrelis
Revision: 443862

upgpkg: zlib 1:1.2.12-2: fix CRC issue on some CPUs (FS#74371)

Modified:
  zlib/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-04-23 22:05:45 UTC (rev 443861)
+++ PKGBUILD	2022-04-24 06:20:33 UTC (rev 443862)
@@ -4,20 +4,25 @@
 pkgname=(zlib minizip)
 epoch=1
 pkgver=1.2.12
-pkgrel=1
+pkgrel=2
 arch=('x86_64')
 license=('custom')
 url="https://www.zlib.net/"
 depends=('glibc')
 options=('staticlibs')  # needed by binutils testsuite
-source=("https://zlib.net/zlib-${pkgver}.tar.gz"{,.asc})
+source=("https://zlib.net/zlib-${pkgver}.tar.gz"{,.asc}
+        $pkgname-handle-incorrect-crc-inputs.patch::https://github.com/madler/zlib/commit/ec3df00224d4.patch)
 sha256sums=('91844808532e5ce316b3c010929493c0244f3d37593afd6de04f71821d5136d9'
-            'SKIP')
+            'SKIP'
+            '00e023c3ccb7b895ebb3421970b1b77f8a527b40190f35050b79fd0e817a7b0c')
 validpgpkeys=('5ED46A6721D365587791E2AA783FCD8E58BCAFBA')
 
 prepare() {
 	cd "${srcdir}/zlib-$pkgver"
 	grep -A 24 '^  Copyright' zlib.h > LICENSE
+
+	# https://github.com/madler/zlib/issues/613
+	patch -Np1 -i ../$pkgname-handle-incorrect-crc-inputs.patch
 }
 
 build() {



More information about the arch-commits mailing list