pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

xdiary: remove, imported in te main tree.



Module Name:	pkgsrc-wip
Committed By:	Paolo Vincenzo Olivo <vms%retrobsd.ddns.net@localhost>
Pushed By:	vms
Date:		Sun Jan 22 21:11:35 2023 +0100
Changeset:	6d2b97d279cf2b728a4229fb35501f5624cc7540

Modified Files:
	Makefile
Removed Files:
	xdiary/DESCR
	xdiary/MESSAGE
	xdiary/Makefile
	xdiary/PLIST
	xdiary/distinfo
	xdiary/patches/patch-XDiary.tmpl
	xdiary/patches/patch-dtools_xtmCalendar.c
	xdiary/patches/patch-dtools_xtmDbTools.c
	xdiary/patches/patch-dtools_xtmEditEntry.c
	xdiary/patches/patch-dtools_xtmMsgSelect.c
	xdiary/patches/patch-dtools_xtmMsgSend.c
	xdiary/patches/patch-dtools_xtmPlan.c
	xdiary/patches/patch-dtools_xtmPrEntries.c
	xdiary/patches/patch-dtools_xtmReminder.c
	xdiary/patches/patch-dtools_xtmSchedAct.c
	xdiary/patches/patch-dtools_xtmSchedMain.c
	xdiary/patches/patch-dtools_xtmShowToDo.c
	xdiary/patches/patch-tools_SigHandler.c
	xdiary/patches/patch-tools_System.c
	xdiary/patches/patch-xdaclunix_xtmAclUnix.c
	xdiary/patches/patch-xdalarm_xtmAlarmProc.c
	xdiary/patches/patch-xdcustom_xtmCustom.c
	xdiary/patches/patch-xdiary_xtmDiary.c
	xdiary/patches/patch-xdlight_xtmDiaryLgt.c
	xdiary/patches/patch-xdnotify_xtmNotify.c
	xdiary/patches/patch-xdprformat_xtmPrFormat.c
	xdiary/patches/patch-xdremind_xtmRemMain.c
	xdiary/patches/patch-xdremove_xtmRemove.c
	xdiary/patches/patch-xdrestore_xtmRestore.c
	xdiary/patches/patch-xtools_XmUbTimeB.c
	xdiary/patches/patch-xtools_xitColorSel.c
	xdiary/patches/patch-xtools_xitError.c
	xdiary/patches/patch-xtools_xitInfoSrch.c
	xdiary/patches/patch-xtools_xitInfoToc.c
	xdiary/patches/patch-xtools_xitXmStr.c

Log Message:
xdiary: remove, imported in te main tree.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=6d2b97d279cf2b728a4229fb35501f5624cc7540

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile                                      |   1 -
 xdiary/DESCR                                  |   9 --
 xdiary/MESSAGE                                |   8 --
 xdiary/Makefile                               |  40 --------
 xdiary/PLIST                                  |  35 -------
 xdiary/distinfo                               |  35 -------
 xdiary/patches/patch-XDiary.tmpl              |  15 ---
 xdiary/patches/patch-dtools_xtmCalendar.c     |  41 ---------
 xdiary/patches/patch-dtools_xtmDbTools.c      |  87 ------------------
 xdiary/patches/patch-dtools_xtmEditEntry.c    |  32 -------
 xdiary/patches/patch-dtools_xtmMsgSelect.c    |  32 -------
 xdiary/patches/patch-dtools_xtmMsgSend.c      |  41 ---------
 xdiary/patches/patch-dtools_xtmPlan.c         | 117 ------------------------
 xdiary/patches/patch-dtools_xtmPrEntries.c    |  54 -----------
 xdiary/patches/patch-dtools_xtmReminder.c     |  41 ---------
 xdiary/patches/patch-dtools_xtmSchedAct.c     |  32 -------
 xdiary/patches/patch-dtools_xtmSchedMain.c    | 126 --------------------------
 xdiary/patches/patch-dtools_xtmShowToDo.c     |  54 -----------
 xdiary/patches/patch-tools_SigHandler.c       |  20 ----
 xdiary/patches/patch-tools_System.c           |  50 ----------
 xdiary/patches/patch-xdaclunix_xtmAclUnix.c   |  17 ----
 xdiary/patches/patch-xdalarm_xtmAlarmProc.c   |  17 ----
 xdiary/patches/patch-xdcustom_xtmCustom.c     |  70 --------------
 xdiary/patches/patch-xdiary_xtmDiary.c        |  15 ---
 xdiary/patches/patch-xdlight_xtmDiaryLgt.c    |  17 ----
 xdiary/patches/patch-xdnotify_xtmNotify.c     |  17 ----
 xdiary/patches/patch-xdprformat_xtmPrFormat.c |  14 ---
 xdiary/patches/patch-xdremind_xtmRemMain.c    |  17 ----
 xdiary/patches/patch-xdremove_xtmRemove.c     |  17 ----
 xdiary/patches/patch-xdrestore_xtmRestore.c   |  14 ---
 xdiary/patches/patch-xtools_XmUbTimeB.c       | 116 ------------------------
 xdiary/patches/patch-xtools_xitColorSel.c     |  23 -----
 xdiary/patches/patch-xtools_xitError.c        |  14 ---
 xdiary/patches/patch-xtools_xitInfoSrch.c     |  32 -------
 xdiary/patches/patch-xtools_xitInfoToc.c      |  32 -------
 xdiary/patches/patch-xtools_xitXmStr.c        |  17 ----
 36 files changed, 1319 deletions(-)

diffs:
diff --git a/Makefile b/Makefile
index 0cfe4bd924..dd769af0f2 100644
--- a/Makefile
+++ b/Makefile
@@ -6016,7 +6016,6 @@ SUBDIR+=	xbsql
 SUBDIR+=	xcape
 SUBDIR+=	xcb-util-xrm-git
 SUBDIR+=	xchat2-tcl
-SUBDIR+=	xdiary
 SUBDIR+=	xdiskusage
 SUBDIR+=	xebece
 SUBDIR+=	xemacs-hg
diff --git a/xdiary/DESCR b/xdiary/DESCR
deleted file mode 100644
index 52604c1545..0000000000
--- a/xdiary/DESCR
+++ /dev/null
@@ -1,9 +0,0 @@
-XDiary is a Motif/X Windows application that combines the functions of
-a desktop calendar, an appointment book and an alarm clock. XDiary
-will help you keep track of your meetings, appointments and plan
-your time.
-
-XDiary can be used as a stand-alone tool but it also contains all
-the functions necessary to be used as a group calendar. As a group
-calendar, XDiary will help you to plan meetings, distribute information
-to specific groups etc.
diff --git a/xdiary/MESSAGE b/xdiary/MESSAGE
deleted file mode 100644
index 18d2833ad6..0000000000
--- a/xdiary/MESSAGE
+++ /dev/null
@@ -1,8 +0,0 @@
-===========================================================================
-$NetBSD: MESSAGE,v 1.1 2022/12/30 18:17:48 vins Exp $
-
-To use XDiary, set the XAPPLRESDIR environmental variable as below:
-
-	export XAPPLRESDIR=${PREFIX}/lib/X11/app-defaults
-
-===========================================================================
diff --git a/xdiary/Makefile b/xdiary/Makefile
deleted file mode 100644
index d08b51cc0f..0000000000
--- a/xdiary/Makefile
+++ /dev/null
@@ -1,40 +0,0 @@
-# $NetBSD$
-
-DISTNAME=	xmdiary-3.0.3
-PKGNAME=	${DISTNAME:S/m//}
-CATEGORIES=	time x11
-MASTER_SITES=	${MASTER_SITE_XCONTRIB:=office/}
-
-MAINTAINER=	vins%NetBSD.org@localhost
-HOMEPAGE=	https://www.ibiblio.org/pub/X11/contrib/office/xmdiary-README
-COMMENT=	Calendar utility based on Motif/X
-LICENSE=	0-clause-bsd
-
-USE_IMAKE=	yes
-
-SUBST_CLASSES+=		cc
-SUBST_STAGE.cc=		pre-configure
-SUBST_FILES.cc=		XDiary.tmpl
-SUBST_VARS.cc=		CC
-SUBST_MESSAGE.cc=	Defining preferred compiler.
-
-SUBST_CLASSES+=		malloc
-SUBST_STAGE.malloc=	pre-configure
-SUBST_FILES.malloc=	tools/LstLinked.c tools/System.c \
-			xtools/xitClipboard.c xtools/xitInfoFile.c
-SUBST_SED.malloc=	-e 's|<malloc.h>|<stdlib.h>|g'
-
-MAKE_FLAGS+=	INSTALL=${INSTALL:Q}
-MAKE_FLAGS+=	CCOPTIONS=${CFLAGS:Q}
-MAKE_FLAGS+=	LOCAL_LDFLAGS=${LDFLAGS:Q}
-
-MAKE_FLAGS+=	XDEXEDIR=${PREFIX}/bin
-MAKE_FLAGS+=	XDMANDIR=${PREFIX}/${PKGMANDIR}/man1
-MAKE_FLAGS+=	XDDATADIR=${PREIFX}/lib/${PKGBASE}
-MAKE_FLAGS+=	XDAPPDIR=${PREFIX}/lib/X11/app-defaults
-
-.include "../../x11/libXext/buildlink3.mk"
-.include "../../x11/libXpm/buildlink3.mk"
-.include "../../x11/libXt/buildlink3.mk"
-.include "../../mk/motif.buildlink3.mk"
-.include "../../mk/bsd.pkg.mk"
diff --git a/xdiary/PLIST b/xdiary/PLIST
deleted file mode 100644
index 70d0000426..0000000000
--- a/xdiary/PLIST
+++ /dev/null
@@ -1,35 +0,0 @@
-@comment $NetBSD$
-bin/xdaclunix
-bin/xdalarm
-bin/xdcustom
-bin/xddump
-bin/xdiary
-bin/xdinitdb
-bin/xdlight
-bin/xdlocation
-bin/xdnotify
-bin/xdprformat
-bin/xdprint
-bin/xdremind
-bin/xdremote
-bin/xdremove
-bin/xdrestore
-lib/X11/app-defaults/XDiary
-lib/X11/app-defaults/XDiary.map
-lib/libTools.a
-lib/libXdiary.a
-lib/libXdndbm.a
-lib/libXtools.a
-man/man1/xdaclunix.1
-man/man1/xdalarm.1
-man/man1/xdcustom.1
-man/man1/xddump.1
-man/man1/xdiary.1
-man/man1/xdinitdb.1
-man/man1/xdlight.1
-man/man1/xdnotify.1
-man/man1/xdprformat.1
-man/man1/xdremind.1
-man/man1/xdremove.1
-man/man1/xdrestore.1
-@pkgdir include
diff --git a/xdiary/distinfo b/xdiary/distinfo
deleted file mode 100644
index 1b7698916e..0000000000
--- a/xdiary/distinfo
+++ /dev/null
@@ -1,35 +0,0 @@
-$NetBSD$
-
-BLAKE2s (xmdiary-3.0.3.tar.gz) = 225c678fd5e2a2d080346ca22fc5bf31393e63ea51506002098e3c8c7f0c5709
-SHA512 (xmdiary-3.0.3.tar.gz) = a699703c2a71f702dbe25a5c57a461dc14581df108b85e7a092ee52be18dbd26c80b0df91c00a96a759816863c42519c77d22857eda916c66735634fdce9fe1c
-Size (xmdiary-3.0.3.tar.gz) = 764331 bytes
-SHA1 (patch-XDiary.tmpl) = c9c6dab155fa6dd607e998134fbf1aa1d65937ef
-SHA1 (patch-dtools_xtmCalendar.c) = c0ca3b346ffbf0c0972f695f48a5730bb9e692e8
-SHA1 (patch-dtools_xtmDbTools.c) = 856281c10769261ef57aab333430533a51b15430
-SHA1 (patch-dtools_xtmEditEntry.c) = 71dfa80e76c3ac6b1016e0da7f8c70f579bfc0f7
-SHA1 (patch-dtools_xtmMsgSelect.c) = 110879e6a54cded614fa76962369e5e31df3ad1c
-SHA1 (patch-dtools_xtmMsgSend.c) = a36eddd207dbc06932e1ddd53cc72ed53731b2e1
-SHA1 (patch-dtools_xtmPlan.c) = 600d25a488f282972e8c586c64164a3cf1ebe38f
-SHA1 (patch-dtools_xtmPrEntries.c) = 9ac7961774feac6590eaacaa47ea32dd774ef1c7
-SHA1 (patch-dtools_xtmReminder.c) = c67c166469a15f65fdf80f4e1121b0f41d3e3bb0
-SHA1 (patch-dtools_xtmSchedAct.c) = 2b5747e07652d601417bd337a6be88d2310e0321
-SHA1 (patch-dtools_xtmSchedMain.c) = 75457e65240e583b91821d0139c26f8d210c8197
-SHA1 (patch-dtools_xtmShowToDo.c) = e800bbb7b651711d51f6f60a20db1bc09cc74306
-SHA1 (patch-tools_SigHandler.c) = 841cd0b3f67a498cad89af288eace1e7beaa1fdb
-SHA1 (patch-tools_System.c) = b3cda320a5506fd6d223aa901eb05362affea35d
-SHA1 (patch-xdaclunix_xtmAclUnix.c) = 4e64e4ae708da734bac0320b2fa77e030fa5c202
-SHA1 (patch-xdalarm_xtmAlarmProc.c) = de7c7ebefa7f84f4fdc36588ec6915b0dcff2399
-SHA1 (patch-xdcustom_xtmCustom.c) = 9ecad169be03195ac0d368c2b09da2e975854128
-SHA1 (patch-xdiary_xtmDiary.c) = f6bc11b6898001b02190044be3742af79869f46a
-SHA1 (patch-xdlight_xtmDiaryLgt.c) = 726a99976e813fdbfab196a8e79502f041d1bcef
-SHA1 (patch-xdnotify_xtmNotify.c) = e33d3a849c29ea3c7fceefdfcd677cb02b5f1aa9
-SHA1 (patch-xdprformat_xtmPrFormat.c) = 748b0a6ce74805e28b52d04fb74574ac219399af
-SHA1 (patch-xdremind_xtmRemMain.c) = 5cad48a686ecd7bec7877ef917802d3579890a97
-SHA1 (patch-xdremove_xtmRemove.c) = 4e6ce3410d7b8bd30e23aa4c424cb923e99728e1
-SHA1 (patch-xdrestore_xtmRestore.c) = 37c69e18cad485addbc85a85fdf41e9991048c14
-SHA1 (patch-xtools_XmUbTimeB.c) = 818dd4c909b0100951b2ed75db88e3b3714ed068
-SHA1 (patch-xtools_xitColorSel.c) = d1d360a6dc15e360ac87c17b51dd70028cacff9b
-SHA1 (patch-xtools_xitError.c) = de21b543bfa68ab9b58c3ccc514d2a716ac34dc7
-SHA1 (patch-xtools_xitInfoSrch.c) = 955bf9ac17f024377c90395ddc7781cc55d91772
-SHA1 (patch-xtools_xitInfoToc.c) = ea1348a22d4bd4a2ede7b17cffab2d92e7db4518
-SHA1 (patch-xtools_xitXmStr.c) = 70af54fe34de732240ad752190ae0e03dc989c7c
diff --git a/xdiary/patches/patch-XDiary.tmpl b/xdiary/patches/patch-XDiary.tmpl
deleted file mode 100644
index ea38dd1219..0000000000
--- a/xdiary/patches/patch-XDiary.tmpl
+++ /dev/null
@@ -1,15 +0,0 @@
-$NetBSD$
-
-Honor pkgsrc's default compiler.
-
---- XDiary.tmpl.orig	1997-05-07 19:51:46.000000000 +0000
-+++ XDiary.tmpl
-@@ -111,7 +111,7 @@ XDMANDIR  = /usr/local/man/man1  
- -----------------------------------------------------------------------------*/
- 
- #undef  CcCmd
--#define CcCmd gcc
-+#define CcCmd @CC@
- EXTRA_DEFINES =
- 
- 
diff --git a/xdiary/patches/patch-dtools_xtmCalendar.c b/xdiary/patches/patch-dtools_xtmCalendar.c
deleted file mode 100644
index 1672615650..0000000000
--- a/xdiary/patches/patch-dtools_xtmCalendar.c
+++ /dev/null
@@ -1,41 +0,0 @@
-$NetBSD$
-
-Avoid int to pointer conversion warnings
-
---- dtools/xtmCalendar.c.orig	1997-05-04 21:09:55.000000000 +0000
-+++ dtools/xtmCalendar.c
-@@ -39,6 +39,7 @@ static char SCCSID[] = "@(#) Module: xtm
- 
- #include <stdio.h>
- #include <stdlib.h>
-+#include <stdint.h>
- #include <string.h>
- #include <time.h>
- #include <sys/types.h>
-@@ -779,7 +780,7 @@ static Widget
-                                                    &help_casc[ index ] );
- 
-     XtAddCallback( menuHelpBu[ index ], XmNactivateCallback, 
--                   (XtCallbackProc) infoCB, (XtPointer) index );
-+                   (XtCallbackProc) infoCB, (XtPointer)(intptr_t) index );
-   }
- 
-   /* We can't do context sensitive help. */
-@@ -1406,7 +1407,7 @@ static void
-   /* Code. */
- 
-   /* About window? */
--  if( (int) call_data -> data == 6 ) {
-+  if( (intptr_t) call_data -> data == 6 ) {
-     xtmHlDisplayAboutWindow( cal_ref -> calFormW );
- 
-     return;
-@@ -1414,7 +1415,7 @@ static void
- 
-   /* Use the standard help. */
-   xtmHlDisplayHelp( cal_ref -> appl_data_ref -> info_handle,
--                    (int) call_data -> data,
-+                    (intptr_t) call_data -> data,
-                     cal_window_id, "" );
- 
-   return;
diff --git a/xdiary/patches/patch-dtools_xtmDbTools.c b/xdiary/patches/patch-dtools_xtmDbTools.c
deleted file mode 100644
index c9f4623067..0000000000
--- a/xdiary/patches/patch-dtools_xtmDbTools.c
+++ /dev/null
@@ -1,87 +0,0 @@
-$NetBSD$
-
-Avoid int to pointer conversion warnings
-Add a mode to the open() call. 
-
---- dtools/xtmDbTools.c.orig	1997-05-04 22:27:52.000000000 +0000
-+++ dtools/xtmDbTools.c
-@@ -47,6 +47,7 @@ static char SCCSID[] = "@(#) Module: xtm
- 
- #include <fcntl.h>
- #include <stdio.h>
-+#include <stdint.h>
- #include <unistd.h>
- #include <ctype.h>
- #include <sys/stat.h>
-@@ -1813,7 +1814,7 @@ XTM_DB_STATUS
- 
-     /* Insert the date in the sorted list. */
-     lst_status = LstLinkSearchFirst( *list_ref, 
--                                     (void *) record.date,
-+                                     (void *)(uintptr_t)record.date,
-                                      (EQUALS_FUNC_TYPE) dateSortFunc );
- 
-     if( lst_status == LST_OK )
-@@ -1896,7 +1897,7 @@ XTM_DB_STATUS
-           case XTM_DB_DAY_NOTE:
-             lst_status = LstLinkSearchFirst( 
-                            *note_list_ref, 
--                           (void *) entry_record.entry.time_stamp,
-+                           (void *)(uintptr_t)entry_record.entry.time_stamp,
-                            (EQUALS_FUNC_TYPE) entryIdSortFunc );
- 
-             if( lst_status == LST_OK )
-@@ -1910,7 +1911,7 @@ XTM_DB_STATUS
-           case XTM_DB_DAY_ENTRY:
-             lst_status = LstLinkSearchFirst( 
-                            *entry_list_ref, 
--                           (void *) entry_record.entry.time_stamp,
-+                           (void *)(uintptr_t)entry_record.entry.time_stamp,
-                            (EQUALS_FUNC_TYPE) entryTimeSortFunc );
- 
-             if( lst_status == LST_OK )
-@@ -1984,7 +1985,7 @@ XTM_DB_STATUS
-         case XTM_DB_DAY_NOTE:
-           lst_status = LstLinkSearchFirst( 
-                          *note_list_ref, 
--                         (void *) entry_record.entry.time_stamp,
-+                         (void *)(uintptr_t)entry_record.entry.time_stamp,
-                          (EQUALS_FUNC_TYPE) entryIdSortFunc );
- 
-           if( lst_status == LST_OK )
-@@ -1998,7 +1999,7 @@ XTM_DB_STATUS
-         case XTM_DB_DAY_ENTRY:
-           lst_status = LstLinkSearchFirst( 
-                          *entry_list_ref, 
--                         (void *) entry_record.entry.time_stamp,
-+                         (void *)(uintptr_t)entry_record.entry.time_stamp,
-                          (EQUALS_FUNC_TYPE) entryTimeSortFunc );
- 
-           if( lst_status == LST_OK )
-@@ -2072,7 +2073,7 @@ XTM_DB_STATUS
-       case XTM_DB_DAY_NOTE:
-         lst_status = LstLinkSearchFirst( 
-                        *note_list_ref, 
--                       (void *) entry_record.entry.time_stamp,
-+                       (void *)(uintptr_t)entry_record.entry.time_stamp,
-                        (EQUALS_FUNC_TYPE) entryIdSortFunc );
- 
-         if( lst_status == LST_OK )
-@@ -2086,7 +2087,7 @@ XTM_DB_STATUS
-       case XTM_DB_DAY_ENTRY:
-         lst_status = LstLinkSearchFirst( 
-                        *entry_list_ref, 
--                       (void *) entry_record.entry.time_stamp,
-+                       (void *)(uintptr_t)entry_record.entry.time_stamp,
-                        (EQUALS_FUNC_TYPE) entryTimeSortFunc );
- 
-         if( lst_status == LST_OK )
-@@ -2332,7 +2333,7 @@ XTM_DB_STATUS
-   sprintf( filename, "%s/%s_%s_%d",
-            message_dir, XTM_DB_MESSAGE_FILE, msg_info -> from, new_id );
- 
--  file_ref = open( filename, (O_CREAT | O_RDWR) );
-+  file_ref = open( filename, (O_CREAT | O_RDWR, 0600) );
-   if( file_ref == -1 )
-     raise exception;
- 
diff --git a/xdiary/patches/patch-dtools_xtmEditEntry.c b/xdiary/patches/patch-dtools_xtmEditEntry.c
deleted file mode 100644
index 5b2e2b64cf..0000000000
--- a/xdiary/patches/patch-dtools_xtmEditEntry.c
+++ /dev/null
@@ -1,32 +0,0 @@
-$NetBSD$
-
-Avoid int to pointer conversion warnings
-
---- dtools/xtmEditEntry.c.orig	1997-05-04 22:27:52.000000000 +0000
-+++ dtools/xtmEditEntry.c
-@@ -38,6 +38,7 @@ static char SCCSID[] = "@(#) Module: xtm
- #include <string.h>
- #include <stdlib.h>
- #include <stdio.h>
-+#include <stdint.h>
- #include <sys/types.h>
- #include <sys/signal.h>
- #include <sys/stat.h>
-@@ -877,7 +878,7 @@ static Widget
-                                                    &help_casc[ index ] );
- 
-     XtAddCallback( menuHelpBu[ index ], XmNactivateCallback, 
--                   (XtCallbackProc) helpCB, (XtPointer) index );
-+                   (XtCallbackProc) helpCB, (XtPointer)(intptr_t)index );
-   }
- 
-   /* We can't do context sensitive help. */
-@@ -2915,7 +2916,7 @@ static void
-   /* Code. */
- 
-   xtmHlDisplayHelp( editor_ref -> appl_data_ref -> info_handle,
--                    (int) call_data -> data,
-+                    (intptr_t) call_data -> data,
-                     edit_window_id, "" );
- 
-   return;
diff --git a/xdiary/patches/patch-dtools_xtmMsgSelect.c b/xdiary/patches/patch-dtools_xtmMsgSelect.c
deleted file mode 100644
index 2a85b1bb8e..0000000000
--- a/xdiary/patches/patch-dtools_xtmMsgSelect.c
+++ /dev/null
@@ -1,32 +0,0 @@
-$NetBSD$
-
-Avoid int to pointer conversion warnings
-
---- dtools/xtmMsgSelect.c.orig	1995-02-18 14:53:48.000000000 +0000
-+++ dtools/xtmMsgSelect.c
-@@ -37,6 +37,7 @@ static char SCCSID[] = "@(#) Module: xtm
- 
- #include <string.h>
- #include <stdlib.h>
-+#include <stdint.h>
- #include <stdio.h>
- #include <sys/types.h>
- #include <sys/stat.h>
-@@ -438,7 +439,7 @@ static Widget
-                                                    &help_casc[ index ] );
- 
-     XtAddCallback( menuHelpBu[ index ], XmNactivateCallback, 
--                   (XtCallbackProc) infoCB, (XtPointer) index );
-+                   (XtCallbackProc) infoCB, (XtPointer)(intptr_t)index );
-   }
- 
-   /* We can't do context sensitive help. */
-@@ -849,7 +850,7 @@ static void
-   /* Code. */
- 
-   xtmHlDisplayHelp( sel_ref -> appl_data_ref -> info_handle,
--                    (int) call_data -> data,
-+                    (intptr_t) call_data -> data,
-                     select_window_id, "" );
- 
-   return;
diff --git a/xdiary/patches/patch-dtools_xtmMsgSend.c b/xdiary/patches/patch-dtools_xtmMsgSend.c
deleted file mode 100644
index 6f0b52ba6e..0000000000
--- a/xdiary/patches/patch-dtools_xtmMsgSend.c
+++ /dev/null
@@ -1,41 +0,0 @@
-$NetBSD$
-
-Avoid int to pointer conversion warnings
-
---- dtools/xtmMsgSend.c.orig	1997-05-04 23:13:08.000000000 +0000
-+++ dtools/xtmMsgSend.c
-@@ -37,6 +37,7 @@ static char SCCSID[] = "@(#) Module: xtm
- 
- #include <string.h>
- #include <stdlib.h>
-+#include <stdint.h>
- #include <stdio.h>
- #include <ctype.h>
- 
-@@ -611,7 +612,7 @@ static Widget
-                                                    &help_casc[ index ] );
- 
-     XtAddCallback( menuHelpBu[ index ], XmNactivateCallback, 
--                   (XtCallbackProc) infoCB, (XtPointer) index );
-+                   (XtCallbackProc) infoCB, (XtPointer)(intptr_t)index );
-   }
- 
-   /* We can't do context sensitive help. */
-@@ -939,7 +940,7 @@ static Widget
-                                                    &help_casc[ index ] );
- 
-     XtAddCallback( menuHelpBu[ index ], XmNactivateCallback, 
--                   (XtCallbackProc) infoCB, (XtPointer) index );
-+                   (XtCallbackProc) infoCB, (XtPointer)(intptr_t)index );
-   }
- 
-   /* We can't do context sensitive help. */
-@@ -1811,7 +1812,7 @@ static void
-   /* Code. */
- 
-   xtmHlDisplayHelp( send_ref -> appl_data_ref -> info_handle,
--                    (int) call_data -> data,
-+                    (intptr_t) call_data -> data,
-                     send_window_id, "" );
- 
-   return;
diff --git a/xdiary/patches/patch-dtools_xtmPlan.c b/xdiary/patches/patch-dtools_xtmPlan.c
deleted file mode 100644
index 6cbf54a1eb..0000000000
--- a/xdiary/patches/patch-dtools_xtmPlan.c
+++ /dev/null
@@ -1,117 +0,0 @@
-$NetBSD$
-
-Avoid int to pointer conversion warnings
-
---- dtools/xtmPlan.c.orig	1997-05-04 21:09:51.000000000 +0000
-+++ dtools/xtmPlan.c
-@@ -37,6 +37,7 @@ static char SCCSID[] = "@(#) Module: xtm
- 
- #include <stdio.h>
- #include <stdlib.h>
-+#include <stdint.h>
- #include <string.h>
- #include <time.h>
- #include <ctype.h>
-@@ -1004,7 +1005,7 @@ static Widget
- 
-     if( XmIsPushButton( menuFileBu[ index ] ) )
-       XtAddCallback( menuFileBu[ index ], XmNactivateCallback, 
--                     (XtCallbackProc) fileMenuCB, (XtPointer) index );
-+                     (XtCallbackProc) fileMenuCB, (XtPointer)(intptr_t)index );
-   }
- 
-   /* Create the control menu. */
-@@ -1019,10 +1020,10 @@ static Widget
- 
-     if( XmIsPushButton( menuCtrlBu[ index ] ) )
-       XtAddCallback( menuCtrlBu[ index ], XmNactivateCallback, 
--                     (XtCallbackProc) ctrlMenuCB, (XtPointer) index );
-+                     (XtCallbackProc) ctrlMenuCB, (XtPointer)(intptr_t)index );
-     else if( XmIsToggleButton( menuCtrlBu[ index ] ) )
-       XtAddCallback( menuCtrlBu[ index ], XmNvalueChangedCallback, 
--                     (XtCallbackProc) ctrlMenuCB, (XtPointer) index );
-+                     (XtCallbackProc) ctrlMenuCB, (XtPointer)(intptr_t)index );
-   }
- 
-   /* Create the options menu. */
-@@ -1035,7 +1036,7 @@ static Widget
- 
-     if( XmIsPushButton( menuOptBu[ index ] ) )
-       XtAddCallback( menuOptBu[ index ], XmNactivateCallback, 
--                     (XtCallbackProc) optMenuCB, (XtPointer) index );
-+                     (XtCallbackProc) optMenuCB, (XtPointer)(intptr_t)index );
-   }
- 
-   /* Create the help menu. */
-@@ -1048,7 +1049,7 @@ static Widget
- 
-     if( XmIsPushButton( menuHelpBu[ index ] ) )
-       XtAddCallback( menuHelpBu[ index ], XmNactivateCallback, 
--                     (XtCallbackProc) infoCB, (XtPointer) index );
-+                     (XtCallbackProc) infoCB, (XtPointer)(intptr_t)index );
-   }
- 
-   /* We can't do context sensitive help. */
-@@ -3434,7 +3435,7 @@ static void
- 
- 
-   /* Select what to do. */
--  switch( (int) call_data -> data ) {
-+  switch( (intptr_t) call_data -> data ) {
- 
-     /* Instant update. */
-     case 0:
-@@ -3583,7 +3584,7 @@ static void
- 
- 
-   /* Select what to do. */
--  switch( (int) call_data -> data ) {
-+  switch( (intptr_t) call_data -> data ) {
- 
-     /* Close the window. */
-     case 0:
-@@ -3609,7 +3610,7 @@ static void
-   /* Variables. */
-   Boolean                 ok;
-   int                     char_read;
--  int                     ref_count;
-+  intptr_t                ref_count;
-   char                    calendar[ XTM_GL_MAX_CAL_NAME + 1 ];
-   char                    *group_name;
-   char                    *members_ref;
-@@ -3664,7 +3665,7 @@ static void
-     XtSetArg( args[ n ], XmNuserData, &user_data_ref ); n++;
-     XtGetValues( calW, args, n );
- 
--    ref_count = (int) user_data_ref;
-+    ref_count = (intptr_t) user_data_ref;
- 
-     if( call_data -> set ) {
-       if( ref_count < 1 ) 
-@@ -3710,7 +3711,7 @@ static void
-   /* Code. */
- 
-   /* About window? */
--  if( (int) call_data -> data == 6 ) {
-+  if( (intptr_t) call_data -> data == 6 ) {
-     xtmHlDisplayAboutWindow( plan_ref -> plannerW );
- 
-     return;
-@@ -3718,7 +3719,7 @@ static void
- 
-   /* Use the standard help. */
-   xtmHlDisplayHelp( plan_ref -> appl_data_ref -> info_handle,
--                    (int) call_data -> data,
-+                    (intptr_t) call_data -> data,
-                     planner_window_id, "" );
- 
-   return;
-@@ -3810,7 +3811,7 @@ static void
- 
- 
-   /* Select what to do. */
--  switch( (int) call_data -> data ) {
-+  switch( (intptr_t) call_data -> data ) {
- 
-     /* Send message. */
-     case 0:
diff --git a/xdiary/patches/patch-dtools_xtmPrEntries.c b/xdiary/patches/patch-dtools_xtmPrEntries.c
deleted file mode 100644
index 78b67533ad..0000000000
--- a/xdiary/patches/patch-dtools_xtmPrEntries.c
+++ /dev/null
@@ -1,54 +0,0 @@
-$NetBSD$
-
-Avoid int to pointer conversion warnings
-
---- dtools/xtmPrEntries.c.orig	1997-05-04 21:09:51.000000000 +0000
-+++ dtools/xtmPrEntries.c
-@@ -37,6 +37,7 @@ static char SCCSID[] = "@(#) Module: xtm
- 
- #include <string.h>
- #include <stdlib.h>
-+#include <stdint.h>
- #include <stdio.h>
- #include <ctype.h>
- #include <sys/types.h>
-@@ -778,10 +779,10 @@ static Widget
- 
-     if( XmIsPushButton( menuCtrlBu[ index ] ) )
-       XtAddCallback( menuCtrlBu[ index ], XmNactivateCallback, 
--                     (XtCallbackProc) ctrlMenuCB, (XtPointer) index );
-+                     (XtCallbackProc) ctrlMenuCB, (XtPointer)(intptr_t)index );
-     else if( XmIsToggleButton( menuCtrlBu[ index ] ) )
-       XtAddCallback( menuCtrlBu[ index ], XmNvalueChangedCallback, 
--                     (XtCallbackProc) ctrlMenuCB, (XtPointer) index );
-+                     (XtCallbackProc) ctrlMenuCB, (XtPointer)(intptr_t)index );
-   }
- 
-   /* Create the help menu. */
-@@ -793,7 +794,7 @@ static Widget
-                                                    &help_casc[ index ] );
- 
-     XtAddCallback( menuHelpBu[ index ], XmNactivateCallback, 
--                   (XtCallbackProc) infoCB, (XtPointer) index );
-+                   (XtCallbackProc) infoCB, (XtPointer)(intptr_t)index );
-   }
- 
-   /* We can't do context sensitive help. */
-@@ -1815,7 +1816,7 @@ static void
-   custom_data_ref = printer_ref -> appl_data_ref -> custom_data;
- 
-   /* Select what to do. */
--  switch( (int) call_data -> data ) {
-+  switch( (intptr_t) call_data -> data ) {
- 
-     /* Filter window. */
-     case 0:
-@@ -2005,7 +2006,7 @@ static void
-   /* Code. */
- 
-   xtmHlDisplayHelp( printer_ref -> appl_data_ref -> info_handle,
--                    (int) call_data -> data,
-+                    (intptr_t) call_data -> data,
-                     print_window_id, "" );
- 
-   return;
diff --git a/xdiary/patches/patch-dtools_xtmReminder.c b/xdiary/patches/patch-dtools_xtmReminder.c
deleted file mode 100644
index e7c376af2f..0000000000
--- a/xdiary/patches/patch-dtools_xtmReminder.c
+++ /dev/null
@@ -1,41 +0,0 @@
-$NetBSD$
-
-Avoid int to pointer conversion warnings
-
---- dtools/xtmReminder.c.orig	1997-05-04 21:09:51.000000000 +0000
-+++ dtools/xtmReminder.c
-@@ -38,6 +38,7 @@ static char SCCSID[] = "@(#) Module: xtm
- 
- #include <string.h>
- #include <stdlib.h>
-+#include <stdint.h>
- #include <stdio.h>
- 
- #include <X11/Intrinsic.h>
-@@ -580,7 +581,7 @@ static Widget
-                                                    &help_casc[ index ] );
- 
-     XtAddCallback( menuHelpBu[ index ], XmNactivateCallback, 
--                   (XtCallbackProc) helpCB, (XtPointer) index );
-+                   (XtCallbackProc) helpCB, (XtPointer)(intptr_t)index );
-   }
- 
-   /* We can't do context sensitive help. */
-@@ -1093,7 +1094,7 @@ static void
-   /* Code. */
- 
-   /* About window? */
--  if( (int) call_data -> data == 6 ) {
-+  if( (intptr_t) call_data -> data == 6 ) {
-     xtmHlDisplayAboutWindow( reminder_ref -> reminderW );
- 
-     return;
-@@ -1105,7 +1106,7 @@ static void
-   /* Call the user callback. */
-   (* reminder_ref -> helpCB)( reminder_ref -> reminderW, 
-                               reminder_ref -> user_data,
--                              (int) call_data -> data );
-+                              (intptr_t) call_data -> data );
- 
- 
-   return;
diff --git a/xdiary/patches/patch-dtools_xtmSchedAct.c b/xdiary/patches/patch-dtools_xtmSchedAct.c
deleted file mode 100644
index dc0312824f..0000000000
--- a/xdiary/patches/patch-dtools_xtmSchedAct.c
+++ /dev/null
@@ -1,32 +0,0 @@
-$NetBSD$
-
-Avoid int to pointer conversion warnings
-
---- dtools/xtmSchedAct.c.orig	1997-05-04 21:16:55.000000000 +0000
-+++ dtools/xtmSchedAct.c
-@@ -37,6 +37,7 @@ static char SCCSID[] = "@(#) Module: xtm
- 
- #include <stdio.h>
- #include <stdlib.h>
-+#include <stdint.h>
- #include <string.h>
- 
- #include <X11/Intrinsic.h>
-@@ -1967,7 +1968,7 @@ static Widget
- 
-     if( XmIsPushButton( menuPopupBu[ index ] ) )
-       XtAddCallback( menuPopupBu[ index ], XmNactivateCallback, 
--                     (XtCallbackProc) entryPuMenuCB, (XtPointer) index );
-+                     (XtCallbackProc) entryPuMenuCB, (XtPointer)(intptr_t)index );
-   }
- 
-   XtManageChildren( menuPopupBu, XtNumber( menuPopupBu ) );
-@@ -2106,7 +2107,7 @@ static void
- 
- 
-   /* Select what to do. */
--  switch( (int) call_data -> data ) {
-+  switch( (intptr_t) call_data -> data ) {
- 
-     /* Edit the entry. */
-     case 0:
diff --git a/xdiary/patches/patch-dtools_xtmSchedMain.c b/xdiary/patches/patch-dtools_xtmSchedMain.c
deleted file mode 100644
index 5cabd8d3a3..0000000000
--- a/xdiary/patches/patch-dtools_xtmSchedMain.c
+++ /dev/null
@@ -1,126 +0,0 @@
-$NetBSD$
-
-Avoid int to pointer conversion warnings
-
---- dtools/xtmSchedMain.c.orig	1997-05-04 23:16:02.000000000 +0000
-+++ dtools/xtmSchedMain.c
-@@ -38,6 +38,7 @@ static char SCCSID[] = "@(#) Module: xtm
- #include <pwd.h>
- #include <stdio.h>
- #include <stdlib.h>
-+#include <stdint.h>
- #include <string.h>
- #include <time.h>
- 
-@@ -1090,7 +1091,7 @@ static Widget
- 
-     if( XmIsPushButton( menuFileBu[ index ] ) )
-       XtAddCallback( menuFileBu[ index ], XmNactivateCallback, 
--                     (XtCallbackProc) fileMenuCB, (XtPointer) index );
-+                     (XtCallbackProc) fileMenuCB, (XtPointer)(intptr_t)index );
-   }
- 
-   if( flagIsSet( sched_ref -> flags, XTM_SM_ONLY_ONE ) )
-@@ -1109,7 +1110,7 @@ static Widget
- 
-     if( XmIsPushButton( menuEditBu[ index ] ) )
-       XtAddCallback( menuEditBu[ index ], XmNactivateCallback, 
--                     (XtCallbackProc) editMenuCB, (XtPointer) index );
-+                     (XtCallbackProc) editMenuCB, (XtPointer)(intptr_t)index );
-   }
- 
- 
-@@ -1125,10 +1126,10 @@ static Widget
- 
-     if( XmIsPushButton( menuCtrlBu[ index ] ) )
-       XtAddCallback( menuCtrlBu[ index ], XmNactivateCallback, 
--                     (XtCallbackProc) ctrlMenuCB, (XtPointer) index );
-+                     (XtCallbackProc) ctrlMenuCB, (XtPointer)(intptr_t)index );
-     else if( XmIsToggleButton( menuCtrlBu[ index ] ) )
-       XtAddCallback( menuCtrlBu[ index ], XmNvalueChangedCallback, 
--                     (XtCallbackProc) ctrlMenuCB, (XtPointer) index );
-+                     (XtCallbackProc) ctrlMenuCB, (XtPointer)(intptr_t)index );
-   }
- 
- 
-@@ -1142,7 +1143,7 @@ static Widget
- 
-     if( XmIsPushButton( menuOptionsBu[ index ] ) )
-       XtAddCallback( menuOptionsBu[ index ], XmNactivateCallback, 
--                     (XtCallbackProc) optionsMenuCB, (XtPointer) index );
-+                     (XtCallbackProc) optionsMenuCB, (XtPointer)(intptr_t)index );
-   }
- 
- 
-@@ -1156,7 +1157,7 @@ static Widget
- 
-     if( XmIsPushButton( menuHelpBu[ index ] ) )
-       XtAddCallback( menuHelpBu[ index ], XmNactivateCallback, 
--                     (XtCallbackProc) infoCB, (XtPointer) index );
-+                     (XtCallbackProc) infoCB, (XtPointer)(intptr_t)index );
-   }
- 
-   /* We can't do context sensitive help. */
-@@ -1971,7 +1972,7 @@ static void
-   mainW = XtNameToWidget( sched_ref -> scheduleW, "SchedTlBase.SchedTlFo" );
- 
-   /* Select what to do. */
--  switch( (int) call_data -> data ) {
-+  switch( (intptr_t) call_data -> data ) {
- 
-     /* Confirm actions? */
-     case 0:
-@@ -2277,7 +2278,7 @@ static void
- 
- 
-   /* Select what to do. */
--  switch( (int) call_data -> data ) {
-+  switch( (intptr_t) call_data -> data ) {
- 
-     /* Edit the entry. */
-     case 0:
-@@ -2401,7 +2402,7 @@ static void
- 
- 
-   /* Select what to do. */
--  switch( (int) call_data -> data ) {
-+  switch( (intptr_t) call_data -> data ) {
- 
-     /* Open schedule with the same database. */
-     case 0:
-@@ -2493,7 +2494,7 @@ static void
-             flagIsSet(   db_info.operations, XTM_DB_FLAG_MODE_WRITE ) )
-           can_download = True;
- 
--        if( (int) call_data -> data == 4 )
-+        if( (intptr_t) call_data -> data == 4 )
-           xtmRtDoRemote( sched_ref -> remote_handle, XTM_RT_UPLOAD,
-                          db_info.short_name, True, can_download );
-         else
-@@ -2605,7 +2606,7 @@ static void
-   /* Code. */
- 
-   /* About window? */
--  if( (int) call_data -> data == 6 ) {
-+  if( (intptr_t) call_data -> data == 6 ) {
-     xtmHlDisplayAboutWindow( sched_ref -> scheduleW );
- 
-     return;
-@@ -2613,7 +2614,7 @@ static void
- 
-   /* Use the standard help. */
-   xtmHlDisplayHelp( sched_ref -> appl_data_ref -> info_handle,
--                    (int) call_data -> data,
-+                    (intptr_t) call_data -> data,
-                     day_view_window_id, "" );
- 
-   return;
-@@ -3020,7 +3021,7 @@ static void
- 
- 
-   /* Select what to do. */
--  switch( (int) call_data -> data ) {
-+  switch( (intptr_t) call_data -> data ) {
- 
-     /* Appointment editor. */
-     case 0:
diff --git a/xdiary/patches/patch-dtools_xtmShowToDo.c b/xdiary/patches/patch-dtools_xtmShowToDo.c
deleted file mode 100644
index e2c2df1f6d..0000000000
--- a/xdiary/patches/patch-dtools_xtmShowToDo.c
+++ /dev/null
@@ -1,54 +0,0 @@
-$NetBSD$
-
-Avoid int to pointer conversion warnings
-
---- dtools/xtmShowToDo.c.orig	1997-05-04 21:26:20.000000000 +0000
-+++ dtools/xtmShowToDo.c
-@@ -37,6 +37,7 @@ static char SCCSID[] = "@(#) Module: xtm
- 
- #include <string.h>
- #include <stdlib.h>
-+#include <stdint.h>
- #include <stdio.h>
- 
- #include <X11/Intrinsic.h>
-@@ -665,10 +666,10 @@ static Widget
- 
-     if( XmIsPushButton( menuCtrlBu[ index ] ) )
-       XtAddCallback( menuCtrlBu[ index ], XmNactivateCallback, 
--                     (XtCallbackProc) ctrlMenuCB, (XtPointer) index );
-+                     (XtCallbackProc) ctrlMenuCB, (XtPointer)(intptr_t)index );
-     else if( XmIsToggleButton( menuCtrlBu[ index ] ) )
-       XtAddCallback( menuCtrlBu[ index ], XmNvalueChangedCallback, 
--                     (XtCallbackProc) ctrlMenuCB, (XtPointer) index );
-+                     (XtCallbackProc) ctrlMenuCB, (XtPointer)(intptr_t)index );
-   }
- 
- 
-@@ -681,7 +682,7 @@ static Widget
-                                                    &help_casc[ index ] );
- 
-     XtAddCallback( menuHelpBu[ index ], XmNactivateCallback, 
--                   (XtCallbackProc) infoCB, (XtPointer) index );
-+                   (XtCallbackProc) infoCB, (XtPointer)(intptr_t)index );
-   }
- 
-   /* We can't do context sensitive help. */
-@@ -1189,7 +1190,7 @@ static void
-   custom_data_ref = show_ref -> appl_data_ref -> custom_data;
- 
-   /* Select what to do. */
--  switch( (int) call_data -> data ) {
-+  switch( (intptr_t) call_data -> data ) {
- 
-     /* Display entry flags? */
-     case 0:
-@@ -1402,7 +1403,7 @@ static void
-   /* Code. */
- 
-   xtmHlDisplayHelp( show_ref -> appl_data_ref -> info_handle,
--                    (int) call_data -> data,
-+                    (intptr_t) call_data -> data,
-                     sum_window_id, "" );
- 
-   return;
diff --git a/xdiary/patches/patch-tools_SigHandler.c b/xdiary/patches/patch-tools_SigHandler.c
deleted file mode 100644
index 411c8aefe0..0000000000
--- a/xdiary/patches/patch-tools_SigHandler.c
+++ /dev/null
@@ -1,20 +0,0 @@
-$NetBSD$
-
-Avoid use of obsolete 'union wait *'.
-
---- tools/SigHandler.c.orig	1995-02-18 13:32:44.000000000 +0000
-+++ tools/SigHandler.c
-@@ -221,13 +221,7 @@ static void
-   /* Variables. */
-   int  index;
-   int  pid;
--
--#if defined(_POSIX_SOURCE) || defined(_INCLUDE_POSIX_SOURCE)
-   int  status;
--#else
--  union wait  status;
--#endif
--
- 
-   /* Code. */
- 
diff --git a/xdiary/patches/patch-tools_System.c b/xdiary/patches/patch-tools_System.c
deleted file mode 100644
index 5a4c114239..0000000000
--- a/xdiary/patches/patch-tools_System.c
+++ /dev/null
@@ -1,50 +0,0 @@
-$NetBSD$
-
-Avoid int to pointer conversion warnings
-
---- tools/System.c.orig	1997-05-07 20:15:47.000000000 +0000
-+++ tools/System.c
-@@ -102,8 +102,8 @@ void
-     if( line_no > 0 ) 
-       printf( "%s: (%d), ", file_name, line_no );
- 
--    printf( "SysBaseCalloc(), ref: %d, ref_count: %d\n", 
--            (int) ref, memory_ref_count );
-+    printf( "SysBaseCalloc(), ref: %p, ref_count: %d\n", 
-+            ref, memory_ref_count );
- 
-     memory_ref_count++;
-   }
-@@ -133,8 +133,8 @@ void
-     if( line_no > 0 ) 
-       printf( "%s: (%d), ", file_name, line_no );
- 
--    printf( "SysBaseFree(), ref: %d, ref_count: %d\n",
--            (int) pointer, memory_ref_count );
-+    printf( "SysBaseFree(), ref: %p, ref_count: %d\n",
-+            pointer, memory_ref_count );
- 
-     memory_ref_count++;
-   }
-@@ -166,8 +166,8 @@ void
-     if( line_no > 0 ) 
-       printf( "%s: (%d), ", file_name, line_no );
- 
--    printf( "SysBaseMalloc(), ref: %d, ref_count: %d\n", 
--            (int) ref, memory_ref_count );
-+    printf( "SysBaseMalloc(), ref: %p, ref_count: %d\n", 
-+            ref, memory_ref_count );
- 
-     memory_ref_count++;
-   }
-@@ -208,8 +208,8 @@ extern void
-     if( line_no > 0 ) 
-       printf( "%s: (%d), ", file_name, line_no );
- 
--    printf( "SysBaseRealloc(), ref: %d, ref_count: %d\n", 
--            (int) ref, memory_ref_count );
-+    printf( "SysBaseRealloc(), ref: %p, ref_count: %d\n", 
-+            ref, memory_ref_count );
- 
-     memory_ref_count++;
-   }
diff --git a/xdiary/patches/patch-xdaclunix_xtmAclUnix.c b/xdiary/patches/patch-xdaclunix_xtmAclUnix.c
deleted file mode 100644
index 78abe4b144..0000000000
--- a/xdiary/patches/patch-xdaclunix_xtmAclUnix.c
+++ /dev/null
@@ -1,17 +0,0 @@
-$NetBSD$
-
-Fix warningsabout int signedness mismatch.
-
---- xdaclunix/xtmAclUnix.c.orig	1997-05-04 22:02:19.000000000 +0000
-+++ xdaclunix/xtmAclUnix.c
-@@ -226,8 +226,8 @@ static void 
- --  Functions
- ----------------------------------------------------------------------------*/
- 
--void 
--  main( unsigned int argc, char *argv[] )
-+int 
-+  main( int argc, char *argv[] )
- {
- 
-   /* Variables. */
diff --git a/xdiary/patches/patch-xdalarm_xtmAlarmProc.c b/xdiary/patches/patch-xdalarm_xtmAlarmProc.c
deleted file mode 100644
index 76dc591a75..0000000000
--- a/xdiary/patches/patch-xdalarm_xtmAlarmProc.c
+++ /dev/null
@@ -1,17 +0,0 @@
-$NetBSD$
-
-Fix warningsabout int signedness mismatch.
-
---- xdalarm/xtmAlarmProc.c.orig	1997-05-04 22:02:19.000000000 +0000
-+++ xdalarm/xtmAlarmProc.c
-@@ -452,8 +452,8 @@ static void
- --  Functions
- ----------------------------------------------------------------------------*/
- 
--void 
--  main( unsigned int argc, char *argv[] )
-+int 
-+  main( int argc, char *argv[] )
- {
- 
-   /* Variables. */
diff --git a/xdiary/patches/patch-xdcustom_xtmCustom.c b/xdiary/patches/patch-xdcustom_xtmCustom.c
deleted file mode 100644
index 95a108cc4e..0000000000
--- a/xdiary/patches/patch-xdcustom_xtmCustom.c
+++ /dev/null
@@ -1,70 +0,0 @@
-$NetBSD$
-
-Avoid int to pointer conversion warnings
-
---- xdcustom/xtmCustom.c.orig	1997-05-04 22:02:16.000000000 +0000
-+++ xdcustom/xtmCustom.c
-@@ -39,6 +39,7 @@ static char SCCSID[] = "@(#) Module: xtm
- #include <fcntl.h>
- #include <stdio.h>
- #include <stdlib.h>
-+#include <stdint.h>
- #include <string.h>
- #include <unistd.h>
- #include <sys/types.h>
-@@ -231,8 +232,8 @@ static int
- --  Functions
- ----------------------------------------------------------------------------*/
- 
--void 
--  main( unsigned int argc, char *argv[] )
-+int 
-+  main( int argc, char *argv[] )
- {
- 
-   /* Variables. */
-@@ -615,7 +616,7 @@ static Widget
-                                                    &help_casc[ index ] );
- 
-     XtAddCallback( menuHelpBu[ index ], XmNactivateCallback, 
--                   (XtCallbackProc) infoCB, (XtPointer) index );
-+                   (XtCallbackProc) infoCB, (XtPointer)(intptr_t)index );
-   }
- 
-   /* We can't do context sensitive help. */
-@@ -641,7 +642,7 @@ static Widget
-                                              &do_cust_def[ index ] );
- 
-     XtAddCallback( doCustBu[ index ], XmNactivateCallback, 
--                   (XtCallbackProc) doCustCB, (XtPointer) index );
-+                   (XtCallbackProc) doCustCB, (XtPointer)(intptr_t)index );
- 
-   } /* loop */
- 
-@@ -1451,7 +1452,7 @@ static void
- 
- 
-   /* Select what to do. */
--  switch( (int) call_data -> data ) {
-+  switch( (intptr_t) call_data -> data ) {
- 
-     /* Calendar customization? */
-     case 0:
-@@ -1578,7 +1579,7 @@ static void
-   /* Code. */
- 
-   /* About window? */
--  if( (int) call_data -> data == 6 ) {
-+  if( (intptr_t) call_data -> data == 6 ) {
- 
-     Widget  tempW;
- 
-@@ -1590,7 +1591,7 @@ static void
- 
-   /* Use the standard help. */
-   xtmHlDisplayHelp( appl_data_ref -> info_handle,
--                    (int) call_data -> data,
-+                    (intptr_t) call_data -> data,
-                     custom_window_id, "" );
- 
-   return;
diff --git a/xdiary/patches/patch-xdiary_xtmDiary.c b/xdiary/patches/patch-xdiary_xtmDiary.c
deleted file mode 100644
index ff1115fbd2..0000000000
--- a/xdiary/patches/patch-xdiary_xtmDiary.c
+++ /dev/null
@@ -1,15 +0,0 @@
-$NetBSD$
-
-Fix void main().
-
---- xdiary/xtmDiary.c.orig	1997-05-05 23:13:48.000000000 +0000
-+++ xdiary/xtmDiary.c
-@@ -213,7 +213,7 @@ static void
- --  Functions
- ----------------------------------------------------------------------------*/
- 
--void 
-+int 
-   main( int argc, char **argv )
- {
- 
diff --git a/xdiary/patches/patch-xdlight_xtmDiaryLgt.c b/xdiary/patches/patch-xdlight_xtmDiaryLgt.c
deleted file mode 100644
index 35870565e7..0000000000
--- a/xdiary/patches/patch-xdlight_xtmDiaryLgt.c
+++ /dev/null
@@ -1,17 +0,0 @@
-$NetBSD$
-
-Fix warningsabout int signedness mismatch.
-
---- xdlight/xtmDiaryLgt.c.orig	1997-05-04 23:13:08.000000000 +0000
-+++ xdlight/xtmDiaryLgt.c
-@@ -220,8 +220,8 @@ static void
- --  Functions
- ----------------------------------------------------------------------------*/
- 
--void 
--  main( unsigned int argc, char **argv )
-+int 
-+  main( int argc, char **argv )
- {
- 
-   /* Variables. */
diff --git a/xdiary/patches/patch-xdnotify_xtmNotify.c b/xdiary/patches/patch-xdnotify_xtmNotify.c
deleted file mode 100644
index d24d49f79d..0000000000
--- a/xdiary/patches/patch-xdnotify_xtmNotify.c
+++ /dev/null
@@ -1,17 +0,0 @@
-$NetBSD$
-
-Fix warningsabout int signedness mismatch.
-
---- xdnotify/xtmNotify.c.orig	1997-05-04 22:02:15.000000000 +0000
-+++ xdnotify/xtmNotify.c
-@@ -244,8 +244,8 @@ static void
- --  Functions
- ----------------------------------------------------------------------------*/
- 
--void 
--  main( unsigned int argc, char *argv[] )
-+int 
-+  main( int argc, char *argv[] )
- {
- 
-   /* Variables. */
diff --git a/xdiary/patches/patch-xdprformat_xtmPrFormat.c b/xdiary/patches/patch-xdprformat_xtmPrFormat.c
deleted file mode 100644
index 2d6331c223..0000000000
--- a/xdiary/patches/patch-xdprformat_xtmPrFormat.c
+++ /dev/null
@@ -1,14 +0,0 @@
-$NetBSD$
-
-Provide a declaration of exit()
-
---- xdprformat/xtmPrFormat.c.orig	1997-05-04 22:02:15.000000000 +0000
-+++ xdprformat/xtmPrFormat.c
-@@ -37,6 +37,7 @@ static char SCCSID[] = "@(#) Module: xtm
- ----------------------------------------------------------------------------*/
- 
- #include <stdio.h>
-+#include <stdlib.h>
- #include <string.h>
- #include <ctype.h>
- #include <time.h>
diff --git a/xdiary/patches/patch-xdremind_xtmRemMain.c b/xdiary/patches/patch-xdremind_xtmRemMain.c
deleted file mode 100644
index b859c18ac7..0000000000
--- a/xdiary/patches/patch-xdremind_xtmRemMain.c
+++ /dev/null
@@ -1,17 +0,0 @@
-$NetBSD$
-
-Fix warningsabout int signedness mismatch.
-
---- xdremind/xtmRemMain.c.orig	1997-05-04 22:02:15.000000000 +0000
-+++ xdremind/xtmRemMain.c
-@@ -177,8 +177,8 @@ static void
- --  Functions
- ----------------------------------------------------------------------------*/
- 
--void 
--  main( unsigned int argc, char *argv[] )
-+int 
-+  main( int argc, char *argv[] )
- {
- 
-   /* Variables. */
diff --git a/xdiary/patches/patch-xdremove_xtmRemove.c b/xdiary/patches/patch-xdremove_xtmRemove.c
deleted file mode 100644
index 45050ce157..0000000000
--- a/xdiary/patches/patch-xdremove_xtmRemove.c
+++ /dev/null
@@ -1,17 +0,0 @@
-$NetBSD$
-
-Use fgets() instead of gets()
-
---- xdremove/xtmRemove.c.orig	1997-05-04 22:02:15.000000000 +0000
-+++ xdremove/xtmRemove.c
-@@ -290,8 +290,8 @@ main( int argc, char *argv[] )
-             appl_data.days, buffer, appl_data.database_dir );
-     printf( "Is this OK? (Y/N) [N]: " );
- 
--    gets( buffer );
--    if( toupper( buffer[ 0 ] ) != 'Y' )
-+    fgets(buffer, sizeof(buffer), stdin);
-+	if( toupper( buffer[ 0 ] ) != 'Y' )
-       exit( 0 );
-   }
- 
diff --git a/xdiary/patches/patch-xdrestore_xtmRestore.c b/xdiary/patches/patch-xdrestore_xtmRestore.c
deleted file mode 100644
index 86cb390b9f..0000000000
--- a/xdiary/patches/patch-xdrestore_xtmRestore.c
+++ /dev/null
@@ -1,14 +0,0 @@
-$NetBSD$
-
-Provide a declaration of exit() 
-
---- xdrestore/xtmRestore.c.orig	1997-05-04 22:02:14.000000000 +0000
-+++ xdrestore/xtmRestore.c
-@@ -37,6 +37,7 @@ static char SCCSID[] = "@(#) Module: xtm
- ----------------------------------------------------------------------------*/
- 
- #include <stdio.h>
-+#include <stdlib.h>
- #include <string.h>
- #include <time.h>
- #include <ctype.h>
diff --git a/xdiary/patches/patch-xtools_XmUbTimeB.c b/xdiary/patches/patch-xtools_XmUbTimeB.c
deleted file mode 100644
index 24b176fd38..0000000000
--- a/xdiary/patches/patch-xtools_XmUbTimeB.c
+++ /dev/null
@@ -1,116 +0,0 @@
-$NetBSD$
-
-Avoid int to pointer conversion warnings
-
---- xtools/XmUbTimeB.c.orig	1997-05-04 21:09:52.000000000 +0000
-+++ xtools/XmUbTimeB.c
-@@ -35,6 +35,7 @@ static char SCCSID[] = "@(#) Module: XmU
- --  Include files
- ----------------------------------------------------------------------------*/
- 
-+#include <stdint.h>
- #include <stdio.h>
- #include <string.h>
- #include <X11/Intrinsic.h>
-@@ -2159,7 +2160,7 @@ static void
-         /* For predefined actions, call common routine. 
-            For other actions, register as callbacks directly. */
-         if( ( items[ index ].proc != XmUbTB_NO_ACTION ) &&
--            ( (int) items[ index ].proc <= (int) XmUbTB_LAST_PREDEF_ACTION ) )
-+            ( (intptr_t)items[ index ].proc <= (intptr_t)XmUbTB_LAST_PREDEF_ACTION ) )
-           XtAddCallback( w, XmNactivateCallback, 
-                          (XtCallbackProc) MenuItemActivatedCB, 
-                          (XtPointer) items[ index ].proc );
-@@ -3366,51 +3367,51 @@ static void
-   XtGetValues( pb, args, n );
- 
-   /* What to do depends on the selected action. */
--  switch( (int) action ){
-+  switch((intptr_t)action){
- 
--    case (int) XmUbTB_ACTION_THIS_WEEK:
-+    case (intptr_t) XmUbTB_ACTION_THIS_WEEK:
-       FillInStartOfWeek( tbox );
-       AddDateWeek( tbox, 1, 1 );
-       break;
- 
--    case (int) XmUbTB_ACTION_THIS_MONTH:
-+    case (intptr_t) XmUbTB_ACTION_THIS_MONTH:
-       FillInStartOfMonth( tbox );
-       AddDateMonth( tbox, 1, 1 );
-       break;
- 
--    case (int) XmUbTB_ACTION_PLUS_ONE_HOUR:
-+    case (intptr_t) XmUbTB_ACTION_PLUS_ONE_HOUR:
-       AddDateHour( tbox, 1 );
-       break;
- 
--    case (int) XmUbTB_ACTION_PLUS_TWO_HOURS:
-+    case (intptr_t) XmUbTB_ACTION_PLUS_TWO_HOURS:
-       AddDateHour( tbox, 2 );
-       break;
- 
--    case (int) XmUbTB_ACTION_PLUS_ONE_WEEK:
-+    case (intptr_t) XmUbTB_ACTION_PLUS_ONE_WEEK:
-       AddDateWeek( tbox, 1, 0 );
-       break;
- 
--    case (int) XmUbTB_ACTION_PLUS_TWO_WEEKS:
-+    case (intptr_t) XmUbTB_ACTION_PLUS_TWO_WEEKS:
-       AddDateWeek( tbox, 2, 0 );
-       break;
- 
--    case (int) XmUbTB_ACTION_PLUS_ONE_MONTH:
-+    case (intptr_t) XmUbTB_ACTION_PLUS_ONE_MONTH:
-       AddDateMonth( tbox, 1, 0 );
-       break;
- 
--    case (int) XmUbTB_ACTION_TIME_NOW:
-+    case (intptr_t) XmUbTB_ACTION_TIME_NOW:
-       (void) XmUbTimeBoxSetStartTime( (Widget) tbox, 
-                                       TimLocalTime( TimMakeTimeNow() ) );
-       range = False;
-       break;
- 
--    case (int) XmUbTB_ACTION_DATE_NOW:
-+    case (intptr_t) XmUbTB_ACTION_DATE_NOW:
-       (void) XmUbTimeBoxSetStartDate( (Widget) tbox, 
-                                       TimLocalTime( TimMakeTimeNow() ) );
-       range = False;
-       break;
- 
--    case (int) XmUbTB_ACTION_NOW:
-+    case (intptr_t) XmUbTB_ACTION_NOW:
-       (void) XmUbTimeBoxSetStartDate( (Widget) tbox, 
-                                       TimLocalTime( TimMakeTimeNow() ) );
-       (void) XmUbTimeBoxSetStartTime( (Widget) tbox, 
-@@ -3425,9 +3426,9 @@ static void
-   } /* switch */
- 
-   /* Set the keyboard focus to the most recently inserted text. */
--  switch( (int) action ){
-+  switch( (intptr_t) action ){
- 
--    case (int) XmUbTB_ACTION_TIME_NOW:
-+    case (intptr_t) XmUbTB_ACTION_TIME_NOW:
-       /* Set keyboard focus to the start time field. */
-       if( tbox -> tbox.internal_children[ XmUbTB_CHILD_START_TIME ] != NULL )
-         XmProcessTraversal( 
-@@ -3436,7 +3437,7 @@ static void
- 
-       break;
- 
--    case (int) XmUbTB_ACTION_DATE_NOW:
-+    case (intptr_t) XmUbTB_ACTION_DATE_NOW:
-       /* Set keyboard focus to the start date field. */
-       if( tbox -> tbox.internal_children[ XmUbTB_CHILD_START_DATE ] != NULL )
-         XmProcessTraversal( 
-@@ -3445,7 +3446,7 @@ static void
- 
-       break;
- 
--    case (int) XmUbTB_ACTION_NOW:
-+    case (intptr_t) XmUbTB_ACTION_NOW:
-       /* Set keyboard focus to the start time or date field. */
-       if( tbox -> tbox.internal_children[ XmUbTB_CHILD_START_TIME ] != NULL )
-         XmProcessTraversal( 
diff --git a/xdiary/patches/patch-xtools_xitColorSel.c b/xdiary/patches/patch-xtools_xitColorSel.c
deleted file mode 100644
index bb3e42346a..0000000000
--- a/xdiary/patches/patch-xtools_xitColorSel.c
+++ /dev/null
@@ -1,23 +0,0 @@
-$NetBSD$
-
-Avoid int to pointer conversion warnings
-
---- xtools/xitColorSel.c.orig	1997-05-04 13:13:45.000000000 +0000
-+++ xtools/xitColorSel.c
-@@ -38,6 +38,7 @@ static char SCCSID[] = "@(#) Module: xit
- --  Include files
- ----------------------------------------------------------------------------*/
- 
-+#include <stdint.h>
- #include <stdio.h>
- 
- #include <X11/Intrinsic.h>
-@@ -302,7 +303,7 @@ Widget
-     XtManageChild( menuPb );
- 
-     XtAddCallback( menuPb, XmNactivateCallback, 
--                   (XtCallbackProc) menuSelectCB, (XtPointer) index );
-+                   (XtCallbackProc) menuSelectCB, (XtPointer)(intptr_t)index );
- 
-     /* The default color is the first color. */
-     if( index == 0 ) {
diff --git a/xdiary/patches/patch-xtools_xitError.c b/xdiary/patches/patch-xtools_xitError.c
deleted file mode 100644
index 305a1df45c..0000000000
--- a/xdiary/patches/patch-xtools_xitError.c
+++ /dev/null
@@ -1,14 +0,0 @@
-$NetBSD$
-
-Provide a declaration of exit()
-
---- xtools/xitError.c.orig	1995-02-18 14:11:29.000000000 +0000
-+++ xtools/xitError.c
-@@ -39,6 +39,7 @@ static char SCCSID[] = "@(#) Module: xit
- ----------------------------------------------------------------------------*/
- 
- #include <stdio.h>
-+#include <stdlib.h>
- #include <string.h>
- 
- #include <X11/Intrinsic.h>
diff --git a/xdiary/patches/patch-xtools_xitInfoSrch.c b/xdiary/patches/patch-xtools_xitInfoSrch.c
deleted file mode 100644
index 56af4d9198..0000000000
--- a/xdiary/patches/patch-xtools_xitInfoSrch.c
+++ /dev/null
@@ -1,32 +0,0 @@
-$NetBSD$
-
-Avoid int to pointer conversion warnings
-
---- xtools/xitInfoSrch.c.orig	1997-05-04 22:25:10.000000000 +0000
-+++ xtools/xitInfoSrch.c
-@@ -35,6 +35,7 @@ static char SCCSID[] = "@(#) Module: xit
- --  Include files
- ----------------------------------------------------------------------------*/
- 
-+#include <stdint.h>
- #include <limits.h>
- #include <stdio.h>
- #include <ctype.h>
-@@ -406,7 +407,7 @@ static Widget
-     gotoBu[ index ] = xitCreatePushButton( gotoRc, &goto_def[ index ] );
- 
-     XtAddCallback( gotoBu[ index ], XmNactivateCallback, 
--                   (XtCallbackProc) gotoCB, (XtPointer) index );
-+                   (XtCallbackProc) gotoCB, (XtPointer)(intptr_t)index );
-   }
- 
- 
-@@ -663,7 +664,7 @@ static void
- 
- 
-   /* Select what to do. */
--  switch( (int) call_data -> data ) {
-+  switch( (intptr_t) call_data -> data ) {
- 
-     /* Next? */
-     case 0:
diff --git a/xdiary/patches/patch-xtools_xitInfoToc.c b/xdiary/patches/patch-xtools_xitInfoToc.c
deleted file mode 100644
index 672dc801cf..0000000000
--- a/xdiary/patches/patch-xtools_xitInfoToc.c
+++ /dev/null
@@ -1,32 +0,0 @@
-$NetBSD$
-
-Avoid int to pointer conversion warnings
-
---- xtools/xitInfoToc.c.orig	1997-05-04 13:15:28.000000000 +0000
-+++ xtools/xitInfoToc.c
-@@ -35,6 +35,7 @@ static char SCCSID[] = "@(#) Module: xit
- --  Include files
- ----------------------------------------------------------------------------*/
- 
-+#include <stdint.h>
- #include <limits.h>
- #include <stdio.h>
- #include <ctype.h>
-@@ -355,7 +356,7 @@ static Widget
-     gotoBu[ index ] = xitCreatePushButton( gotoRc, &goto_def[ index ] );
- 
-     XtAddCallback( gotoBu[ index ], XmNactivateCallback, 
--                   (XtCallbackProc) gotoCB, (XtPointer) index );
-+                   (XtCallbackProc) gotoCB, (XtPointer)(intptr_t)index );
-   }
- 
- 
-@@ -702,7 +703,7 @@ static void
- 
- 
-   /* Select what to do. */
--  switch( (int) call_data -> data ) {
-+  switch( (intptr_t) call_data -> data ) {
- 
-     /* Next? */
-     case 0:
diff --git a/xdiary/patches/patch-xtools_xitXmStr.c b/xdiary/patches/patch-xtools_xitXmStr.c
deleted file mode 100644
index f1bc3e034c..0000000000
--- a/xdiary/patches/patch-xtools_xitXmStr.c
+++ /dev/null
@@ -1,17 +0,0 @@
-$NetBSD$
-
-Provide a definition of const.
-
---- xtools/xitXmStr.c.orig	1995-02-18 14:11:37.000000000 +0000
-+++ xtools/xitXmStr.c
-@@ -56,10 +56,6 @@ static char SCCSID[] = "@(#) Module: xit
- --  Macro definitions
- ----------------------------------------------------------------------------*/
- 
--#ifndef _POSIX_SOURCE
--#  define  const
--#endif
--
- 
- /*----------------------------------------------------------------------------
- --  Type declarations


Home | Main Index | Thread Index | Old Index