summaryrefslogtreecommitdiffhomepage
path: root/patches/smallbasic
diff options
context:
space:
mode:
authorLucio Andrés Illanes Albornoz <lucio@lucioillanes.de>2018-08-18 14:32:22 +0000
committerLucio Andrés Illanes Albornoz <lucio@lucioillanes.de>2018-08-18 14:32:22 +0000
commitd557c3b97427537d8abfae0fc6ab88d7ca5682e9 (patch)
treeffea61c710d361352e4b53b6899bf05603d45b35 /patches/smallbasic
parentb95c06103d395a3ab6104e5d8dfc44ef5b8327fe (diff)
downloadmidipix_build-d557c3b97427537d8abfae0fc6ab88d7ca5682e9.tar.bz2
midipix_build-d557c3b97427537d8abfae0fc6ab88d7ca5682e9.tar.xz
patches/smallbasic.local.patch: removes obsolete patch.
patches/smallbasic{/dlopen,_pre.local}.patch: via Redfoxmoon.
Diffstat (limited to 'patches/smallbasic')
-rw-r--r--patches/smallbasic/dlopen.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/patches/smallbasic/dlopen.patch b/patches/smallbasic/dlopen.patch
new file mode 100644
index 00000000..8bc3a5b1
--- /dev/null
+++ b/patches/smallbasic/dlopen.patch
@@ -0,0 +1,12 @@
+diff -ru SmallBASIC.orig/src/common/extlib.c SmallBASIC/src/common/extlib.c
+--- SmallBASIC.orig/src/common/extlib.c 2018-08-18 16:06:03.103804486 +0200
++++ SmallBASIC/src/common/extlib.c 2018-08-18 16:13:04.390441908 +0200
+@@ -22,7 +22,7 @@
+ #define WIN_EXTLIB
+ #define LIB_EXT ".dll"
+ #define DEFAULT_PATH "c:/sbasic/lib"
+-#elif defined(__linux__) && defined(_UnixOS)
++#elif defined(__linux__) || defined(__midipix__) && defined(_UnixOS)
+ #include <dlfcn.h>
+ #define LNX_EXTLIB
+ #define LIB_EXT ".so"