pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
py-screenkey: don't expect specific versions of X11 libs
Module Name: pkgsrc-wip
Committed By: Maya Rashish <maya%NetBSD.org@localhost>
Pushed By: coypu
Date: Sun Nov 27 20:26:22 2022 +0200
Changeset: abbadc8f6a19315ea6a071e8a6e5e85a26677db8
Modified Files:
py-screenkey/distinfo
Added Files:
py-screenkey/patches/patch-Screenkey_xlib.py
Log Message:
py-screenkey: don't expect specific versions of X11 libs
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=abbadc8f6a19315ea6a071e8a6e5e85a26677db8
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
py-screenkey/distinfo | 1 +
py-screenkey/patches/patch-Screenkey_xlib.py | 22 ++++++++++++++++++++++
2 files changed, 23 insertions(+)
diffs:
diff --git a/py-screenkey/distinfo b/py-screenkey/distinfo
index 53ccea5e22..1112b3979f 100644
--- a/py-screenkey/distinfo
+++ b/py-screenkey/distinfo
@@ -3,3 +3,4 @@ $NetBSD$
BLAKE2s (screenkey-1.5.tar.gz) = 0f1bab72183a28b4dd551c638117540474df78e7e57e89ed6f4a52ef6e1cb286
SHA512 (screenkey-1.5.tar.gz) = 37a2e99ae3ab579fe91bed081bfd39c85896ed173a7a94f38e46fc22d1a2d9f24da147984e69d22eb2dbeb0226456bf41b5e24cface3ca72cd76d478323d4091
Size (screenkey-1.5.tar.gz) = 94403 bytes
+SHA1 (patch-Screenkey_xlib.py) = 5c604c97b9f4d9e5c5599bb22422e8a3e5962113
diff --git a/py-screenkey/patches/patch-Screenkey_xlib.py b/py-screenkey/patches/patch-Screenkey_xlib.py
new file mode 100644
index 0000000000..b7edec45be
--- /dev/null
+++ b/py-screenkey/patches/patch-Screenkey_xlib.py
@@ -0,0 +1,22 @@
+$NetBSD$
+
+--- Screenkey/xlib.py.orig 2021-01-01 20:27:07.000000000 +0000
++++ Screenkey/xlib.py
+@@ -4,7 +4,7 @@
+ from ctypes import *
+
+ ## base X11
+-libX11 = CDLL('libX11.so.6')
++libX11 = CDLL('libX11.so')
+
+ # types
+ Atom = c_ulong
+@@ -276,7 +276,7 @@ XkbKeycodeToKeysym.restype = KeySym
+
+
+ ## record extensions
+-libXtst = CDLL('libXtst.so.6')
++libXtst = CDLL('libXtst.so')
+
+ # types
+ XPointer = String
Home |
Main Index |
Thread Index |
Old Index