You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/x11-terms/kterm/files/kterm-6.2.0-gentoo.patch

52 lines
1.5 KiB

diff -Naur kterm-6.2.0/main.c kterm-6.2.0-gentoo/main.c
--- kterm-6.2.0/main.c 1996-07-12 14:01:38.000000000 +0900
+++ kterm-6.2.0-gentoo/main.c 2002-05-21 08:37:31.000000000 +0900
@@ -75,9 +75,12 @@
#include <X11/Xos.h>
#include <X11/cursorfont.h>
#include <X11/Xaw/SimpleMenu.h>
+/*
#ifndef NO_XPOLL_H
#include <X11/Xpoll.h>
#endif
+*/
+#include <termios.h>
#include <X11/Xlocale.h>
#include <pwd.h>
#include <ctype.h>
@@ -283,7 +286,7 @@
#include <lastlog.h>
# endif
#endif
-#include <sys/param.h> /* for NOFILE */
+//#include <sys/param.h> /* for NOFILE */
#ifdef PUCC_PTYD
#include <local/openpty.h>
diff -Naur kterm-6.2.0/screen.c kterm-6.2.0-gentoo/screen.c
--- kterm-6.2.0/screen.c 1996-06-23 17:00:26.000000000 +0900
+++ kterm-6.2.0-gentoo/screen.c 2002-05-21 08:30:55.000000000 +0900
@@ -46,7 +46,8 @@
#include <sys/ptem.h>
#endif
-extern Char *calloc(), *malloc(), *realloc();
+//extern Char *calloc(), *malloc(), *realloc();
+extern void *calloc(), *malloc(), *realloc();
extern void free();
ScrnBuf Allocate (nrow, ncol, addr)
diff -Naur kterm-6.2.0/scrollbar.c kterm-6.2.0-gentoo/scrollbar.c
--- kterm-6.2.0/scrollbar.c 1996-07-12 14:01:39.000000000 +0900
+++ kterm-6.2.0-gentoo/scrollbar.c 2002-05-21 08:30:39.000000000 +0900
@@ -324,7 +324,8 @@
register TScreen *screen = &xw->screen;
register int border = 2 * screen->border;
register int i;
- Char *realloc(), *calloc();
+// Char *realloc(), *calloc();
+ void *realloc(), *calloc();
if(screen->scrollbar)
return;