summaryrefslogtreecommitdiff
path: root/dev-python/python-blivet/files/python-blivet-udev-path.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@rogentos.ro>2015-06-26 15:06:24 +0100
committerV3n3RiX <venerix@rogentos.ro>2015-06-26 15:06:24 +0100
commit2b921eb19ef0520542ed7ae4a5beae9da9749d4c (patch)
tree63a7822210385c6042491a4bfa0d82301699c8f9 /dev-python/python-blivet/files/python-blivet-udev-path.patch
parentc2b0d275a42869258071fa3571652bb4c10f254e (diff)
parentfee9d49c73ebb43de8f12c73f7d502044850818e (diff)
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'dev-python/python-blivet/files/python-blivet-udev-path.patch')
-rw-r--r--dev-python/python-blivet/files/python-blivet-udev-path.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/dev-python/python-blivet/files/python-blivet-udev-path.patch b/dev-python/python-blivet/files/python-blivet-udev-path.patch
new file mode 100644
index 00000000..013080b8
--- /dev/null
+++ b/dev-python/python-blivet/files/python-blivet-udev-path.patch
@@ -0,0 +1,11 @@
+--- a/blivet/pyudev.py
++++ b/blivet/pyudev.py
+@@ -9,7 +9,7 @@ from ctypes import CDLL, c_char_p, c_int
+ # XXX this one may need some tweaking...
+ def find_library(name, somajor=0):
+ env = os.environ.get("LD_LIBRARY_PATH")
+- common = ["/lib64", "/lib"]
++ common = ["/lib64", "/lib", "/usr/lib64", "/usr/lib"]
+
+ if env:
+ libdirs = env.split(":") + common