[32945] trunk/dports/x11/kxterm

ryandesign at macports.org ryandesign at macports.org
Tue Jan 15 04:01:24 PST 2008


Revision: 32945
          http://trac.macosforge.org/projects/macports/changeset/32945
Author:   ryandesign at macports.org
Date:     2008-01-15 04:01:19 -0800 (Tue, 15 Jan 2008)

Log Message:
-----------
kxterm: fix names of patchfiles to match recommendations

Modified Paths:
--------------
    trunk/dports/x11/kxterm/Portfile

Added Paths:
-----------
    trunk/dports/x11/kxterm/files/patch-CXterm.ad.diff
    trunk/dports/x11/kxterm/files/patch-cxterm_Imakefile.diff
    trunk/dports/x11/kxterm/files/patch-cxterm_misc.c.diff

Removed Paths:
-------------
    trunk/dports/x11/kxterm/files/patch-CXterm.ad
    trunk/dports/x11/kxterm/files/patch-cxterm_Imakefile
    trunk/dports/x11/kxterm/files/patch-cxterm_misc.c

Modified: trunk/dports/x11/kxterm/Portfile
===================================================================
--- trunk/dports/x11/kxterm/Portfile	2008-01-15 11:58:22 UTC (rev 32944)
+++ trunk/dports/x11/kxterm/Portfile	2008-01-15 12:01:19 UTC (rev 32945)
@@ -30,7 +30,7 @@
 
 depends_build		bin:xmkmf:XFree86
 
-patchfiles			patch-cxterm_misc.c patch-CXterm.ad
+patchfiles			patch-cxterm_misc.c.diff patch-CXterm.ad.diff
 
 configure {
 	system "cd ${worksrcpath} && xmkmf"
@@ -112,6 +112,6 @@
 }
 
 platform darwin {
-	patchfiles-append	patch-cxterm_Imakefile
+	patchfiles-append	patch-cxterm_Imakefile.diff
 }
 

Deleted: trunk/dports/x11/kxterm/files/patch-CXterm.ad
===================================================================
--- trunk/dports/x11/kxterm/files/patch-CXterm.ad	2008-01-15 11:58:22 UTC (rev 32944)
+++ trunk/dports/x11/kxterm/files/patch-CXterm.ad	2008-01-15 12:01:19 UTC (rev 32945)
@@ -1,34 +0,0 @@
---- CXterm.ad.orig	Sun Sep 14 11:25:49 1997
-+++ CXterm.ad	Fri May 14 02:43:16 2004
-@@ -7,6 +7,7 @@
- !
- cxterm*HanziEncoding:		GB
- cxterm*hanziInputDir:		cxterm-5.0/dict/gb
-+cxterm*kxDictDir:			cxterm-5.0/dict/gb
- cxterm*hanziAssociation:	simple.lx
- cxterm*hanziFont:		hanzigb16st
- cxterm*hanziBoldFont:
-@@ -56,6 +57,7 @@
- !
- cxtermb5*HanziEncoding:		BIG5
- cxtermb5*hanziInputDir:		cxterm-5.0/dict/big5
-+cxtermb5*kxDictDir:			cxterm-5.0/dict/big5
- cxtermb5*hanziAssociation:	simple.lx
- cxtermb5*hanziFont:		hku16et
- cxtermb5*hanziBoldFont:
-@@ -102,6 +104,7 @@
- !
- cxtermjis*HanziEncoding:	JIS
- cxtermjis*hanziInputDir:	cxterm-5.0/dict/jis
-+cxtermjis*kxDictDir:			cxterm-5.0/dict/jis
- cxtermjis*hanziFont:		jiskan16
- cxtermjis*hanziBoldFont:
- cxtermjis*font:			8x16
-@@ -138,6 +141,7 @@
- !
- cxtermks*HanziEncoding:		KS
- cxtermks*hanziInputDir:		cxterm-5.0/dict/ks
-+cxtermks*kxDictDir:			cxterm-5.0/dict/ks
- cxtermks*hanziAssociation:	simple.lx
- cxtermks*hanziFont:		hanglm16
- cxtermks*hanziBoldFont:

Copied: trunk/dports/x11/kxterm/files/patch-CXterm.ad.diff (from rev 32935, trunk/dports/x11/kxterm/files/patch-CXterm.ad)
===================================================================
--- trunk/dports/x11/kxterm/files/patch-CXterm.ad.diff	                        (rev 0)
+++ trunk/dports/x11/kxterm/files/patch-CXterm.ad.diff	2008-01-15 12:01:19 UTC (rev 32945)
@@ -0,0 +1,34 @@
+--- CXterm.ad.orig	Sun Sep 14 11:25:49 1997
++++ CXterm.ad	Fri May 14 02:43:16 2004
+@@ -7,6 +7,7 @@
+ !
+ cxterm*HanziEncoding:		GB
+ cxterm*hanziInputDir:		cxterm-5.0/dict/gb
++cxterm*kxDictDir:			cxterm-5.0/dict/gb
+ cxterm*hanziAssociation:	simple.lx
+ cxterm*hanziFont:		hanzigb16st
+ cxterm*hanziBoldFont:
+@@ -56,6 +57,7 @@
+ !
+ cxtermb5*HanziEncoding:		BIG5
+ cxtermb5*hanziInputDir:		cxterm-5.0/dict/big5
++cxtermb5*kxDictDir:			cxterm-5.0/dict/big5
+ cxtermb5*hanziAssociation:	simple.lx
+ cxtermb5*hanziFont:		hku16et
+ cxtermb5*hanziBoldFont:
+@@ -102,6 +104,7 @@
+ !
+ cxtermjis*HanziEncoding:	JIS
+ cxtermjis*hanziInputDir:	cxterm-5.0/dict/jis
++cxtermjis*kxDictDir:			cxterm-5.0/dict/jis
+ cxtermjis*hanziFont:		jiskan16
+ cxtermjis*hanziBoldFont:
+ cxtermjis*font:			8x16
+@@ -138,6 +141,7 @@
+ !
+ cxtermks*HanziEncoding:		KS
+ cxtermks*hanziInputDir:		cxterm-5.0/dict/ks
++cxtermks*kxDictDir:			cxterm-5.0/dict/ks
+ cxtermks*hanziAssociation:	simple.lx
+ cxtermks*hanziFont:		hanglm16
+ cxtermks*hanziBoldFont:

Deleted: trunk/dports/x11/kxterm/files/patch-cxterm_Imakefile
===================================================================
--- trunk/dports/x11/kxterm/files/patch-cxterm_Imakefile	2008-01-15 11:58:22 UTC (rev 32944)
+++ trunk/dports/x11/kxterm/files/patch-cxterm_Imakefile	2008-01-15 12:01:19 UTC (rev 32945)
@@ -1,11 +0,0 @@
---- cxterm/Imakefile.orig	Wed Sep 13 00:31:42 1995
-+++ cxterm/Imakefile	Fri May 14 01:01:43 2004
-@@ -23,7 +23,7 @@
-          PTYLIB = -lpucc
- #endif
- 
--        DEFINES = -DKXTERM -DHANZI $(X_COMPATIBLE_FLAGS)
-+        DEFINES = -DKXTERM -DHANZI -DHAVE_SYS_ERR $(X_COMPATIBLE_FLAGS)
- 
-  OSMAJORVERSION = OSMajorVersion
-  OSMINORVERSION = OSMinorVersion

Copied: trunk/dports/x11/kxterm/files/patch-cxterm_Imakefile.diff (from rev 32935, trunk/dports/x11/kxterm/files/patch-cxterm_Imakefile)
===================================================================
--- trunk/dports/x11/kxterm/files/patch-cxterm_Imakefile.diff	                        (rev 0)
+++ trunk/dports/x11/kxterm/files/patch-cxterm_Imakefile.diff	2008-01-15 12:01:19 UTC (rev 32945)
@@ -0,0 +1,11 @@
+--- cxterm/Imakefile.orig	Wed Sep 13 00:31:42 1995
++++ cxterm/Imakefile	Fri May 14 01:01:43 2004
+@@ -23,7 +23,7 @@
+          PTYLIB = -lpucc
+ #endif
+ 
+-        DEFINES = -DKXTERM -DHANZI $(X_COMPATIBLE_FLAGS)
++        DEFINES = -DKXTERM -DHANZI -DHAVE_SYS_ERR $(X_COMPATIBLE_FLAGS)
+ 
+  OSMAJORVERSION = OSMajorVersion
+  OSMINORVERSION = OSMinorVersion

Deleted: trunk/dports/x11/kxterm/files/patch-cxterm_misc.c
===================================================================
--- trunk/dports/x11/kxterm/files/patch-cxterm_misc.c	2008-01-15 11:58:22 UTC (rev 32944)
+++ trunk/dports/x11/kxterm/files/patch-cxterm_misc.c	2008-01-15 12:01:19 UTC (rev 32945)
@@ -1,13 +0,0 @@
---- cxterm/misc.c.orig	Wed Sep 20 18:19:36 1995
-+++ cxterm/misc.c	Fri May 14 00:57:56 2004
-@@ -796,8 +796,10 @@
- char *SysErrorMsg (n)
-     int n;
- {
-+#ifndef HAVE_SYS_ERR
-     extern char *sys_errlist[];
-     extern int sys_nerr;
-+#endif
- 
-     return ((n >= 0 && n < sys_nerr) ? sys_errlist[n] : "unknown error");
- }

Copied: trunk/dports/x11/kxterm/files/patch-cxterm_misc.c.diff (from rev 32935, trunk/dports/x11/kxterm/files/patch-cxterm_misc.c)
===================================================================
--- trunk/dports/x11/kxterm/files/patch-cxterm_misc.c.diff	                        (rev 0)
+++ trunk/dports/x11/kxterm/files/patch-cxterm_misc.c.diff	2008-01-15 12:01:19 UTC (rev 32945)
@@ -0,0 +1,13 @@
+--- cxterm/misc.c.orig	Wed Sep 20 18:19:36 1995
++++ cxterm/misc.c	Fri May 14 00:57:56 2004
+@@ -796,8 +796,10 @@
+ char *SysErrorMsg (n)
+     int n;
+ {
++#ifndef HAVE_SYS_ERR
+     extern char *sys_errlist[];
+     extern int sys_nerr;
++#endif
+ 
+     return ((n >= 0 && n < sys_nerr) ? sys_errlist[n] : "unknown error");
+ }

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080115/4b8bca8c/attachment-0001.html


More information about the macports-changes mailing list