pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

py-xcffib: Load libxcb.so instead of libxcb.so.1.



Module Name:	pkgsrc-wip
Committed By:	Nia Alarie <nia.alarie%gmail.com@localhost>
Pushed By:	nee
Date:		Sat May 19 15:38:46 2018 +0100
Changeset:	35e8a6c3ea4572a69ec7c4c0cc94adab90965fdf

Modified Files:
	py-xcffib/distinfo
Added Files:
	py-xcffib/patches/patch-xcffib_____init____.py

Log Message:
py-xcffib: Load libxcb.so instead of libxcb.so.1.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=35e8a6c3ea4572a69ec7c4c0cc94adab90965fdf

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 py-xcffib/distinfo                             |  1 +
 py-xcffib/patches/patch-xcffib_____init____.py | 15 +++++++++++++++
 2 files changed, 16 insertions(+)

diffs:
diff --git a/py-xcffib/distinfo b/py-xcffib/distinfo
index c3c243fb1d..b8ecc76504 100644
--- a/py-xcffib/distinfo
+++ b/py-xcffib/distinfo
@@ -4,3 +4,4 @@ SHA1 (xcffib-0.6.0.tar.gz) = d2656e76bc3a595dcdd16cfc5cf51b195e625647
 RMD160 (xcffib-0.6.0.tar.gz) = 40b61466bc92290b0460c2b195e9c24734e2e9c7
 SHA512 (xcffib-0.6.0.tar.gz) = de78b738f2a75e6569a0529d1fe2844b2cafe48623f25c20a9572ce881cb97325c3823dfe883a2e14bc93d01342f20c4ab561928312f65d0a67364fecb5c8ba5
 Size (xcffib-0.6.0.tar.gz) = 84360 bytes
+SHA1 (patch-xcffib_____init____.py) = 10b44e1f164000f6b36b784394f707e1fa9612ca
diff --git a/py-xcffib/patches/patch-xcffib_____init____.py b/py-xcffib/patches/patch-xcffib_____init____.py
new file mode 100644
index 0000000000..963a2a030e
--- /dev/null
+++ b/py-xcffib/patches/patch-xcffib_____init____.py
@@ -0,0 +1,15 @@
+$NetBSD$
+
+Use a portable soname.
+
+--- xcffib/__init__.py.orig	2018-03-07 02:32:37.000000000 +0000
++++ xcffib/__init__.py
+@@ -26,7 +26,7 @@ try:
+ except ImportError:
+     from xcffib.ffi_build import ffi
+ 
+-soname = "libxcb.so.1"
++soname = "libxcb.so"
+ if platform.system() == "Darwin":
+     soname = "libxcb.dylib"
+ elif platform.system() == "Windows":


Home | Main Index | Thread Index | Old Index