Fix emacs -fno-common conflict with libcurses.

This commit is contained in:
Jonas 'Sortie' Termansen 2024-08-22 15:40:26 +02:00
parent e4b64081b8
commit afdc6cbf12

View file

@ -643,3 +643,19 @@ diff -Paur --no-dereference -- emacs.upstream/src/term.c emacs/src/term.c
#include <sys/time.h>
#include <unistd.h>
diff -Paur --no-dereference -- emacs.upstream/src/terminfo.c emacs/src/terminfo.c
--- emacs.upstream/src/terminfo.c
+++ emacs/src/terminfo.c
@@ -21,12 +21,6 @@
#include "lisp.h"
-/* Define these variables that serve as global parameters to termcap,
- so that we do not need to conditionalize the places in Emacs
- that set them. */
-
-char *UP, *BC, PC;
-
/* Interface to curses/terminfo library.
Turns out that all of the terminfo-level routines look
like their termcap counterparts except for tparm, which replaces