mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: python-cairocffi: Fix loading of shared libraries.
Fixes <https://bugs.gnu.org/32170>. * gnu/packages/patches/python-cairocffi-dlopen-path.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it. * gnu/packages/python.scm (python-cairocffi)[inputs]: Add glib, gtk+, pango. [native-inputs]: Add python-pytest. [arguments]: Enable tests. [arguments]<#:phases>[patch-paths]: New phase.
This commit is contained in:
parent
8e632a6435
commit
a545090ce5
3 changed files with 45 additions and 4 deletions
10
gnu/packages/patches/python-cairocffi-dlopen-path.patch
Normal file
10
gnu/packages/patches/python-cairocffi-dlopen-path.patch
Normal file
|
@ -0,0 +1,10 @@
|
|||
--- cairocffi-0.8.0/cairocffi/__init__.py.orig 2018-07-16 11:00:59.075664158 +0200
|
||||
+++ cairocffi-0.8.0/cairocffi/__init__.py 2018-07-16 17:09:42.471958015 +0200
|
||||
@@ -35,6 +35,7 @@
|
||||
return lib
|
||||
except OSError:
|
||||
pass
|
||||
+ return ffi.dlopen(name)
|
||||
raise OSError("dlopen() failed to load a library: %s" % ' / '.join(names))
|
||||
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue