summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-lang/squeak/files/pluginpath.patch')
-rw-r--r--dev-lang/squeak/files/pluginpath.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/dev-lang/squeak/files/pluginpath.patch b/dev-lang/squeak/files/pluginpath.patch
new file mode 100644
index 0000000..8c2f4ba
--- /dev/null
+++ b/dev-lang/squeak/files/pluginpath.patch
@@ -0,0 +1,13 @@
+--- Squeak-4.4.7.2357-src/unix/vm/sqUnixExternalPrims.c.orig 2012-07-15 22:35:31.000000000 +0100
++++ Squeak-4.4.7.2357-src/unix/vm/sqUnixExternalPrims.c 2012-07-15 22:44:28.000000000 +0100
+@@ -182,6 +182,10 @@
+ ;
+ }
+
++ if ((handle=tryLoadModule(vmPath, pluginName))) {
++ return handle;
++ }
++
+ /* try dlopen()ing LIBRARY_PREFIX<name>LIBRARY_SUFFIX searching only the default locations modulo LD_LIBRARY_PATH et al */
+
+ # if defined(HAVE_SNPRINTF)