diff options
Diffstat (limited to 'x11-terms/kterm/files')
-rw-r--r-- | x11-terms/kterm/files/6.2.0-underline.patch | 22 | ||||
-rw-r--r-- | x11-terms/kterm/files/kterm-6.2.0-Xaw3d.patch | 25 | ||||
-rw-r--r-- | x11-terms/kterm/files/kterm-6.2.0-gentoo.patch | 51 | ||||
-rw-r--r-- | x11-terms/kterm/files/kterm-6.2.0-openpty.patch | 59 | ||||
-rw-r--r-- | x11-terms/kterm/files/kterm-ad-gentoo.diff | 21 |
5 files changed, 178 insertions, 0 deletions
diff --git a/x11-terms/kterm/files/6.2.0-underline.patch b/x11-terms/kterm/files/6.2.0-underline.patch new file mode 100644 index 000000000000..5324c4cfa3f8 --- /dev/null +++ b/x11-terms/kterm/files/6.2.0-underline.patch @@ -0,0 +1,22 @@ +--- charproc.c.orig 2005-08-28 17:55:50.000000000 +0900 ++++ charproc.c 2005-08-28 18:30:14.000000000 +0900 +@@ -1897,6 +1897,19 @@ + case 7: + term->flags |= INVERSE; + break; ++ case 22: /* Reset bold. */ ++ /* ECMA-ly incorrect */ ++ term->flags &= ~BOLD; ++ break; ++ case 24: ++ term->flags &= ~UNDERLINE; ++ break; ++ case 25: /* Blink, really. */ ++ term->flags &= ~BOLD; ++ break; ++ case 27: ++ term->flags &= ~INVERSE; ++ break; + #ifdef KTERM_COLOR + case 30: + case 31: diff --git a/x11-terms/kterm/files/kterm-6.2.0-Xaw3d.patch b/x11-terms/kterm/files/kterm-6.2.0-Xaw3d.patch new file mode 100644 index 000000000000..cda8856a8cff --- /dev/null +++ b/x11-terms/kterm/files/kterm-6.2.0-Xaw3d.patch @@ -0,0 +1,25 @@ +diff -Naur kterm-6.2.0/Imakefile kterm-6.2.0-Xaw3d/Imakefile +--- kterm-6.2.0/Imakefile 2003-12-13 15:35:05.000000000 +0900 ++++ kterm-6.2.0-Xaw3d/Imakefile 2003-12-13 23:10:24.000000000 +0900 +@@ -23,6 +23,10 @@ + PUCCPTYDDEF = -DPUCC_PTYD /* does not need to be setuid */ + PTYLIB = -lpucc + #endif ++#ifdef KTERM_XAW3D ++ XAWLIB = -lXaw3d ++ XAW6LIB = -lXaw3d ++#endif + + OSMAJORVERSION = OSMajorVersion + OSMINORVERSION = OSMinorVersion +diff -Naur kterm-6.2.0/kterm.h kterm-6.2.0-Xaw3d/kterm.h +--- kterm-6.2.0/kterm.h 2003-12-13 15:35:05.000000000 +0900 ++++ kterm-6.2.0-Xaw3d/kterm.h 2003-12-13 15:35:55.000000000 +0900 +@@ -36,6 +36,6 @@ + #define KTERM_KINPUT2 /* Kinput2 protocol */ + #define KTERM_COLOR /* color sequence */ + #define KTERM_NOTEK /* disables Tektronix emulation */ +-#undef KTERM_XAW3D /* Xaw3d -DARROW_SCROLLBAR support */ ++#define KTERM_XAW3D /* Xaw3d -DARROW_SCROLLBAR support */ + + #endif /* !_KTERM_H_ */ 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; diff --git a/x11-terms/kterm/files/kterm-6.2.0-openpty.patch b/x11-terms/kterm/files/kterm-6.2.0-openpty.patch new file mode 100644 index 000000000000..ee8bc1814ae0 --- /dev/null +++ b/x11-terms/kterm/files/kterm-6.2.0-openpty.patch @@ -0,0 +1,59 @@ +diff -ru kterm-orig/Imakefile kterm-6.2.0/Imakefile +--- kterm-orig/Imakefile 2004-10-12 01:23:25.000000000 +0200 ++++ kterm-6.2.0/Imakefile 2004-10-12 01:37:59.100764752 +0200 +@@ -23,6 +23,11 @@ + PUCCPTYDDEF = -DPUCC_PTYD /* does not need to be setuid */ + PTYLIB = -lpucc + #endif ++#ifdef LinuxArchitecture ++ PTYLIB = -lutil ++#undef InstallXtermSetUID ++#define InstallXtermSetUID 0 ++#endif + + OSMAJORVERSION = OSMajorVersion + OSMINORVERSION = OSMinorVersion +diff -ru kterm-orig/button.c kterm-6.2.0/button.c +--- kterm-orig/button.c 1996-07-02 07:01:46.000000000 +0200 ++++ kterm-6.2.0/button.c 2004-10-12 01:29:59.420687208 +0200 +@@ -41,8 +41,6 @@ + #include "error.h" + #include "menu.h" + +-extern char *malloc(); +- + extern void DoSecureKeyboard(); + + #define KeyState(x) (((x) & (ShiftMask|ControlMask)) + (((x) & Mod1Mask) ? 2 : 0)) +diff -ru kterm-orig/charproc.c kterm-6.2.0/charproc.c +--- kterm-orig/charproc.c 2004-10-12 01:23:25.000000000 +0200 ++++ kterm-6.2.0/charproc.c 2004-10-12 01:30:29.640093160 +0200 +@@ -102,8 +102,6 @@ + extern XtAppContext app_con; + extern Widget toplevel; + extern void exit(); +-extern char *malloc(); +-extern char *realloc(); + extern fd_set Select_mask; + extern fd_set X_mask; + extern fd_set pty_mask; +diff -ru kterm-orig/main.c kterm-6.2.0/main.c +--- kterm-orig/main.c 2004-10-12 01:23:25.000000000 +0200 ++++ kterm-6.2.0/main.c 2004-10-12 01:32:56.697737000 +0200 +@@ -143,6 +143,7 @@ + #define HAS_UTMP_UT_HOST + #define LASTLOG + #define WTMP ++#include <pty.h> + #endif + + #include <sys/ioctl.h> +@@ -1871,7 +1872,7 @@ + get_pty (pty) + int *pty; + { +-#ifdef __osf__ ++#if defined(__osf__) || defined(linux) + int tty; + return (openpty(pty, &tty, ttydev, NULL, NULL)); + #endif diff --git a/x11-terms/kterm/files/kterm-ad-gentoo.diff b/x11-terms/kterm/files/kterm-ad-gentoo.diff new file mode 100644 index 000000000000..a502bac0eb73 --- /dev/null +++ b/x11-terms/kterm/files/kterm-ad-gentoo.diff @@ -0,0 +1,21 @@ +--- KTerm.ad.orig 2004-01-07 06:25:15.000000000 +0900 ++++ KTerm.ad 2004-01-07 06:27:43.550017672 +0900 +@@ -125,3 +125,18 @@ + + *VT100*translations: #override Shift<Key>space: \ + begin-conversion(_JAPANESE_CONVERSION) ++ ++! default values added by portage ++*VT100*kanjiMode: euc ++*inputMethod: kinput2 ++!*openIm: true ++! To use wallpaper, uncomment and set it to your favorite image ++!*wallPaper: /path/to/filename.xpm ++ ++! To enable wheel mouse ++KTerm*VT100.Translations: #override\n\ ++ <KeyPress>Prior:scroll-back(1,page)\n\ ++ <KeyPress>Next:scroll-forw(1,page)\n\ ++ Shift<Key>space:begin-conversion(_JAPANESE_CONVERSION)\n\ ++ <Btn4Down>:scroll-back(1,halfpage)\n\ ++ <Btn5Down>:scroll-forw(1,halfpage)\n |