* update xplc to 0.3.13-10

This commit is contained in:
Alexander Baldeck 2022-06-28 20:26:15 +02:00
parent 5b9d1c05e8
commit ac640017ae
2 changed files with 33 additions and 0 deletions

View File

@ -0,0 +1,11 @@
--- xplc-0.3.13/xplc/moduleloader.cpp 2005-04-27 23:38:09.000000000 +0200
+++ xplc-0.3.13/xplc/moduleloader.cpp.new 2022-02-04 23:09:50.554289277 +0100
@@ -60,7 +60,7 @@
return NULL;
}
- switch(moduleinfo->version_major) {
+ switch((int)moduleinfo->version_major) {
#ifdef UNSTABLE
case -1:
/* nothing to do */

View File

@ -0,0 +1,22 @@
--- config/rules.mk.orig 2006-05-06 19:28:46.000000000 +0200
+++ config/rules.mk 2006-05-06 19:28:53.000000000 +0200
@@ -44,7 +44,7 @@
$(RANLIB) $@
%.so:
- $(LINK.cc) $(SHARED) $^ -o $@
+ $(LINK.cc) $(SHARED) $^ $(LDLIBS) -o $@
%.dll:
$(LINK.cc) $(SHARED) $^ -o $@
--- xplc/vars.mk.orig 2006-05-06 19:32:06.000000000 +0200
+++ xplc/vars.mk 2006-05-06 19:32:12.000000000 +0200
@@ -32,7 +32,7 @@
ifneq ("$(enable_loader)", "no")
ifneq ("$(with_dlopen)", "no")
-libxplc.so: LDFLAGS+=$(with_dlopen)
+libxplc.so: LDLIBS+=$(with_dlopen)
endif
endif