summaryrefslogtreecommitdiff
path: root/sci-misc/mendeleydesktop/files/mendeleydesktop-1.17.8-libdir.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /sci-misc/mendeleydesktop/files/mendeleydesktop-1.17.8-libdir.patch
reinit the tree, so we can have metadata
Diffstat (limited to 'sci-misc/mendeleydesktop/files/mendeleydesktop-1.17.8-libdir.patch')
-rw-r--r--sci-misc/mendeleydesktop/files/mendeleydesktop-1.17.8-libdir.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/sci-misc/mendeleydesktop/files/mendeleydesktop-1.17.8-libdir.patch b/sci-misc/mendeleydesktop/files/mendeleydesktop-1.17.8-libdir.patch
new file mode 100644
index 000000000000..67ba57fca05f
--- /dev/null
+++ b/sci-misc/mendeleydesktop/files/mendeleydesktop-1.17.8-libdir.patch
@@ -0,0 +1,19 @@
+Patch to find libstdc++.
+
+https://bugs.funtoo.org/browse/FL-3519
+--- a/bin/mendeleydesktop
++++ b/bin/mendeleydesktop
+@@ -29,6 +29,13 @@ def library_paths():
+ paths.append("/usr/lib/x86_64-linux-gnu")
+ paths.append("/usr/lib/i386-linux-gnu")
+
++ gcc_libpath = subprocess.Popen(
++ '/usr/bin/gcc-config -L', shell=True, stdout=subprocess.PIPE,
++ ).stdout.read().decode('utf-8').replace('\n', '').split(':')
++ for path in gcc_libpath:
++ if len(path) > 0:
++ paths.append(path)
++
+ return paths
+
+ def library_version_from_path(lib_path):