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

Evangelos Foutras foutrelis at archlinux.org
Sat Oct 26 04:29:19 UTC 2019


    Date: Saturday, October 26, 2019 @ 04:29:18
  Author: foutrelis
Revision: 365774

Fix build with Python 3.8

Modified:
  ldb/trunk/PKGBUILD

----------+
 PKGBUILD |   13 +++++++++++--
 1 file changed, 11 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-10-26 04:28:49 UTC (rev 365773)
+++ PKGBUILD	2019-10-26 04:29:18 UTC (rev 365774)
@@ -10,7 +10,8 @@
 arch=('x86_64')
 url="https://ldb.samba.org/"
 source=(https://samba.org/ftp/${pkgname}/${pkgname}-${pkgver}.tar.gz
-        https://samba.org/ftp/${pkgname}/${pkgname}-${pkgver}.tar.asc)
+        https://samba.org/ftp/${pkgname}/${pkgname}-${pkgver}.tar.asc
+        samba-update-waf-for-py38.patch::https://gitlab.com/samba-team/samba/commit/aabdcc9151.patch)
 license=('GPL3')
 depends=('talloc' 'tevent' 'tdb' 'popt' 'lmdb')
 makedepends=('python' 'cmocka' 'docbook-xsl')
@@ -17,6 +18,13 @@
 optdepends=('python: for python bindings')
 validpgpkeys=('9147A339719518EE9011BCB54793916113084025') # Samba Library Distribution Key <samba-bugs at samba.org> 
 
+prepare() {
+	cd ${pkgname}-${pkgver}
+
+	# https://bugzilla.samba.org/show_bug.cgi?id=13960
+	patch -Np1 -i ../samba-update-waf-for-py38.patch
+}
+
 build() {
 	cd ${pkgname}-${pkgver}
 
@@ -36,4 +44,5 @@
 	make DESTDIR="${pkgdir}/" install
 }
 md5sums=('339a41ac9efaec680e6d1469dd9aa35b'
-         'SKIP')
+         'SKIP'
+         '74e627915f28a848e046d37055d86f3b')



More information about the arch-commits mailing list