diff options
author | Matt Housh <jaeger@crux.ninja> | 2020-09-07 17:34:42 -0500 |
---|---|---|
committer | Matt Housh <jaeger@crux.ninja> | 2020-09-07 17:34:42 -0500 |
commit | 767370ef7847c4f15888605bc802ea3d1886c4b8 (patch) | |
tree | ec64b44857209b044f0b41b13411b98eedd14694 /xorg-xcb-proto | |
parent | b56ab0c0671bf510537fca733f0de3e27a7fad65 (diff) | |
download | xorg-767370ef7847c4f15888605bc802ea3d1886c4b8.tar.gz xorg-767370ef7847c4f15888605bc802ea3d1886c4b8.tar.xz |
xorg-xcb-proto: added python 3.9 gcd patch
Diffstat (limited to 'xorg-xcb-proto')
-rw-r--r-- | xorg-xcb-proto/.signature | 5 | ||||
-rw-r--r-- | xorg-xcb-proto/Pkgfile | 7 | ||||
-rw-r--r-- | xorg-xcb-proto/python-gcd.patch | 12 |
3 files changed, 20 insertions, 4 deletions
diff --git a/xorg-xcb-proto/.signature b/xorg-xcb-proto/.signature index d338f52a..e4746185 100644 --- a/xorg-xcb-proto/.signature +++ b/xorg-xcb-proto/.signature @@ -1,5 +1,6 @@ untrusted comment: verify with /etc/ports/xorg.pub -RWTSGWF5Q7TndF8lS8VmFhq1YAVYcVNMKP/ra0edDEvjGSxAYnXpss1LOOaLPC2/r7v1kL6gSPo+GiAW5/ewGnzf7R0w10g3eAE= -SHA256 (Pkgfile) = a18e60a84672cfeae39907054a99d95d50f83fafebd8efa7c82be59746c6e523 +RWTSGWF5Q7TndLw0vOdMYWvTHQRI8O2JDs95E28V5rTqN2BATHiKTIpAjUxIpukvzHx+iQPyiydjgTSNGBYmN/UgNGLpUdyffQw= +SHA256 (Pkgfile) = 8f5857bb30214c26f92996edfa0370f77c730e1570a400aea84fcfb4f4826f74 SHA256 (.footprint) = 9dcaa2a17834a40e044e0743974dd6405d06f5ccb916b62d29c810b437703d22 SHA256 (xcb-proto-1.14.tar.xz) = 186a3ceb26f9b4a015f5a44dcc814c93033a5fc39684f36f1ecc79834416a605 +SHA256 (python-gcd.patch) = 1f190fb87cdac99a351e4e3928d5360644eee726e11340786929add49c1a9654 diff --git a/xorg-xcb-proto/Pkgfile b/xorg-xcb-proto/Pkgfile index ded76ebe..e1279f17 100644 --- a/xorg-xcb-proto/Pkgfile +++ b/xorg-xcb-proto/Pkgfile @@ -5,12 +5,15 @@ name=xorg-xcb-proto version=1.14 -release=3 -source=(https://xorg.freedesktop.org/archive/individual/proto/xcb-proto-$version.tar.xz) +release=4 +source=(https://xorg.freedesktop.org/archive/individual/proto/xcb-proto-$version.tar.xz \ + python-gcd.patch) build() { cd xcb-proto-$version + patch -p1 -i $SRC/python-gcd.patch + PYTHON=/usr/bin/python3 \ ./configure --prefix=/usr diff --git a/xorg-xcb-proto/python-gcd.patch b/xorg-xcb-proto/python-gcd.patch new file mode 100644 index 00000000..8dd386ac --- /dev/null +++ b/xorg-xcb-proto/python-gcd.patch @@ -0,0 +1,12 @@ +diff -urN xcb-proto-1.14.orig/xcbgen/align.py xcb-proto-1.14/xcbgen/align.py +--- xcb-proto-1.14.orig/xcbgen/align.py 2020-02-22 20:16:54.000000000 +0000 ++++ xcb-proto-1.14/xcbgen/align.py 2020-09-07 22:20:27.046048612 +0000 +@@ -2,7 +2,7 @@ + This module contains helper classes for alignment arithmetic and checks + ''' + +-from fractions import gcd ++from math import gcd + + class Alignment(object): + |