do not edit — generated by btf.
git.druid.rocksindexdruid520portsports/shells/oksh/patches/emacs.c.patch

ports/shells/oksh/patches/emacs.c.patch


--- a/emacs.c	2026-09-01 19:24:51.596154710 +0000
+++ b/emacs.c	2026-09-01 19:24:58.058094709 +0000
@@ -1040,7 +1040,7 @@
 	x_adj_ok = 0;
 	if (limit == -2) {
 		int cleared = 0;
-#ifndef SMALL
+#if !defined(SMALL) && !defined(NO_CURSES)
 		if (cur_term == NULL && Flag(FTALKING))
 			initcurses();
 		if (cur_term != NULL && clear_screen != NULL) {
powered by btf.