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

Jelle van der Waa jelle at archlinux.org
Tue Jul 7 16:16:52 UTC 2020


    Date: Tuesday, July 7, 2020 @ 16:16:52
  Author: jelle
Revision: 659199

Add GCC 10 patch

Modified:
  i3lock/trunk/PKGBUILD

----------+
 PKGBUILD |    9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-07-07 16:16:40 UTC (rev 659198)
+++ PKGBUILD	2020-07-07 16:16:52 UTC (rev 659199)
@@ -13,13 +13,18 @@
 depends=('xcb-util-image' 'xcb-util-xrm' 'libev' 'cairo' 'libxkbcommon-x11' 'pam')
 options=('docs')
 backup=('etc/pam.d/i3lock')
-source=(https://i3wm.org/i3lock/$pkgname-$pkgver.tar.bz2{,.asc})
+source=(https://i3wm.org/i3lock/$pkgname-$pkgver.tar.bz2{,.asc}
+        gcc10.patch::https://github.com/i3/i3lock/commit/3daf34bb03841f8e201ceb14b7124945d4c18bb8.patch)
 sha512sums=('84f1558368381bcad9a64f41ab6134a6614dea453d1ee5ecfe886185b9e1baebeeca446c4635158deb8dae5b25c09d47d3990239d76c44e5325ca5bfaad9b2ad'
-            'SKIP')
+            'SKIP'
+            '0e690688f827491080d44004b07ecd66a3d2930db1496fe7411af504a1aa6ca3c354a43359c575579ed6007c586afc6a4e48c051090ef2ee4af32a003c91d8c7')
 validpgpkeys=('424E14D703E7C6D43D9D6F364E7160ED4AC8EE1D') # Michael Stapelberg
 
 prepare() {
   cd ${pkgname}-${pkgver}
+
+  patch -Np1 -i ${srcdir}/gcc10.patch
+
   # Fix ticket FS#31544, sed line taken from gentoo
   sed -i -e 's:login:system-auth:' pam/i3lock
   autoreconf -fiv



More information about the arch-commits mailing list