slackbuilds/development/eisl/patches/01-tcltk.patch

13 lines
494 B
Diff

--- eisl-3.50/library/tcltk.lsp 2023-09-10 01:16:45.000000000 -0300
+++ eisl-3.50-mod/library/tcltk.lsp 2023-10-26 21:45:06.916251188 -0300
@@ -1,8 +1,4 @@
-(c-lang "#ifdef __linux__
- #include <tcl/tcl.h>
- #else
- #include <tcl.h>
- #endif")
+(c-lang "#include <tcl.h>")
(c-option "-ltcl -ltk" linux)
(c-option "-I/opt/homebrew/opt/tcl-tk/include -L/opt/homebrew/opt/tcl-tk/lib -ltk8.6 -ltkstub8.6 -ltcl8.6 -ltclstub8.6" macos)
(c-define "BUFFSIZE" "1024")