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

Felix Yan felixonmars at archlinux.org
Tue Nov 10 07:55:51 UTC 2020


    Date: Tuesday, November 10, 2020 @ 07:55:51
  Author: felixonmars
Revision: 400041

add workaround for python 3.9

Modified:
  zbar/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-11-10 07:03:56 UTC (rev 400040)
+++ PKGBUILD	2020-11-10 07:55:51 UTC (rev 400041)
@@ -24,6 +24,9 @@
 prepare() {
   cd zbar-$pkgver
   autoreconf -vfi
+
+  # Removed in Python 3.9. Ignored in Python 3.0+ anyway.
+  sed -i '/tp_print/d' python/enum.c
 }
 
 build() {



More information about the arch-commits mailing list