summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStuart Bouyer <stubear@gentoo.org>2002-08-12 15:31:17 +0000
committerStuart Bouyer <stubear@gentoo.org>2002-08-12 15:31:17 +0000
commita75143232e83a06d9891acaa852a13b72929550f (patch)
treeb1de18ad0452b034f95b3b00f464555a022bbd26 /x11-terms/kterm/files
parentadded kterm for testing (diff)
downloadhistorical-a75143232e83a06d9891acaa852a13b72929550f.tar.gz
historical-a75143232e83a06d9891acaa852a13b72929550f.tar.bz2
historical-a75143232e83a06d9891acaa852a13b72929550f.zip
initial ebuild
Diffstat (limited to 'x11-terms/kterm/files')
-rw-r--r--x11-terms/kterm/files/digest-kterm-6.2.01
-rw-r--r--x11-terms/kterm/files/kterm-6.2.0-gentoo.patch51
2 files changed, 52 insertions, 0 deletions
diff --git a/x11-terms/kterm/files/digest-kterm-6.2.0 b/x11-terms/kterm/files/digest-kterm-6.2.0
new file mode 100644
index 000000000000..7ad5bd78c78d
--- /dev/null
+++ b/x11-terms/kterm/files/digest-kterm-6.2.0
@@ -0,0 +1 @@
+MD5 9cc72841b50dfba92bce01dbbebf3039 kterm-6.2.0.tar.gz 200448
diff --git a/x11-terms/kterm/files/kterm-6.2.0-gentoo.patch b/x11-terms/kterm/files/kterm-6.2.0-gentoo.patch
new file mode 100644
index 000000000000..f05a0b135371
--- /dev/null
+++ b/x11-terms/kterm/files/kterm-6.2.0-gentoo.patch
@@ -0,0 +1,51 @@
+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;