Mailing List Archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [tlug] Japanese on Slackware



On Sun, Aug 10, 2003 at 11:29:39PM -0400, kayamboo wrote:
> 
> Hi folks
>    I did a lot of work around and have finally got canna and kinput2
>  installed on my slackware9.0
>  
>  But kterm is not installing and it throws an error in main.o while doing
>  make?
>  Any help?
>  

Attached is a patch to fix the kterm install (really only a few small
headers fixes).

Tim.
diff -u kterm-6.2.0.orig/main.c kterm-6.2.0.orig.new/main.c
--- kterm-6.2.0.orig/main.c	1996-07-12 06:01:38.000000000 +0100
+++ kterm-6.2.0.orig.new/main.c	2003-08-11 09:41:01.000000000 +0100
@@ -88,6 +88,9 @@
 #include <sys/socket.h>
 #endif /* KEEPALIVE */
 
+#include <termios.h>
+#include <unistd.h>
+
 #ifdef att
 #define ATT
 #endif
diff -u kterm-6.2.0.orig/screen.c kterm-6.2.0.orig.new/screen.c
--- kterm-6.2.0.orig/screen.c	1996-06-23 09:00:26.000000000 +0100
+++ kterm-6.2.0.orig.new/screen.c	2003-08-11 09:41:41.000000000 +0100
@@ -46,9 +46,6 @@
 #include <sys/ptem.h>
 #endif
 
-extern Char *calloc(), *malloc(), *realloc();
-extern void free();
-
 ScrnBuf Allocate (nrow, ncol, addr)
 /*
    allocates memory for a 2-dimensional array of chars and returns a pointer
diff -u kterm-6.2.0.orig/scrollbar.c kterm-6.2.0.orig.new/scrollbar.c
--- kterm-6.2.0.orig/scrollbar.c	1996-07-12 06:01:39.000000000 +0100
+++ kterm-6.2.0.orig.new/scrollbar.c	2003-08-11 09:41:58.000000000 +0100
@@ -324,7 +324,6 @@
 	register TScreen *screen = &xw->screen;
 	register int border = 2 * screen->border;
 	register int i;
-	Char *realloc(), *calloc();
 
 	if(screen->scrollbar)
 		return;

Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links