diff --git a/lang/eisl/Makefile b/lang/eisl/Makefile index 298b7d4cce65..cf0df1530df4 100644 --- a/lang/eisl/Makefile +++ b/lang/eisl/Makefile @@ -1,54 +1,54 @@ PORTNAME= eisl DISTVERSIONPREFIX= v -DISTVERSION= 5.55 +DISTVERSION= 5.59 CATEGORIES= lang devel MAINTAINER= yuri@FreeBSD.org COMMENT= Interpreter and compiler compatible with ISLisp standard WWW= https://github.com/sasagawa888/eisl LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/license.txt BROKEN_armv7= stage breaks: Abort trap (likely due to the memory allocation problem) BROKEN_i386= stage breaks: data segment of more than 500GB is required, see https://github.com/sasagawa888/eisl/issues/218 TEST_DEPENDS= cppcheck:devel/cppcheck USES= gmake gl localbase:ldflags ncurses:port tcl # port because tests need ncurses6-config USE_GL= gl glu glut USE_GITHUB= yes GH_ACCOUNT= sasagawa888 ALL_TARGET= ${PORTNAME} TEST_TARGET= check # tests print some errors and warnings, see https://github.com/sasagawa888/eisl/issues/181#issuecomment-1195147029 MAKEFILE= makefile CFLAGS+= -D__BSD_VISIBLE # w/out this there's error: use of undeclared identifier '_SC_NPROCESSORS_CONF' CFLAGS+= -I${TCL_INCLUDEDIR} LDFLAGS+= -lncursesw .include .if ${ARCH} == riscv64 EXTRA_PATCHES= ${FILESDIR}/extra-patch-makefile .endif .include .if ${OPSYS} == FreeBSD CFLAGS+= -Wno-error=int-conversion .endif .if ${OPSYS} == FreeBSD CFLAGS+= -Wno-error=incompatible-function-pointer-types .endif post-install: ${STRIP_CMD} \ ${STAGEDIR}${PREFIX}/bin/eisl \ ${STAGEDIR}${PREFIX}/bin/edlis .include diff --git a/lang/eisl/distinfo b/lang/eisl/distinfo index c3c6708e7bf5..34164a0cf753 100644 --- a/lang/eisl/distinfo +++ b/lang/eisl/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1759296788 -SHA256 (sasagawa888-eisl-v5.55_GH0.tar.gz) = 23fdd1cf5e667768a89e1fdddc950b853bc4285fca08457b0dc0d16ebaae748c -SIZE (sasagawa888-eisl-v5.55_GH0.tar.gz) = 1800427 +TIMESTAMP = 1763915853 +SHA256 (sasagawa888-eisl-v5.59_GH0.tar.gz) = 703a5abeb668359f8aa913168ff1c3882795a880d158f310e4993a1f10d70368 +SIZE (sasagawa888-eisl-v5.59_GH0.tar.gz) = 3116593 diff --git a/lang/eisl/files/patch-extension.c b/lang/eisl/files/patch-extension.c new file mode 100644 index 000000000000..de091c6b67fd --- /dev/null +++ b/lang/eisl/files/patch-extension.c @@ -0,0 +1,40 @@ +--- extension.c.orig 2025-11-23 16:41:16 UTC ++++ extension.c +@@ -20,8 +20,6 @@ + #include + #include + #include +-#include +-#include + #include + + +@@ -131,6 +129,7 @@ void init_exsubr(void) + def_subr("RECV-SOCKET", f_recv_socket); + def_subr("CLOSE-SOCKET", f_close_socket); + ++#if 0 + def_subr("GR-OPEN", f_gr_open); + def_subr("GR-CLOSE", f_gr_close); + def_subr("GR-CLS", f_gr_cls); +@@ -138,6 +137,7 @@ void init_exsubr(void) + def_subr("GR-CIRCLE", f_gr_circle); + def_subr("GR-RECT", f_gr_rect); + def_subr("GR-LINE", f_gr_line); ++#endif + + #ifdef __rpi__ + def_subr("WIRINGPI-SETUP-GPIO", f_wiringpi_setup_gpio); +@@ -1891,6 +1891,7 @@ int f_close_socket(int arglist, int th) + } + + ++# if 0 + //-------/dev/fb0------------------------ + + #define BLACK 0x000000 +@@ -2201,3 +2202,4 @@ int f_gr_line(int arglist, int th) + fb_draw_line(GET_INT(arg1),GET_INT(arg2),GET_INT(arg3),GET_INT(arg4),color_to_number(arg5)); + return(T); + } ++#endif diff --git a/lang/eisl/files/patch-ffi.h b/lang/eisl/files/patch-ffi.h index efd446611808..1b76ce9b70fa 100644 --- a/lang/eisl/files/patch-ffi.h +++ b/lang/eisl/files/patch-ffi.h @@ -1,11 +1,11 @@ ---- ffi.h.orig 2024-04-30 07:10:18 UTC +--- ffi.h.orig 2025-11-23 16:45:45 UTC +++ ffi.h @@ -4,7 +4,7 @@ #ifndef FFI_H #define FFI_H -#define CELLSIZE 20000000 +#define CELLSIZE 10000000 - // TCC does not have support for "static conts" as compile time constant - #ifdef __TINYC__ - #define NIL 0 + static const int NIL = 0; + static const int T = 2; + static const int SMALL_INT_MAX = 1000000000;