diff options
author | gabor <gabor@FreeBSD.org> | 2007-06-04 20:02:31 +0800 |
---|---|---|
committer | gabor <gabor@FreeBSD.org> | 2007-06-04 20:02:31 +0800 |
commit | 75bf7968cd08273f54d29e24ee35a8a247abb494 (patch) | |
tree | b4a501ab8a7ac436f8b8f4d94325e9127649c46f /korean | |
parent | 4a895cb8579469784982bcb0fc1f68cea2944019 (diff) | |
download | freebsd-ports-gnome-75bf7968cd08273f54d29e24ee35a8a247abb494.tar.gz freebsd-ports-gnome-75bf7968cd08273f54d29e24ee35a8a247abb494.tar.zst freebsd-ports-gnome-75bf7968cd08273f54d29e24ee35a8a247abb494.zip |
Remove expired ports:
2007-05-15 devel/ups-debug: only runs on FreeBSD 4.X/386
2007-03-10 korean/han: Broken on all supported versions of FreeBSD
2007-05-11 net/tspc2: development is discontinued
Diffstat (limited to 'korean')
-rw-r--r-- | korean/Makefile | 1 | ||||
-rw-r--r-- | korean/han/Makefile | 44 | ||||
-rw-r--r-- | korean/han/distinfo | 3 | ||||
-rw-r--r-- | korean/han/files/dotconfig | 18 | ||||
-rw-r--r-- | korean/han/files/han.sh | 11 | ||||
-rw-r--r-- | korean/han/files/patch-aa | 52 | ||||
-rw-r--r-- | korean/han/files/patch-ab | 44 | ||||
-rw-r--r-- | korean/han/files/patch-af | 36 | ||||
-rw-r--r-- | korean/han/files/patch-ag | 103 | ||||
-rw-r--r-- | korean/han/files/patch-ah | 38 | ||||
-rw-r--r-- | korean/han/files/patch-ak | 25 | ||||
-rw-r--r-- | korean/han/files/patch-al | 159 | ||||
-rw-r--r-- | korean/han/files/patch-am | 15 | ||||
-rw-r--r-- | korean/han/files/patch-ba | 35 | ||||
-rw-r--r-- | korean/han/files/patch-bb | 19 | ||||
-rw-r--r-- | korean/han/files/patch-bc | 12 | ||||
-rw-r--r-- | korean/han/files/patch-be | 12 | ||||
-rw-r--r-- | korean/han/pkg-descr | 17 | ||||
-rw-r--r-- | korean/han/pkg-plist | 8 |
19 files changed, 0 insertions, 652 deletions
diff --git a/korean/Makefile b/korean/Makefile index 998d27114e57..d1341215a35d 100644 --- a/korean/Makefile +++ b/korean/Makefile @@ -19,7 +19,6 @@ SUBDIR += ghostscript-gnu-korfont SUBDIR += gtkcomm SUBDIR += h2ps - SUBDIR += han SUBDIR += hanIM SUBDIR += hanemacs SUBDIR += hanmiscutils diff --git a/korean/han/Makefile b/korean/han/Makefile deleted file mode 100644 index 9a125bc4a3eb..000000000000 --- a/korean/han/Makefile +++ /dev/null @@ -1,44 +0,0 @@ -# New ports collection makefile for: han -# Date created: 12 Apr 1997 -# Whom: CHOI Junho <cjh@FreeBSD.org> -# -# $FreeBSD$ -# - -PORTNAME= han -PORTVERSION= 1.0fb -PORTREVISION= 1 -CATEGORIES= korean -MASTER_SITES= ftp://ftp.kr.freebsd.org/pub/FreeBSD-kr/distfiles/ - -MAINTAINER= cjh@FreeBSD.org -COMMENT= A hangul console - -DEPRECATED= Broken on all supported versions of FreeBSD -EXPIRATION_DATE=2007-03-10 - -ONLY_FOR_ARCHS= i386 - -USE_GMAKE= YES - -.include <bsd.port.pre.mk> - -.if ${OSVERSION} >= 502126 -BROKEN= "Does not compile on FreeBSD >= 5.x" -.endif - -pre-patch: - @${REINPLACE_CMD} -e 's,<malloc.h>,<stdlib.h>,' \ - ${WRKSRC}/src/vt.c ${WRKSRC}/lib/mem.c - -post-configure: - ${SED} -e 's%%WRKSRC%%${WRKSRC}' \ - -e 's%%PREFIX%%${PREFIX}' \ - -e 's%%DISTDIR%%${DISTDIR}' \ - ${FILESDIR}/dotconfig > ${WRKSRC}/.config - ${SED} -e 's%%WRKSRC%%${WRKSRC}' \ - -e 's%%PREFIX%%${PREFIX}' \ - -e 's%%DISTDIR%%${DISTDIR}' \ - ${FILESDIR}/han.sh > ${WRKSRC}/han.sh - -.include <bsd.port.post.mk> diff --git a/korean/han/distinfo b/korean/han/distinfo deleted file mode 100644 index 17fb3cc08454..000000000000 --- a/korean/han/distinfo +++ /dev/null @@ -1,3 +0,0 @@ -MD5 (han-1.0fb.tar.gz) = 54a39dd32e9292509a3fa75547a05963 -SHA256 (han-1.0fb.tar.gz) = b54958f4173956648277623fc96450e04324b601f326f55e3273efcef6ab3395 -SIZE (han-1.0fb.tar.gz) = 129138 diff --git a/korean/han/files/dotconfig b/korean/han/files/dotconfig deleted file mode 100644 index bb3161bd9762..000000000000 --- a/korean/han/files/dotconfig +++ /dev/null @@ -1,18 +0,0 @@ -INCDIR = %%WRKSRC%%/include -LIB = %%WRKSRC%%/lib/libgon.a -DISTDIR = %%DISTDIR%% - -TOPDIR = %%PREFIX%% -BINDIR = $(TOPDIR)/bin -LIBDIR = $(TOPDIR)/etc -FONTDIR = $(TOPDIR)/share/fonts/han -CONFIG_NAME = han.cfg -OPTS = -DCONFIG_NAME=\"$(LIBDIR)/$(CONFIG_NAME)\" -I$(INCDIR) -CFLAGS = -O -Wall $(OPTS) -LD = gcc $(CFLAGS) -RM = rm -f -INSTALL = install -c -s -SUBDIRS = lib src font # tools - -HAS_VGA = HAS_VGA -FLD_BDF = FLD_BDF diff --git a/korean/han/files/han.sh b/korean/han/files/han.sh deleted file mode 100644 index 06b9970f4302..000000000000 --- a/korean/han/files/han.sh +++ /dev/null @@ -1,11 +0,0 @@ -#!/bin/sh -# -# Wrapper script of han. -# -# 12 Apr 1997, Choi Jun Ho <junker@jazz.snu.ac.kr> -# -gzip -cd %%PREFIX%%/share/fonts/han/h16m.bdf.gz \ - | %%PREFIX%%/bin/hanfld -t bdf -n -gzip -cd %%PREFIX%%/share/fonts/han/8x16pc.bdf.gz \ - | %%PREFIX%%/bin/hanfld -t bdf -n -exec han.bin diff --git a/korean/han/files/patch-aa b/korean/han/files/patch-aa deleted file mode 100644 index cf6a0733cf40..000000000000 --- a/korean/han/files/patch-aa +++ /dev/null @@ -1,52 +0,0 @@ ---- src/vc.c.orig Tue Feb 20 23:38:10 2001 -+++ src/vc.c Tue Feb 20 23:41:25 2001 -@@ -37,7 +37,13 @@ - #include <termio.h> - #elif defined(__FreeBSD__) - #include <termios.h> --#include <machine/console.h> -+#include <osreldate.h> -+#if __FreeBSD_version >= 410000 -+# include <sys/consio.h> -+# include <sys/kbio.h> -+#else -+# include <machine/console.h> -+#endif - #endif - #include <sys/ioctl.h> - #if defined(linux) -@@ -94,28 +100,26 @@ - inline void blatch(void *head, int n) - { - -- __asm__("\t clc\n" -+ __asm__ volatile("\t clc\n" - "1:\n" - "\t andb %%bl, (%%eax)\n" - "\t incl %%eax\n" - "\t loop 1b\n" -- : -- : "eax" ((long)head), "bl" (0x7F), "c" (n) -- : "bl", "cx" ); -+ : "=bl" (head), "=c" (n) -+ : "eax" ((long)head), "0" (0x7F), "1" (n)); - } - - static - inline void llatch(void *head, int n) - { - -- __asm__("\t clc\n" -+ __asm__ volatile("\t clc\n" - "1:\n" - "\t andl %%ebx, (%%eax)\n" - "\t addl $4, %%eax\n" - "\t loop 1b\n" -- : -- : "eax" ((long)head), "ebx" (0x7F7F7F7F), "c" (n>>2) -- : "ebx", "cx" ); -+ : "=ebx" (head), "=c" (n) -+ : "eax" ((long)head), "0" (0x7F7F7F7F), "1" (n>>2)); - } - - static inline u_int TextAddress(u_int x, u_int y) diff --git a/korean/han/files/patch-ab b/korean/han/files/patch-ab deleted file mode 100644 index e5e72bfb0180..000000000000 --- a/korean/han/files/patch-ab +++ /dev/null @@ -1,44 +0,0 @@ ---- src/child.c.orig Sat Mar 29 05:29:53 1997 -+++ src/child.c Sun Jul 16 12:48:02 2000 -@@ -26,6 +26,7 @@ - - #ifdef __FreeBSD__ - #include <errno.h> -+#include <sys/ioctl.h> - #endif - - #include <getcap.h> -@@ -98,6 +99,9 @@ - { - char *shell, *tail, *tcap; - char buff[80]; -+#if defined(__FreeBSD__) -+ struct winsize win; -+#endif - - setgid(getgid()); - setuid(getuid()); -@@ -107,6 +111,10 @@ - sprintf(buff, "TERMCAP=:co#%d:li#%d:tc=console:", - dInfo.txmax + 1, dInfo.tymax + 1); - #elif defined(__FreeBSD__) -+ win.ws_row = dInfo.tymax + 1; -+ win.ws_col = dInfo.txmax + 1; -+ win.ws_xpixel = win.ws_ypixel = 0; -+ ioctl(STDIN_FILENO, TIOCSWINSZ, &win); - sprintf(buff,"TERM=vt100"); - #endif - tcap = strdup(buff); -@@ -120,10 +128,10 @@ - "HAN is free software, and you are welcome to redistribute it\r\n" - "HAN under certain conditions; show COPYING for details.\r\n"); - #if defined(__FreeBSD__) -- printf("\rHAN for FreeBSD-2.x\r\n"); -+ printf("\rHAN for FreeBSD\r\n"); - #endif - } -- printf("HAN using VT number %c.\n\n", -+ printf("HAN using VT number %c.\r\n", - #if defined(linux) - *(ttyname(fileno(errfp))+8)); - #elif defined(__FreeBSD__) diff --git a/korean/han/files/patch-af b/korean/han/files/patch-af deleted file mode 100644 index 48da8e937172..000000000000 --- a/korean/han/files/patch-af +++ /dev/null @@ -1,36 +0,0 @@ ---- src/term.c.orig Sat Mar 29 04:36:54 1997 -+++ src/term.c Tue Feb 20 23:43:44 2001 -@@ -30,7 +30,13 @@ - #include <termio.h> - #elif defined(__FreeBSD__) - #include <termios.h> --#include <machine/console.h> -+#include <osreldate.h> -+#if __FreeBSD_version >= 410000 -+# include <sys/consio.h> -+# include <sys/kbio.h> -+#else -+# include <machine/console.h> -+#endif - #define termio termios - #endif - #include <signal.h> -@@ -209,6 +215,9 @@ - } - if (FD_ISSET(0, &readFds)) { - i = read(0, buff, BUFSIZ); -+#if defined(__FreeBSD__) -+ i = cons25tovt100(buff, i, BUFSIZ); -+#endif - #if 1 - { - int k, l; -@@ -239,7 +248,7 @@ - PollCursor(TRUE); - } - if (FD_ISSET(sockFd, &readFds)) SocketInterface(sockFd); -- if (mInfo.has_mouse) { -+ if (mInfo.has_mouse && mouseFd > 0) { - if (FD_ISSET(mouseFd, &readFds) && con.active) { - i = read(mouseFd, buff, BUFSIZ); - if (i > 0) MouseGetPacket(buff, i); diff --git a/korean/han/files/patch-ag b/korean/han/files/patch-ag deleted file mode 100644 index 66ac5d73c41c..000000000000 --- a/korean/han/files/patch-ag +++ /dev/null @@ -1,103 +0,0 @@ ---- src/utmp.c.orig Fri Jan 24 09:37:28 1997 -+++ src/utmp.c Sat Apr 26 21:50:30 1997 -@@ -41,20 +41,32 @@ - #include <utmp.h> - #include <grp.h> - #include <sys/stat.h> -+#if defined(__FreeBSD__) -+#include <ttyent.h> -+#endif - -+#if !defined(__FreeBSD__) - static int ttyGid; -+#else -+static gid_t ttyGid; -+static int ts; -+#endif - - void SetUtmp(char *tty) - { --#ifdef linux - struct utmp utmp; - struct passwd *pw; - struct group *ttygrp; - char *tn; -+#if defined(__FreeBSD__) -+ struct ttyent *ttyp; -+ int fd, i; -+#endif - - pw = getpwuid(getuid()); - tn = rindex(tty, '/') + 1; - memset((char *)&utmp, 0, sizeof(utmp)); -+#if !defined(__FreeBSD__) - strncpy(utmp.ut_id, tn + 3, sizeof(utmp.ut_id)); - utmp.ut_type = DEAD_PROCESS; - setutent(); -@@ -66,21 +78,43 @@ - time(&(utmp.ut_time)); - pututline(&utmp); - endutent(); -+#else -+ time(&(utmp.ut_time)); -+ strncpy(utmp.ut_name, pw->pw_name, sizeof(utmp.ut_name)); -+ strncpy(utmp.ut_line, tn, sizeof(utmp.ut_line)); -+ setttyent(); -+ ts = 0; -+ for (i = 1; (ttyp = getttyent()); ++i) -+ if (!strcmp(ttyp->ty_name,tn)) { -+ ts = i; -+ break; -+ } -+ endttyent(); -+ if (ts > 0 && (fd = open(_PATH_UTMP, O_WRONLY|O_CREAT, 0644)) >= 0) { -+ lseek(fd, (ts*sizeof(struct utmp)), L_SET); -+ write(fd, &utmp, sizeof(struct utmp)); -+ close(fd); -+ } -+#endif - if ((ttygrp = getgrnam("tty")) != NULL) - ttyGid = ttygrp->gr_gid; - else - ttyGid = -1; - chmod(tty, 0622); - chown(tty, getuid(), ttyGid); --#endif - } - - void ResetUtmp(char *tty) - { --#ifdef linux -+#if !defined(__FreeBSD__) - struct utmp utmp, *utp; - char *tn; -+#else -+ struct utmp utmp; -+ int fd; -+#endif - -+#if !defined(__FreeBSD__) - tn = rindex(tty, '/') + 4; - memset((char *)&utmp, 0, sizeof(utmp)); - strncpy(utmp.ut_id, tn, sizeof(utmp.ut_id)); -@@ -93,7 +127,19 @@ - time(&(utp->ut_time)); - pututline(utp); - endutent(); -+#else -+ if (ts > 0 && (fd = open(_PATH_UTMP, O_RDWR, 0)) >= 0) { -+ lseek(fd, (ts*sizeof(struct utmp)), L_SET); -+ if (read(fd, &utmp, sizeof(struct utmp)) == sizeof(struct utmp)) { -+ bzero(utmp.ut_name, sizeof(utmp.ut_name)); -+ bzero(utmp.ut_host, sizeof(utmp.ut_host)); -+ time(&utmp.ut_time); -+ lseek(fd, (ts*sizeof(struct utmp)), L_SET); -+ write(fd, &utmp, sizeof(struct utmp)); -+ } -+ close(fd); -+ } -+#endif - chmod(tty, 0600); - chown(tty, 0, ttyGid); --#endif - } diff --git a/korean/han/files/patch-ah b/korean/han/files/patch-ah deleted file mode 100644 index 952f34d0e564..000000000000 --- a/korean/han/files/patch-ah +++ /dev/null @@ -1,38 +0,0 @@ ---- src/display/vga.c.orig Wed Apr 9 21:34:02 1997 -+++ src/display/vga.c Tue Feb 20 23:39:29 2001 -@@ -42,7 +42,13 @@ - #elif defined(__FreeBSD__) - #include <vm/vm_param.h> - #include <sys/ioctl.h> --#include <machine/console.h> -+#include <osreldate.h> -+#if __FreeBSD_version >= 410000 -+# include <sys/consio.h> -+# include <sys/kbio.h> -+#else -+# include <machine/console.h> -+#endif - vm_size_t page_size; - #endif - #undef free -@@ -379,7 +385,7 @@ - /* if (!code) return;*/ - VgaSetColor(fc); - if (bc & 0x8) *(vcls - dInfo.glineByte) = 0; -- for (x = 0;x < sbFReg->high;x ++, code ++, fm >>= 1) { -+ if (code) for (x = 0;x < sbFReg->high;x ++, code ++, fm >>= 1) { - if (*code) { - VgaOutByte(*code); - *gram = *gram; -@@ -617,7 +623,11 @@ - Perror("ioctl CONSOLE_IO_ENABLE/KDSETMODE"); - return FAILURE; - } -+#if (__FreeBSD__ <= 3) - if ((devMem = open("/dev/vga", O_RDWR|O_NDELAY) ) < 0) { -+#else -+ if ((devMem = open("/dev/mem", O_RDWR|O_NDELAY) ) < 0) { -+#endif - Perror("/dev/mem"); - return FAILURE; - } diff --git a/korean/han/files/patch-ak b/korean/han/files/patch-ak deleted file mode 100644 index bd724bb48035..000000000000 --- a/korean/han/files/patch-ak +++ /dev/null @@ -1,25 +0,0 @@ ---- include/vt.h.orig Fri Jan 24 16:08:13 1997 -+++ include/vt.h Sat Aug 7 05:06:49 1999 -@@ -59,7 +59,12 @@ - ins, - active, - wrap, -+#if defined(__FreeBSD__) -+ text_mode, -+ cursor_key_mode; -+#else - text_mode; -+#endif - }; - - extern struct _con_info con; -@@ -75,6 +80,9 @@ - extern void VtStart(void); - extern void VtEmu(const char*, int nchars); - extern void VtCleanup(void); -+#if defined(__FreeBSD__) -+extern int cons25tovt100(u_char *buff, int len, const int max); -+#endif - - #define sjistojis(ch, cl)\ - {\ diff --git a/korean/han/files/patch-al b/korean/han/files/patch-al deleted file mode 100644 index 5555214c56d5..000000000000 --- a/korean/han/files/patch-al +++ /dev/null @@ -1,159 +0,0 @@ ---- src/vt.c.orig Sat Jan 25 17:55:02 1997 -+++ src/vt.c Sat Aug 7 05:09:15 1999 -@@ -185,6 +185,11 @@ - static void VtSetMode(u_char mode, bool sw) - { - switch(mode) { -+#if defined(__FreeBSD__) -+ case 1: -+ con.cursor_key_mode = sw; -+ break; -+#endif - case 4: - con.ins = sw; - break; -@@ -654,4 +659,144 @@ - con.sb = lInfo.sb; - con.db = lInfo.db|LATCH_1; - con.active = cInfo.sw = TRUE; -+#if defined(__FreeBSD__) -+ con.cursor_key_mode = FALSE; -+#endif - } -+ -+#if defined(__FreeBSD__) -+ -+static int ReplaceString(char *sp, const int len, const int maxlen, -+ const int oldlen, const char *newstr) -+{ -+ int newlen, copylen, diff; -+ -+ newlen = strlen(newstr); -+ diff = newlen - oldlen; -+ copylen = len - oldlen; -+ -+ if(len + diff > maxlen){ -+ diff -= (len + diff - maxlen); -+ copylen = maxlen - newlen; -+ } -+ if(copylen > 0) -+ memcpy(sp + newlen, sp + oldlen, copylen); -+ -+ copylen = newlen; -+ if(newlen > maxlen){ -+ copylen = maxlen; -+ diff = maxlen - len; -+ } -+ if(copylen > 0) -+ memcpy(sp, newstr, copylen); -+ -+ return(diff); -+} -+ -+int cons25tovt100(u_char *buff, int len, const int max) -+{ -+ u_char *p; -+ int i; -+ int newlen = len; -+ -+ p = buff; -+ -+ for(i=0; i<newlen; i++, p++){ -+ switch(*p){ -+ case '\177': -+ newlen += ReplaceString(p, len-i, max-i, 1, "\x1b[3~"); -+ i += 3; p += 3; -+ break; -+ case '\033': /* ESC */ -+ if(i + 2 <= newlen && *(p+1) == '['){ -+ switch(*(p+2)){ -+ case 'A': /* up arrow */ -+ if(con.cursor_key_mode) -+ newlen += ReplaceString(p, len-i, max-i, 3, "\x1bOA"); -+ break; -+ case 'B': /* down arrow */ -+ if(con.cursor_key_mode) -+ newlen += ReplaceString(p, len-i, max-i, 3, "\x1bOB"); -+ break; -+ case 'C': /* right arrow */ -+ if(con.cursor_key_mode) -+ newlen += ReplaceString(p, len-i, max-i, 3, "\x1bOC"); -+ break; -+ case 'D': /* left arrow */ -+ if(con.cursor_key_mode) -+ newlen += ReplaceString(p, len-i, max-i, 3, "\x1bOD"); -+ break; -+ case 'L': /* insert */ -+ newlen += ReplaceString(p, len-i, max-i, 3, "\x1b[2~"); -+ i++; p++; -+ break; -+ case 'H': /* home key */ -+ newlen += ReplaceString(p, len-i, max-i, 3, "\x1b[4~"); -+ i++; p++; -+ break; -+ case 'I': /* prev page */ -+ newlen += ReplaceString(p, len-i, max-i, 3, "\x1b[5~"); -+ i++; p++; -+ break; -+ case 'G': /* next page */ -+ newlen += ReplaceString(p, len-i, max-i, 3, "\x1b[6~"); -+ i++; p++; -+ break; -+ case 'M': /* F1 */ -+ newlen += ReplaceString(p, len-i, max-i, 3, "\x1b[11~"); -+ i += 2; p += 2; -+ break; -+ case 'N': /* F2 */ -+ newlen += ReplaceString(p, len-i, max-i, 3, "\x1b[12~"); -+ i += 2; p += 2; -+ break; -+ case 'O': /* F3 */ -+ newlen += ReplaceString(p, len-i, max-i, 3, "\x1b[13~"); -+ i += 2; p += 2; -+ break; -+ case 'P': /* F4 */ -+ newlen += ReplaceString(p, len-i, max-i, 3, "\x1b[14~"); -+ i += 2; p += 2; -+ break; -+ case 'Q': /* F5 */ -+ newlen += ReplaceString(p, len-i, max-i, 3, "\x1b[15~"); -+ i += 2; p += 2; -+ break; -+ case 'R': /* F6 */ -+ newlen += ReplaceString(p, len-i, max-i, 3, "\x1b[17~"); -+ i += 2; p += 2; -+ break; -+ case 'S': /* F7 */ -+ newlen += ReplaceString(p, len-i, max-i, 3, "\x1b[18~"); -+ i += 2; p += 2; -+ break; -+ case 'T': /* F8 */ -+ newlen += ReplaceString(p, len-i, max-i, 3, "\x1b[19~"); -+ i += 2; p += 2; -+ break; -+ case 'U': /* F9 */ -+ newlen += ReplaceString(p, len-i, max-i, 3, "\x1b[20~"); -+ i += 2; p += 2; -+ break; -+ case 'V': /* F10 */ -+ newlen += ReplaceString(p, len-i, max-i, 3, "\x1b[21~"); -+ i += 2; p += 2; -+ break; -+ case 'W': /* F11 */ -+ newlen += ReplaceString(p, len-i, max-i, 3, "\x1b[23~"); -+ i += 2; p += 2; -+ break; -+ case 'X': /* F12 */ -+ newlen += ReplaceString(p, len-i, max-i, 3, "\x1b[24~"); -+ i += 2; p += 2; -+ break; -+ } -+ i += 2; p += 2; -+ } -+ } -+ } -+ -+ return(newlen); -+} -+ -+#endif diff --git a/korean/han/files/patch-am b/korean/han/files/patch-am deleted file mode 100644 index 89c19f5d9b1c..000000000000 --- a/korean/han/files/patch-am +++ /dev/null @@ -1,15 +0,0 @@ ---- include/vga.h.orig Fri Jan 24 16:08:01 1997 -+++ include/vga.h Mon Jan 31 14:13:08 2000 -@@ -59,7 +59,11 @@ - #if defined(linux) - #define GRAPH_BASE 0xA0000 - #elif defined(__FreeBSD__) --#define GRAPH_BASE 0x0 -+# if (__FreeBSD__ <= 3) -+# define GRAPH_BASE 0x0 -+# else -+# define GRAPH_BASE 0xA0000 -+# endif - #endif - #define FONT_SIZE 0x2000 - diff --git a/korean/han/files/patch-ba b/korean/han/files/patch-ba deleted file mode 100644 index f47facb6fe2f..000000000000 --- a/korean/han/files/patch-ba +++ /dev/null @@ -1,35 +0,0 @@ -diff -ur include/mem.h.old include/mem.h ---- include/mem.h.old Tue Jan 25 20:16:57 2000 -+++ include/mem.h Tue Jan 25 20:30:48 2000 -@@ -46,6 +46,7 @@ - "d" ((u_short) port)); - } - -+#if 0 - static inline - void lzero(void *head, int n) - { -@@ -93,11 +94,23 @@ - "D" ((long)head) - :"cx","di"); - } -+#endif - - extern u_char PortInb(u_short); -+#if 1 -+#define bzero(b, len) bzero(b, len) -+#define bzero2(b, len) bzero(b, len) -+#define lzero(b, len) bzero(b, len) -+#define wzero(b, len) bzero(b, len) -+#define bmove(dst, src, len) bcopy(src, dst, len) -+#define brmove(dst, src, len) bcopy(src, dst, len) -+#define wmove(dst, src, len) bcopy(src, dst, len) -+#define lmove(dst, src, len) bcopy(src, dst, len) -+#else - extern void wzero(void *, int); - extern void wmove(void *, void *, int); - extern void lmove(void *, void *, int); -+#endif - extern void SafeFree(void **); - - #endif diff --git a/korean/han/files/patch-bb b/korean/han/files/patch-bb deleted file mode 100644 index fc703b8536b0..000000000000 --- a/korean/han/files/patch-bb +++ /dev/null @@ -1,19 +0,0 @@ -diff -ur lib/mem.c.old lib/mem.c ---- lib/mem.c.old Tue Jan 25 20:16:57 2000 -+++ lib/mem.c Tue Jan 25 20:28:18 2000 -@@ -44,6 +44,7 @@ - return(_rval); - } - -+#if 0 - void wzero(void *head, int n) - { - __asm__ ("cld\n\t" -@@ -76,6 +77,7 @@ - "S" ((long)src) - :"cx","di","si"); - } -+#endif - - void SafeFree(void **p) - { diff --git a/korean/han/files/patch-bc b/korean/han/files/patch-bc deleted file mode 100644 index 7cba6bf48f5f..000000000000 --- a/korean/han/files/patch-bc +++ /dev/null @@ -1,12 +0,0 @@ -diff -ur src/main.c.old src/main.c ---- src/main.c.old Tue Jan 25 20:16:57 2000 -+++ src/main.c Tue Jan 25 20:32:52 2000 -@@ -34,7 +34,7 @@ - #include <version.h> - #include <term.h> - --void main(int argc, const char *argv[]) -+int main(int argc, const char *argv[]) - { - char *p; - diff --git a/korean/han/files/patch-be b/korean/han/files/patch-be deleted file mode 100644 index e85ef0e9a9a0..000000000000 --- a/korean/han/files/patch-be +++ /dev/null @@ -1,12 +0,0 @@ ---- src/mouse.c.orig Mon Jan 27 20:40:27 1997 -+++ src/mouse.c Tue May 9 18:08:44 2000 -@@ -176,7 +176,8 @@ - - mouseType = MOUSE_NONE; - mInfo.has_mouse = FALSE; -- sscanf(config, "%s", name); -+ strncpy(name, config, MAX_COLS - 1); -+ name[MAX_COLS - 1] = '\0'; - for (p = mice; p->name != NULL; p++) { - if (strcasecmp(name, p->name) == 0) { - mouseType = p->type; diff --git a/korean/han/pkg-descr b/korean/han/pkg-descr deleted file mode 100644 index 337d472ce0b3..000000000000 --- a/korean/han/pkg-descr +++ /dev/null @@ -1,17 +0,0 @@ -HAN ---- - -HAN is a hangul console. This is an alpha version. Supported video card is -VGA only, and, supported font are Minix/V and BDF. This program requires -shared memory. HAN is derived from KON, a Kanji COnsole for Linux/FreeBSD. - -This version supports ko_KR.euc. - -Orignal kon written by manabe@papilio.tutics.tut.ac.jp. -FreeBSD port of kon is done by ogura@st.rim.or.jp. - -HAN written by nsroh@juno.kaist.ac.kr, hanmaum@baram.kaist.ac.kr. -FreeBSD port of HAN is done by yujeny@pandora.snu.ac.kr & cjh@FreeBSD.org. - --- -CHOI Junho <cjh@FreeBSD.org> diff --git a/korean/han/pkg-plist b/korean/han/pkg-plist deleted file mode 100644 index 919dcb87f6ed..000000000000 --- a/korean/han/pkg-plist +++ /dev/null @@ -1,8 +0,0 @@ -bin/han -bin/han.bin -bin/hanfld -etc/han.cfg -share/fonts/han/8x16pc.bdf.gz -share/fonts/han/h16m.bdf.gz -@dirrm share/fonts/han -@dirrm share/fonts |