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

Felix Yan felixonmars at archlinux.org
Mon Aug 3 12:33:50 UTC 2020


    Date: Monday, August 3, 2020 @ 12:33:50
  Author: felixonmars
Revision: 393091

upgpkg: libx11 1.6.10-2: add a patch to fix xim regression (FS#67461)

Modified:
  libx11/trunk/PKGBUILD

----------+
 PKGBUILD |   13 ++++++++++---
 1 file changed, 10 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-08-03 11:29:01 UTC (rev 393090)
+++ PKGBUILD	2020-08-03 12:33:50 UTC (rev 393091)
@@ -3,7 +3,7 @@
 
 pkgname=libx11
 pkgver=1.6.10
-pkgrel=1
+pkgrel=2
 pkgdesc="X11 client-side library"
 arch=(x86_64)
 url="https://xorg.freedesktop.org/"
@@ -12,14 +12,21 @@
 depends=('libxcb' 'xorgproto')
 makedepends=('xorg-util-macros' 'xtrans')
 license=('custom')
-source=(${url}/releases/individual/lib/libX11-${pkgver}.tar.bz2{,.sig})
+source=(${url}/releases/individual/lib/libX11-${pkgver}.tar.bz2{,.sig}
+        libx11-xim-crash.patch::https://gitlab.freedesktop.org/xorg/lib/libx11/-/commit/93fce3f4e79cbc737d6468a4f68ba3de1b83953b.patch)
 sha512sums=('ad384d8896fbe587f7fd99b0d3cc56fac6e2facbab52fa99174200d06b19dd163a483c998acf3834b3a4a3aa4de0dbbe13919a1c80e6797afe467c7075b403ff'
-            'SKIP')
+            'SKIP'
+            '4b43ea287200f0a078d1d446909d075d4bff84c5325a90a897b6473b498d044d8ba951adada247d5a3660147e5f6c3346be2078e91ab7f770964404fd76090c9')
 validpgpkeys=('4A193C06D35E7C670FA4EF0BA2FB9E081F2D130E') # Alan Coopersmith <alanc at freedesktop.org>
 validpgpkeys+=('C41C985FDCF1E5364576638B687393EE37D128F8') # Matthieu Herrb <matthieu.herrb at laas.fr>
 validpgpkeys+=('3BB639E56F861FA2E86505690FDD682D974CA72A') # Matt Turner <mattst88 at gmail.com>
 validpgpkeys+=('995ED5C8A6138EB0961F18474C09DD83CAAA50B2') # Adam Jackson <ajax at nwnk.net>
 
+prepare() {
+  cd "${srcdir}/libX11-${pkgver}"
+  patch -p1 -i ../libx11-xim-crash.patch
+}
+
 build() {
   cd "${srcdir}/libX11-${pkgver}"
   ./configure --prefix=/usr --disable-static --disable-xf86bigfont


More information about the arch-commits mailing list