[36197] trunk/dports/sysutils/FDclone

takanori at macports.org takanori at macports.org
Tue Apr 22 04:22:14 PDT 2008


Revision: 36197
          http://trac.macosforge.org/projects/macports/changeset/36197
Author:   takanori at macports.org
Date:     2008-04-22 04:22:14 -0700 (Tue, 22 Apr 2008)

Log Message:
-----------
FDclone: version bump to 2.09i

Modified Paths:
--------------
    trunk/dports/sysutils/FDclone/Portfile

Removed Paths:
-------------
    trunk/dports/sysutils/FDclone/files/patch-kanjicnv.c.diff
    trunk/dports/sysutils/FDclone/files/patch-libc.c.diff
    trunk/dports/sysutils/FDclone/files/patch-printf.h.diff
    trunk/dports/sysutils/FDclone/files/patch-termio.c.diff

Modified: trunk/dports/sysutils/FDclone/Portfile
===================================================================
--- trunk/dports/sysutils/FDclone/Portfile	2008-04-22 11:17:38 UTC (rev 36196)
+++ trunk/dports/sysutils/FDclone/Portfile	2008-04-22 11:22:14 UTC (rev 36197)
@@ -3,7 +3,7 @@
 PortSystem      1.0
 
 name            FDclone
-version         2.09h
+version         2.09i
 categories      sysutils shells
 maintainers     takanori
 description     File & Directory Maintenance Tool
@@ -14,12 +14,10 @@
 master_sites    http://hp.vector.co.jp/authors/VA012337/soft/fd/ \
                 ftp://ftp.unixusers.net/src/fdclone/
 distname        FD-${version}
-patchfiles      patch-Makefile.in.diff \
-		patch-kanjicnv.c.diff patch-printf.h.diff patch-termio.c.diff \
-		patch-libc.c.diff
-checksums       md5 5252ba416b0043f05043d51630295ff4 \
-                sha1 587f378ba457bd9028c26df22cfc8c6d92f69a36 \
-                rmd160 387df88ac16ddc67b0f9255023700c2a619ef0cb
+patchfiles      patch-Makefile.in.diff
+checksums       md5 460a1a1df609f1d0acfb4806c1548de6 \
+                sha1 6f7e3c3e3391f350dc20d4cdd961018f87127ffd \
+                rmd160 4c7f87ff2a7bb9813c606aac054633ea9a696af0
 
 depends_lib     port:ncurses
 
@@ -35,9 +33,9 @@
     if {${pager} != ""} { reinplace "s|\"more%K\"|\"${pager}\"|g" ${worksrcpath}/fd.h }
 
     if {[variant_isset autosort]} {
-        reinplace "s|SORTTYPE\t0|SORTTYPE\t1|" ${worksrcpath}/fd.h
-        reinplace "s|DISPLAYMODE\t0|DISPLAYMODE\t3|" ${worksrcpath}/fd.h
-        reinplace "s|SORTTREE\t0|SORTTREE\t1|" ${worksrcpath}/fd.h
+        reinplace "s|SORTTYPE\t\t0|SORTTYPE\t\t1|" ${worksrcpath}/fd.h
+        reinplace "s|DISPLAYMODE\t\t0|DISPLAYMODE\t\t3|" ${worksrcpath}/fd.h
+        reinplace "s|SORTTREE\t\t0|SORTTREE\t\t1|" ${worksrcpath}/fd.h
     }
 }
 

Deleted: trunk/dports/sysutils/FDclone/files/patch-kanjicnv.c.diff
===================================================================
--- trunk/dports/sysutils/FDclone/files/patch-kanjicnv.c.diff	2008-04-22 11:17:38 UTC (rev 36196)
+++ trunk/dports/sysutils/FDclone/files/patch-kanjicnv.c.diff	2008-04-22 11:22:14 UTC (rev 36197)
@@ -1,10 +0,0 @@
---- kanjicnv.c.orig	2008-03-15 00:00:00.000000000 +0900
-+++ kanjicnv.c	2008-04-14 19:22:35.000000000 +0900
-@@ -7,6 +7,7 @@
- #include "machine.h"
- #include <stdio.h>
- #include <string.h>
-+#include <sys/types.h>
- 
- #ifndef	NOUNISTDH
- #include <unistd.h>

Deleted: trunk/dports/sysutils/FDclone/files/patch-libc.c.diff
===================================================================
--- trunk/dports/sysutils/FDclone/files/patch-libc.c.diff	2008-04-22 11:17:38 UTC (rev 36196)
+++ trunk/dports/sysutils/FDclone/files/patch-libc.c.diff	2008-04-22 11:22:14 UTC (rev 36197)
@@ -1,31 +0,0 @@
---- libc.c.orig	2008-03-15 00:00:00.000000000 +0900
-+++ libc.c	2008-04-14 19:33:37.000000000 +0900
-@@ -628,8 +628,8 @@
- 
- 	while (i < *lenp && s2[j]) {
- 		if (iskanji1(s2, j)) {
--			i += snprintf2(&(s1[i]), *lenp - i + 1,
--				"%.2s", &(s2[j]));
-+			snprintf2(&(s1[i]), *lenp - i + 1, "%.2s", &(s2[j]));
-+			i += strlen(&(s1[i]));
- 			j += 2;
- 			continue;
- 		}
-@@ -642,13 +642,15 @@
- 		else if (isskana(s2, j)) /*EMPTY*/;
- #endif
- 		else if (iscntrl2(s2[j])) {
--			i += snprintf2(&(s1[i]), *lenp - i + 1,
-+			snprintf2(&(s1[i]), *lenp - i + 1,
- 				"^%c", (s2[j++] + '@') & 0x7f);
-+			i += strlen(&(s1[i]));
- 			continue;
- 		}
- 		else if (ismsb(s2[j])) {
--			i += snprintf2(&(s1[i]), *lenp - i + 1,
-+			snprintf2(&(s1[i]), *lenp - i + 1,
- 				"\\%03o", s2[j++] & 0xff);
-+			i += strlen(&(s1[i]));
- 			continue;
- 		}
- 		s1[i++] = s2[j++];

Deleted: trunk/dports/sysutils/FDclone/files/patch-printf.h.diff
===================================================================
--- trunk/dports/sysutils/FDclone/files/patch-printf.h.diff	2008-04-22 11:17:38 UTC (rev 36196)
+++ trunk/dports/sysutils/FDclone/files/patch-printf.h.diff	2008-04-22 11:22:14 UTC (rev 36197)
@@ -1,15 +0,0 @@
---- printf.h.orig	2008-03-15 00:00:00.000000000 +0900
-+++ printf.h	2008-04-14 19:25:10.000000000 +0900
-@@ -7,6 +7,12 @@
- #ifndef	__PRINTF_H_
- #define	__PRINTF_H_
- 
-+#ifndef	__SYS_TYPES_STAT_H_
-+#define	__SYS_TYPES_STAT_H_
-+#include <sys/types.h>
-+#include <sys/stat.h>
-+#endif
-+
- #ifdef	USESTDARGH
- #include <stdarg.h>
- #define	VA_START(a, f)		va_start(a, f)

Deleted: trunk/dports/sysutils/FDclone/files/patch-termio.c.diff
===================================================================
--- trunk/dports/sysutils/FDclone/files/patch-termio.c.diff	2008-04-22 11:17:38 UTC (rev 36196)
+++ trunk/dports/sysutils/FDclone/files/patch-termio.c.diff	2008-04-22 11:22:14 UTC (rev 36197)
@@ -1,15 +0,0 @@
---- termio.c.orig	2008-03-15 00:00:00.000000000 +0900
-+++ termio.c	2008-04-14 19:27:13.000000000 +0900
-@@ -396,8 +396,10 @@
- 	if (*fdp >= 0) fd = *fdp;
- 	else if ((fd = newdup(open(_PATH_TTY, flags, 0666))) < 0) return(-1);
- 	if (*fpp) fp = *fpp;
--	else if (!(fp = fdopen(fd, "w+b"))
--	&& !(fp = fopen(_PATH_TTY, "w+b"))) {
-+#ifndef	SELECTRWONLY
-+	else if ((fp = fdopen(fd, "w+b"))) /*EMPTY*/;
-+#endif
-+	else if (!(fp = fopen(_PATH_TTY, "w+b"))) {
- 		close(fd);
- 		return(-1);
- 	}

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080422/879ddae1/attachment.html


More information about the macports-changes mailing list