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

Felix Yan felixonmars at archlinux.org
Wed Jul 15 11:25:54 UTC 2020


    Date: Wednesday, July 15, 2020 @ 11:25:54
  Author: felixonmars
Revision: 391932

upgpkg: python 3.8.4-1: Add a workaround (https://bugs.python.org/issue41302)

Modified:
  python/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-07-15 09:27:17 UTC (rev 391931)
+++ PKGBUILD	2020-07-15 11:25:54 UTC (rev 391932)
@@ -26,6 +26,9 @@
 prepare() {
   cd Python-${pkgver}
 
+  # Fix for --with-system-libmpdec with mpdecimal 2.5
+  sed -i '/#include "mpdecimal.h"/a #define UNUSED __attribute__((unused))' Modules/_decimal/_decimal.c
+
   # https://bugs.python.org/issue34587
   sed -i -e "s|testCongestion|disabled_&|" Lib/test/test_socket.py
 



More information about the arch-commits mailing list