aboutsummaryrefslogtreecommitdiffstats
path: root/chinese/zhcon/files
diff options
context:
space:
mode:
authorleeym <leeym@FreeBSD.org>2003-05-02 12:11:38 +0800
committerleeym <leeym@FreeBSD.org>2003-05-02 12:11:38 +0800
commitaf4e5a6881be70098a7dc4b251a89938cb114cf8 (patch)
treea5eb3e9290076dd8d5a1260123cfa85cb55bd9eb /chinese/zhcon/files
parentb25415ca65fc439b876767fc7c33d2de8c673d84 (diff)
downloadfreebsd-ports-gnome-af4e5a6881be70098a7dc4b251a89938cb114cf8.tar.gz
freebsd-ports-gnome-af4e5a6881be70098a7dc4b251a89938cb114cf8.tar.zst
freebsd-ports-gnome-af4e5a6881be70098a7dc4b251a89938cb114cf8.zip
update to zhcon-0.2.3
PR: 51625 Submitted by: Statue <statue@freebsd.sinica.edu.tw>
Diffstat (limited to 'chinese/zhcon/files')
-rw-r--r--chinese/zhcon/files/patch-configure11
-rw-r--r--chinese/zhcon/files/patch-intl::dcigettext.c15
-rw-r--r--chinese/zhcon/files/patch-src::Makefile.in26
-rw-r--r--chinese/zhcon/files/patch-src::graphdev.cpp11
-rw-r--r--chinese/zhcon/files/patch-src::zhcon.conf16
-rw-r--r--chinese/zhcon/files/patch-tools::Makefile.in20
6 files changed, 4 insertions, 95 deletions
diff --git a/chinese/zhcon/files/patch-configure b/chinese/zhcon/files/patch-configure
deleted file mode 100644
index a637d5e41923..000000000000
--- a/chinese/zhcon/files/patch-configure
+++ /dev/null
@@ -1,11 +0,0 @@
---- configure.orig Mon Jun 10 10:29:34 2002
-+++ configure Wed Nov 27 20:03:03 2002
-@@ -1671,7 +1671,7 @@
- fi
-
-
--ZHCON_LOCALE_DIR="/usr/share/locale"
-+ZHCON_LOCALE_DIR="/usr/local/share/locale"
-
- if test "$ZHCON_ARCH" = "freebsd";then
- echo $ac_n "checking for main in -lintl""... $ac_c" 1>&6
diff --git a/chinese/zhcon/files/patch-intl::dcigettext.c b/chinese/zhcon/files/patch-intl::dcigettext.c
deleted file mode 100644
index 4b9abc6b574b..000000000000
--- a/chinese/zhcon/files/patch-intl::dcigettext.c
+++ /dev/null
@@ -1,15 +0,0 @@
---- intl/dcigettext.c.orig Mon Nov 25 23:59:34 2002
-+++ intl/dcigettext.c Tue Nov 26 00:19:20 2002
-@@ -57,10 +57,12 @@
- #include <stdlib.h>
-
- #include <string.h>
-+#if 0
- #if !HAVE_STRCHR && !defined _LIBC
- # ifndef strchr
- # define strchr index
- # endif
-+#endif
- #endif
-
- #if defined HAVE_UNISTD_H || defined _LIBC
diff --git a/chinese/zhcon/files/patch-src::Makefile.in b/chinese/zhcon/files/patch-src::Makefile.in
index e8f75bad3e38..2de06833be7b 100644
--- a/chinese/zhcon/files/patch-src::Makefile.in
+++ b/chinese/zhcon/files/patch-src::Makefile.in
@@ -1,29 +1,11 @@
---- src/Makefile.in.orig Tue Jun 11 10:25:52 2002
-+++ src/Makefile.in Tue Nov 26 01:37:47 2002
-@@ -81,7 +81,7 @@
- LIB = @LIB@
- LIBICONV = @LIBICONV@
- LIBINTL = @LIBINTL@
--LIBS = @LIBS@
-+LIBS = -lintl -lcurses @LIBS@ -I/usr/lib
- LN_S = @LN_S@
- LTLIB = @LTLIB@
- LTLIBICONV = @LTLIBICONV@
-@@ -117,7 +117,7 @@
- PROGRAMS = $(bin_PROGRAMS)
-
-
--DEFS = @DEFS@ -I. -I$(srcdir) -I..
-+DEFS = @DEFS@ -I. -I$(srcdir) -I.. -I/usr/include
- CPPFLAGS = @CPPFLAGS@
- zhcon_OBJECTS = basefont.o big52gbdecoder.o big5decoder.o configfile.o \
- console.o gb2big5decoder.o gbdecoder.o gbkdecoder.o graphdev.o \
-@@ -395,7 +395,7 @@
+--- src/Makefile.in.orig Thu Apr 17 19:29:48 2003
++++ src/Makefile.in Wed Apr 30 21:10:39 2003
+@@ -478,7 +478,7 @@
install-data-local:
$(mkinstalldirs) $(DESTDIR)/etc
- $(INSTALL_DATA) $(srcdir)/zhcon.conf $(DESTDIR)/etc/zhcon.conf
+ $(INSTALL_DATA) $(srcdir)/zhcon.conf $(PREFIX)/etc/zhcon.conf
- $(INSTALL_DATA) $(srcdir)/zhcon.conf $(PREFIX)/etc/zhcon.conf.sample
uninstall-local:
+ -rm -f $(DESTDIR)/etc/zhcon.conf
diff --git a/chinese/zhcon/files/patch-src::graphdev.cpp b/chinese/zhcon/files/patch-src::graphdev.cpp
deleted file mode 100644
index 65e81c9c89b2..000000000000
--- a/chinese/zhcon/files/patch-src::graphdev.cpp
+++ /dev/null
@@ -1,11 +0,0 @@
---- src/graphdev.cpp.ori Tue Apr 9 14:54:28 2002
-+++ src/graphdev.cpp Tue Apr 9 15:27:14 2002
-@@ -29,7 +29,7 @@
-
- #include "display/fbdev.h"
- #include "display/vgadev.h"
--#if defined(linux)
-+#if defined(linux) || defined(__FreeBSD__)
- #ifdef HAVE_GGI_LIB
- #include "display/libggi.h"
- #endif
diff --git a/chinese/zhcon/files/patch-src::zhcon.conf b/chinese/zhcon/files/patch-src::zhcon.conf
deleted file mode 100644
index e96b3980b367..000000000000
--- a/chinese/zhcon/files/patch-src::zhcon.conf
+++ /dev/null
@@ -1,16 +0,0 @@
---- src/zhcon.conf.orig Tue Nov 26 02:03:39 2002
-+++ src/zhcon.conf Tue Nov 26 02:03:50 2002
-@@ -34,10 +34,10 @@
- # FreeBSD wizard and ask him to compile a new kernel with VESA support
- # for you and ... emmmm ... explain all these stuff to you ...
- #
--x_resolution = 800
--y_resolution = 600
-+x_resolution = 640
-+y_resolution = 480
- # 4 bits = 16 colors, 8 bits = 256 colors, 16 bits = 64K colors, and so on..
--color_depth = 8
-+color_depth = 4
-
- #blanklineheight must >= 0
- blanklineheight = 1
diff --git a/chinese/zhcon/files/patch-tools::Makefile.in b/chinese/zhcon/files/patch-tools::Makefile.in
deleted file mode 100644
index 5b6ba4c56bb3..000000000000
--- a/chinese/zhcon/files/patch-tools::Makefile.in
+++ /dev/null
@@ -1,20 +0,0 @@
---- tools/Makefile.in.orig Mon Nov 25 23:45:33 2002
-+++ tools/Makefile.in Mon Nov 25 23:49:43 2002
-@@ -107,7 +107,7 @@
- LDFLAGS =
- CXXFLAGS =
- CCFLAGS =
--LIBS =
-+LIBS = -lX11 -L/usr/X11R6/lib
-
- EXTRA_DIST = README getbpsf.txt gpm-1.19.6-pty.diff gpm-1.19.6-patched.tar.gz
- mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
-@@ -116,7 +116,7 @@
- PROGRAMS = $(bin_PROGRAMS)
-
-
--DEFS = @DEFS@ -I. -I$(srcdir) -I..
-+DEFS = @DEFS@ -I. -I$(srcdir) -I.. -I/usr/X11R6/include
- CPPFLAGS = @CPPFLAGS@
- uc2win_OBJECTS = uc2win.o
- uc2win_LDADD = $(LDADD)