-- Disable Linux-specific framebuffer code and includes. -- This is needed because FreeBSD doesn't have . --- extension.c.orig 2026-05-09 21:27:05 UTC +++ extension.c @@ -21,8 +21,6 @@ #include #include #include -#include -#include #include @@ -129,6 +127,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); @@ -136,6 +135,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 __rpiwiring__ def_subr("WIRINGPI-SETUP-GPIO", f_wiringpi_setup_gpio); @@ -1921,6 +1921,7 @@ int f_close_socket(int arglist, int th) } +# if 0 //-------/dev/fb0------------------------ #ifdef __rpi__ @@ -2271,3 +2272,4 @@ int f_gr_line(int arglist, int th) GET_INT(arg4), color_to_number(arg5)); return (T); } +#endif