summaryrefslogtreecommitdiff
path: root/lang/newlisp-devel/files
diff options
context:
space:
mode:
Diffstat (limited to 'lang/newlisp-devel/files')
-rw-r--r--lang/newlisp-devel/files/patch-makefile_bsd19
-rw-r--r--lang/newlisp-devel/files/patch-makefile_bsdLP64_utf819
-rw-r--r--lang/newlisp-devel/files/patch-makefile_bsd_utf819
-rw-r--r--lang/newlisp-devel/files/patch-modules_gsl.lsp18
-rw-r--r--lang/newlisp-devel/files/patch-newlisp.h13
5 files changed, 0 insertions, 88 deletions
diff --git a/lang/newlisp-devel/files/patch-makefile_bsd b/lang/newlisp-devel/files/patch-makefile_bsd
deleted file mode 100644
index 571a760fe154..000000000000
--- a/lang/newlisp-devel/files/patch-makefile_bsd
+++ /dev/null
@@ -1,19 +0,0 @@
---- makefile_bsd.orig
-+++ makefile_bsd
-@@ -6,14 +6,12 @@
-
- # the option -fno-strict-aliasing may not be available on some BSD versions
-
--CFLAGS = -m32 -Wall -Wno-uninitialized -fno-strict-aliasing -O2 -c -g -DREADLINE -D_BSD
-+CFLAGS += -m32 -c -DREADLINE -D_BSD -DFFI
- # or without readline lib
- #CFLAGS = -m32 -Wall -Wno-uninitialized -Wno-strict-aliasing -O2 -c -g -D_BSD
-
--CC = gcc
--
- default: $(OBJS)
-- $(CC) $(OBJS) -m32 -g -lm -lreadline -lncurses -o newlisp
-+ $(CC) $(LDFLAGS) $(OBJS) -m32 -lm -lreadline -lncurses -lffi -o newlisp
- # or without readline lib
- # $(CC) $(OBJS) -m32 -g -lm -o newlisp
- strip newlisp
diff --git a/lang/newlisp-devel/files/patch-makefile_bsdLP64_utf8 b/lang/newlisp-devel/files/patch-makefile_bsdLP64_utf8
deleted file mode 100644
index ded11ad55d33..000000000000
--- a/lang/newlisp-devel/files/patch-makefile_bsdLP64_utf8
+++ /dev/null
@@ -1,19 +0,0 @@
---- makefile_bsdLP64_utf8.orig
-+++ makefile_bsdLP64_utf8
-@@ -6,14 +6,12 @@
-
- # the option -fno-strict-aliasing may not be available on some BSD versions
-
--CFLAGS = -m64 -Wall -Wno-uninitialized -fno-strict-aliasing -O2 -c -g -DREADLINE -DNEWLISP64 -DSUPPORT_UTF8 -D_BSD
-+CFLAGS += -m64 -c -DREADLINE -DNEWLISP64 -DSUPPORT_UTF8 -D_BSD -DFFI
- # or without readline lib
- #CFLAGS = -m64 -Wall -Wno-uninitialized -Wno-strict-aliasing -O2 -c -g -DNEWLISP64 -D_BSD
-
--CC = gcc
--
- default: $(OBJS)
-- $(CC) $(OBJS) -m64 -g -lm -lreadline -lncurses -o newlisp
-+ $(CC) $(LDFLAGS) $(OBJS) -m64 -lm -lreadline -lncurses -lffi -o newlisp
- # or without readline lib
- # $(CC) $(OBJS) -m64 -g -lm -o newlisp
- strip newlisp
diff --git a/lang/newlisp-devel/files/patch-makefile_bsd_utf8 b/lang/newlisp-devel/files/patch-makefile_bsd_utf8
deleted file mode 100644
index 111c50ee10c8..000000000000
--- a/lang/newlisp-devel/files/patch-makefile_bsd_utf8
+++ /dev/null
@@ -1,19 +0,0 @@
---- makefile_bsd_utf8.orig
-+++ makefile_bsd_utf8
-@@ -4,14 +4,12 @@
- OBJS = newlisp.o nl-symbol.o nl-math.o nl-list.o nl-liststr.o nl-string.o nl-filesys.o \
- nl-sock.o nl-import.o nl-xml.o nl-web.o nl-matrix.o nl-debug.o nl-utf8.o pcre.o
-
--CFLAGS = -m32 -Wall -Wno-uninitialized -fno-strict-aliasing -O2 -c -g -DREADLINE -D_BSD -DSUPPORT_UTF8
-+CFLAGS += -m32 -c -DREADLINE -D_BSD -DSUPPORT_UTF8 -DFFI
- # or without readline lib
- #CFLAGS = -m32 -Wall -Wno-uninitialized -fno-strict-aliasing -O2 -c -g -D_BSD -DSUPPORT_UTF8
-
--CC = gcc
--
- default: $(OBJS)
-- $(CC) $(OBJS) -m32 -g -lm -lreadline -lncurses -o newlisp
-+ $(CC) $(LDFLAGS) $(OBJS) -m32 -lm -lreadline -lncurses -lffi -o newlisp
- # or without readline lib
- # $(CC) $(OBJS) -m32 -g -lm -o newlisp
- strip newlisp
diff --git a/lang/newlisp-devel/files/patch-modules_gsl.lsp b/lang/newlisp-devel/files/patch-modules_gsl.lsp
deleted file mode 100644
index 9a599c4e3cec..000000000000
--- a/lang/newlisp-devel/files/patch-modules_gsl.lsp
+++ /dev/null
@@ -1,18 +0,0 @@
---- modules/gsl.lsp.orig
-+++ modules/gsl.lsp
-@@ -169,6 +169,7 @@
- (= ostype "Win32") "libgsl-0.dll" ; 32-bit
- (= ostype "OSX") "libgsl.dylib" ; 32-bit
- (= ostype "Linux") "/usr/local/lib/libgsl.so" ; 32-bit or 64-bit
-+ (= ostype "BSD") "/usr/local/lib/libgsl.so" ; 32-bit or 64-bit
- ))
-
- ; load libgslcblas which contans functions referenced by libgsl
-@@ -179,6 +180,7 @@
- (if
- (= ostype "OSX") (import "libgslcblas.dylib" "cblas_sdsdot")
- (= ostype "Linux") (import "/usr/local/lib/libgslcblas.so" "cblas_sdsdot")
-+ (= ostype "BSD") (import "/usr/local/lib/libgslcblas.so" "cblas_sdsdot")
- )
-
- ; structs are defined but only needed for debugging, instead use "void*"
diff --git a/lang/newlisp-devel/files/patch-newlisp.h b/lang/newlisp-devel/files/patch-newlisp.h
deleted file mode 100644
index 83e502d12cfa..000000000000
--- a/lang/newlisp-devel/files/patch-newlisp.h
+++ /dev/null
@@ -1,13 +0,0 @@
---- newlisp.h.orig
-+++ newlisp.h
-@@ -36,6 +36,10 @@
- # include <ffi.h>
- #endif
-
-+#ifdef __FreeBSD__
-+# include <ffi.h>
-+#endif
-+
- #define LIBFFI " libffi"
- #else /* not FFI */
- #define LIBFFI ""