From owner-ports-jp@jp.freebsd.org  Mon Mar 12 21:16:29 2001
Received: (from daemon@localhost)
	by castle.jp.freebsd.org (8.9.3+3.2W/8.7.3) id VAA67902;
	Mon, 12 Mar 2001 21:16:29 +0900 (JST)
	(envelope-from owner-ports-jp@jp.FreeBSD.org)
Received: from c0mailgw03.prontomail.com (mailgw.prontomail.com [216.163.180.10])
	by castle.jp.freebsd.org (8.9.3+3.2W/8.7.3) with ESMTP id VAA67897
	for <ports-jp@jp.freebsd.org>; Mon, 12 Mar 2001 21:16:28 +0900 (JST)
	(envelope-from tkato@prontomail.ne.jp)
Received: from mail69.prontomail.com (209.185.149.169) by c0mailgw03.prontomail.com (NPlex 5.1.050)
        id 3AAC0C830001BCEF; Mon, 12 Mar 2001 04:15:50 -0800
Received: from c0web17 (216.163.180.10) by mail69.prontomail.com (NPlex 2.0.108); 12 Mar 2001 04:15:51 -0800
From: "KATO Tsuguru" <tkato@prontomail.ne.jp>
Message-Id: <E6B42EE7B8515D1178B300807CFB3248@tkato.prontomail.ne.jp>
Date: Mon, 12 Mar 2001 21:15:51 +0900
X-Priority: Normal
Content-Type: text/plain; charset=ISO-2022-JP
To: ports-jp@jp.freebsd.org
CC: mistral@imasy.or.jp
X-Mailer: Web Based Pronto
Mime-Version: 1.0
Content-Transfer-Encoding: 7bit
Reply-To: ports-jp@jp.freebsd.org
Precedence: list
X-Distribute: distribute version 2.1 (Alpha) patchlevel 24e+000315
X-Sequence: ports-jp 10828
Subject: [ports-jp 10828] Re: xcalendar
Errors-To: owner-ports-jp@jp.freebsd.org
Sender: owner-ports-jp@jp.freebsd.org
X-Originator: tkato@prontomail.ne.jp

> > - sys/dirent.h $B$rFI$`$3$H$K$h$k7Y9p(J
> 
>   $B$H$j$"$($:$[$C$F$*$/$3$H$K$7$^$7$?!#(J

$B0J2<$KIU$1$?%Q%C%A$G7Y9p$,>C$;$^$9!#(J

$B$J$*!"(Jpatch-aa$B$H(Jpatch-af$B$,F1$8%U%!%$%k$K%Q%C%A$r$"$F$F$$$?$N$G!"(J
patch-aa$B$N$[$&$KE}0l$7$F$"$j$^$9!#(J

>   $B$H$3$m$G(J pkg_delete $B$7$F$b(J catman $B$O>C$($J$$$N$G$9$,!"$=$l$O5$(J
> $B$K$7$J$/$F$b$$$$$G$9$+!)(J

$B$O$$!#(J

--- cut here ---
diff -urN xcalendar.orig/files/patch-aa xcalendar/files/patch-aa
--- xcalendar.orig/files/patch-aa	Sat Jan 20 23:45:14 2001
+++ xcalendar/files/patch-aa	Mon Mar 12 20:53:23 2001
@@ -1,5 +1,30 @@
---- xcalendar.c.orig Tue Jul  4 06:59:01 1995
-+++ xcalendar.c	Sat Jan 20 23:44:13 2001
+--- xcalendar.c.dist	Tue Jul  4 06:59:01 1995
++++ xcalendar.c	Mon Mar 12 20:53:10 2001
+@@ -1091,10 +1091,10 @@
+ struct tm      *
+ gettime()
+ {
+-    struct timeval  t;
++    time_t now;
+ 
+-    gettimeofday(&t, NULL);
+-    today = localtime(&t.tv_sec);
++    (void) time(&now);
++    today = localtime(&now);
+     return today;
+ }
+ 
+@@ -1827,8 +1827,8 @@
+ 		*sb++ = '1', *sb++ = '9';
+ 		/* fall thru */
+ 	    case 'y':
+-		*sb++ = tm.tm_year / 10 + '0';
+-		*sb++ = tm.tm_year % 10 + '0';
++		*sb++ = (tm.tm_year%100) / 10 + '0';
++		*sb++ = (tm.tm_year%100) % 10 + '0';
+ 		break;
+ 	    case '%':
+ 		*sb++ = *p;
 @@ -1869,6 +1869,13 @@
  	if (len == -1)
  	    return;
diff -urN xcalendar.orig/files/patch-ab xcalendar/files/patch-ab
--- xcalendar.orig/files/patch-ab	Sat Jan 20 23:41:38 2001
+++ xcalendar/files/patch-ab	Mon Mar 12 20:55:23 2001
@@ -1,5 +1,14 @@
 --- dayeditor.c.orig	Sun Oct  1 13:54:55 1995
-+++ dayeditor.c	Sat Jan 20 18:41:45 2001
++++ dayeditor.c	Mon Mar 12 20:55:07 2001
+@@ -236,7 +236,7 @@
+ {
+     char           *getenv();
+     DIR            *dirp;
+-#if defined (SYSV) || defined(__osf__) || defined(SVR4)
++#if defined (SYSV) || defined(__osf__) || defined(SVR4) || defined(HAVE_DIRENT_H)
+     struct dirent  *dp;
+ #else
+     struct direct  *dp;
 @@ -1068,7 +1068,7 @@
          XawTextSetSource(editor->holiday,
  #ifdef XI18N
diff -urN xcalendar.orig/files/patch-ad xcalendar/files/patch-ad
--- xcalendar.orig/files/patch-ad	Mon Mar 12 02:23:16 2001
+++ xcalendar/files/patch-ad	Mon Mar 12 20:54:47 2001
@@ -1,11 +1,20 @@
 --- Imakefile.orig	Sun Oct  1 12:19:17 1995
-+++ Imakefile	Mon Mar 12 02:22:44 2001
++++ Imakefile	Mon Mar 12 20:54:39 2001
 @@ -1,4 +1,5 @@
  XCALENDAR_LIBDIR = $(LIBDIR)/xcalendar
 +XCALENDAR_JP_LIBDIR = $(LIBDIR)/ja_JP.EUC/xcalendar
          LIBFILES = larrow.xbm qmark.xbm quit.xbm rarrow.xbm xcalendar.hlp
  # Comment out the following two lines for the Motif version
  LOCAL_LIBRARIES = $(XAWLIB) $(XMULIB) $(XTOOLLIB) $(XLIB)
+@@ -12,7 +13,7 @@
+ #
+ # for Internationalization
+ #
+-EXTRA_DEFINES = -DXI18N -DATHENA
++EXTRA_DEFINES = -DXI18N -DATHENA -DHAVE_DIRENT_H
+ ##if !SharedLibXwchar
+ #       _UseCat($(USRLIBDIR),$(CONTRIBSRC)/lib/Xwchar,/libXwchar.a)
+ #       XWCHARLIB = LoaderLibPrefix _Use(-lXwchar,$(DEPXWCHARLIB))
 @@ -40,12 +41,26 @@
  # for Internationalization
  #
diff -urN xcalendar.orig/files/patch-ae xcalendar/files/patch-ae
--- xcalendar.orig/files/patch-ae	Sun Mar 11 01:36:29 2001
+++ xcalendar/files/patch-ae	Thu Jan  1 09:00:00 1970
@@ -1,27 +0,0 @@
---- xcalendar.c.orig	Tue Jul  4 06:59:01 1995
-+++ xcalendar.c	Sun Mar 11 01:36:04 2001
-@@ -1091,10 +1091,10 @@
- struct tm      *
- gettime()
- {
--    struct timeval  t;
-+    time_t now;
- 
--    gettimeofday(&t, NULL);
--    today = localtime(&t.tv_sec);
-+    (void) time(&now);
-+    today = localtime(&now);
-     return today;
- }
- 
-@@ -1827,8 +1827,8 @@
- 		*sb++ = '1', *sb++ = '9';
- 		/* fall thru */
- 	    case 'y':
--		*sb++ = tm.tm_year / 10 + '0';
--		*sb++ = tm.tm_year % 10 + '0';
-+		*sb++ = (tm.tm_year%100) / 10 + '0';
-+		*sb++ = (tm.tm_year%100) % 10 + '0';
- 		break;
- 	    case '%':
- 		*sb++ = *p;
diff -urN xcalendar.orig/files/patch-ag xcalendar/files/patch-ag
--- xcalendar.orig/files/patch-ag	Thu Jan  1 09:00:00 1970
+++ xcalendar/files/patch-ag	Mon Mar 12 20:54:21 2001
@@ -0,0 +1,11 @@
+--- xcalendar.h.orig	Sun Oct  1 12:21:42 1995
++++ xcalendar.h	Mon Mar 12 20:54:02 2001
+@@ -75,7 +75,7 @@
+ #include <X11/Xaw/Xawi18n.h>
+ #endif
+ 
+-#if defined(SYSV) || defined(__osf__) || defined(SVR4)
++#if defined(SYSV) || defined(__osf__) || defined(SVR4) || defined(HAVE_DIRENT_H)
+ #include <dirent.h>
+ #else
+ #include <sys/dir.h>
--- cut here ---


-- 
KATO Tsuguru / tkato@prontomail.ne.jp
                             
Sent by Japanese ProntoMail
