pkgsrc-WIP-changes archive

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

xdiary: document patches.



Module Name:	pkgsrc-wip
Committed By:	Paolo Vincenzo Olivo <vins%NetBSD.org@localhost>
Pushed By:	vms
Date:		Fri Jan 6 23:54:16 2023 +0100
Changeset:	44199c5a39a49e0201471cfc6c4bbee2e3bf9332

Modified Files:
	xdiary/Makefile
	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_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-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: document patches.

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

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

diffstat:
 xdiary/Makefile                               |  6 +--
 xdiary/distinfo                               | 56 +++++++++++++--------------
 xdiary/patches/patch-XDiary.tmpl              |  2 +
 xdiary/patches/patch-dtools_xtmCalendar.c     | 16 ++++++--
 xdiary/patches/patch-dtools_xtmDbTools.c      | 34 ++++++++++++----
 xdiary/patches/patch-dtools_xtmEditEntry.c    | 14 ++++++-
 xdiary/patches/patch-dtools_xtmMsgSelect.c    | 14 ++++++-
 xdiary/patches/patch-dtools_xtmMsgSend.c      | 16 ++++++--
 xdiary/patches/patch-dtools_xtmPlan.c         | 32 +++++++++------
 xdiary/patches/patch-dtools_xtmPrEntries.c    | 18 +++++++--
 xdiary/patches/patch-dtools_xtmReminder.c     | 16 ++++++--
 xdiary/patches/patch-dtools_xtmSchedAct.c     | 14 ++++++-
 xdiary/patches/patch-dtools_xtmSchedMain.c    | 34 ++++++++++------
 xdiary/patches/patch-dtools_xtmShowToDo.c     | 18 +++++++--
 xdiary/patches/patch-tools_System.c           |  2 +
 xdiary/patches/patch-xdaclunix_xtmAclUnix.c   |  2 +
 xdiary/patches/patch-xdalarm_xtmAlarmProc.c   |  2 +
 xdiary/patches/patch-xdcustom_xtmCustom.c     | 22 ++++++++---
 xdiary/patches/patch-xdiary_xtmDiary.c        |  2 +
 xdiary/patches/patch-xdlight_xtmDiaryLgt.c    |  2 +
 xdiary/patches/patch-xdnotify_xtmNotify.c     |  2 +
 xdiary/patches/patch-xdprformat_xtmPrFormat.c |  2 +
 xdiary/patches/patch-xdremind_xtmRemMain.c    |  2 +
 xdiary/patches/patch-xdrestore_xtmRestore.c   |  2 +
 xdiary/patches/patch-xtools_XmUbTimeB.c       | 20 +++++++---
 xdiary/patches/patch-xtools_xitColorSel.c     | 12 +++++-
 xdiary/patches/patch-xtools_xitError.c        |  2 +
 xdiary/patches/patch-xtools_xitInfoSrch.c     | 14 ++++++-
 xdiary/patches/patch-xtools_xitInfoToc.c      | 14 ++++++-
 xdiary/patches/patch-xtools_xitXmStr.c        |  2 +
 30 files changed, 294 insertions(+), 100 deletions(-)

diffs:
diff --git a/xdiary/Makefile b/xdiary/Makefile
index 4cb39b1c28..d08b51cc0f 100644
--- a/xdiary/Makefile
+++ b/xdiary/Makefile
@@ -12,9 +12,9 @@ LICENSE=	0-clause-bsd
 
 USE_IMAKE=	yes
 
-SUBST_CLASSES+=	cc
-SUBST_STAGE.cc=	pre-configure
-SUBST_FILES.cc=	XDiary.tmpl
+SUBST_CLASSES+=		cc
+SUBST_STAGE.cc=		pre-configure
+SUBST_FILES.cc=		XDiary.tmpl
 SUBST_VARS.cc=		CC
 SUBST_MESSAGE.cc=	Defining preferred compiler.
 
diff --git a/xdiary/distinfo b/xdiary/distinfo
index 9acaf0ea97..1b7698916e 100644
--- a/xdiary/distinfo
+++ b/xdiary/distinfo
@@ -3,33 +3,33 @@ $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) = c9615944cd864385878ff18914e1f050e7644f36
-SHA1 (patch-dtools_xtmCalendar.c) = 1d9ae42400eefcdeee8a971154ff57ca8316ae9f
-SHA1 (patch-dtools_xtmDbTools.c) = f1cb5994a320cb81be009b62247249916a79c7e1
-SHA1 (patch-dtools_xtmEditEntry.c) = 3b083882ff00824dbb0e559828bcfc4ffe283636
-SHA1 (patch-dtools_xtmMsgSelect.c) = a13d57c955906b2445dedeb5d7e432a094a2c5df
-SHA1 (patch-dtools_xtmMsgSend.c) = 63529607ccc6c6f598efec3333acb819401962ef
-SHA1 (patch-dtools_xtmPlan.c) = 540b5c7ad8d8fa4823bb1177c47691d6d06a5345
-SHA1 (patch-dtools_xtmPrEntries.c) = f6658e51224d66e1c749ea032f5d8231402ec3a6
-SHA1 (patch-dtools_xtmReminder.c) = ab35f4ba83f033b7b4bc056d62ab59679ed0265a
-SHA1 (patch-dtools_xtmSchedAct.c) = 14b9fcd52c82397d99eec056da3d926691142ef4
-SHA1 (patch-dtools_xtmSchedMain.c) = 65290da77286227fce1e93bf48f54ab982f303ab
-SHA1 (patch-dtools_xtmShowToDo.c) = 7ca998ddc697699594f5446dc4db7d9bd6068d27
+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) = d1fb9f9cdbfda3f58fe0eb53a4f93357c8e49336
-SHA1 (patch-xdaclunix_xtmAclUnix.c) = 8bd3115d7fa0630b0cf40b6854c8087faa3256e7
-SHA1 (patch-xdalarm_xtmAlarmProc.c) = 2b376e631c1a1285b34a3c4045e9fb41d573a8f3
-SHA1 (patch-xdcustom_xtmCustom.c) = efc573e2d0fd15cdc12e0c1452dbfc77ad028275
-SHA1 (patch-xdiary_xtmDiary.c) = aa76a0f12301a0d69c29f5b791e8be1405923e2b
-SHA1 (patch-xdlight_xtmDiaryLgt.c) = 5dbcb0b9c6e5f3c1962b48ec42418a10edf5c720
-SHA1 (patch-xdnotify_xtmNotify.c) = 5fe8265b668de11b8b3afc3517b42d96eb28aa05
-SHA1 (patch-xdprformat_xtmPrFormat.c) = 914926f726ca99eec0ddab5d95faf0f8e8e86e36
-SHA1 (patch-xdremind_xtmRemMain.c) = 0e67dcf8ffb4892850adf778f7382c7b42ed1a9f
+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) = f2074b4d7661e19aa2d2aa9069b9a336df0664b3
-SHA1 (patch-xtools_XmUbTimeB.c) = 967bfbf2b33615b49d7a363971fc579ee09c63f9
-SHA1 (patch-xtools_xitColorSel.c) = aa70e8a4091fce31a82d86fc6811e5369c58ff45
-SHA1 (patch-xtools_xitError.c) = de32cf09669eee59722b72a8f2e1a586af3d6776
-SHA1 (patch-xtools_xitInfoSrch.c) = 1cc7469e21e8cf7d60ba9f40b0d4a8ead26660c2
-SHA1 (patch-xtools_xitInfoToc.c) = 1465698b293099a1da8cba78c344b73d4eb85d8f
-SHA1 (patch-xtools_xitXmStr.c) = 1787daf0a8d253b8364e07003a9debc52d9c93f9
+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
index 707aa0434a..ea38dd1219 100644
--- a/xdiary/patches/patch-XDiary.tmpl
+++ b/xdiary/patches/patch-XDiary.tmpl
@@ -1,5 +1,7 @@
 $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  
diff --git a/xdiary/patches/patch-dtools_xtmCalendar.c b/xdiary/patches/patch-dtools_xtmCalendar.c
index 811e4bec23..1672615650 100644
--- a/xdiary/patches/patch-dtools_xtmCalendar.c
+++ b/xdiary/patches/patch-dtools_xtmCalendar.c
@@ -1,8 +1,18 @@
 $NetBSD$
 
+Avoid int to pointer conversion warnings
+
 --- dtools/xtmCalendar.c.orig	1997-05-04 21:09:55.000000000 +0000
 +++ dtools/xtmCalendar.c
-@@ -779,7 +779,7 @@ static Widget
+@@ -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, 
@@ -11,7 +21,7 @@ $NetBSD$
    }
  
    /* We can't do context sensitive help. */
-@@ -1406,7 +1406,7 @@ static void 
+@@ -1406,7 +1407,7 @@ static void
    /* Code. */
  
    /* About window? */
@@ -20,7 +30,7 @@ $NetBSD$
      xtmHlDisplayAboutWindow( cal_ref -> calFormW );
  
      return;
-@@ -1414,7 +1414,7 @@ static void 
+@@ -1414,7 +1415,7 @@ static void
  
    /* Use the standard help. */
    xtmHlDisplayHelp( cal_ref -> appl_data_ref -> info_handle,
diff --git a/xdiary/patches/patch-dtools_xtmDbTools.c b/xdiary/patches/patch-dtools_xtmDbTools.c
index 63cb1dd9b4..c9f4623067 100644
--- a/xdiary/patches/patch-dtools_xtmDbTools.c
+++ b/xdiary/patches/patch-dtools_xtmDbTools.c
@@ -1,8 +1,19 @@
 $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
-@@ -1813,7 +1813,7 @@ XTM_DB_STATUS
+@@ -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, 
@@ -11,7 +22,7 @@ $NetBSD$
                                       (EQUALS_FUNC_TYPE) dateSortFunc );
  
      if( lst_status == LST_OK )
-@@ -1896,7 +1896,7 @@ XTM_DB_STATUS
+@@ -1896,7 +1897,7 @@ XTM_DB_STATUS
            case XTM_DB_DAY_NOTE:
              lst_status = LstLinkSearchFirst( 
                             *note_list_ref, 
@@ -20,7 +31,7 @@ $NetBSD$
                             (EQUALS_FUNC_TYPE) entryIdSortFunc );
  
              if( lst_status == LST_OK )
-@@ -1910,7 +1910,7 @@ XTM_DB_STATUS
+@@ -1910,7 +1911,7 @@ XTM_DB_STATUS
            case XTM_DB_DAY_ENTRY:
              lst_status = LstLinkSearchFirst( 
                             *entry_list_ref, 
@@ -29,7 +40,7 @@ $NetBSD$
                             (EQUALS_FUNC_TYPE) entryTimeSortFunc );
  
              if( lst_status == LST_OK )
-@@ -1984,7 +1984,7 @@ XTM_DB_STATUS
+@@ -1984,7 +1985,7 @@ XTM_DB_STATUS
          case XTM_DB_DAY_NOTE:
            lst_status = LstLinkSearchFirst( 
                           *note_list_ref, 
@@ -38,7 +49,7 @@ $NetBSD$
                           (EQUALS_FUNC_TYPE) entryIdSortFunc );
  
            if( lst_status == LST_OK )
-@@ -1998,7 +1998,7 @@ XTM_DB_STATUS
+@@ -1998,7 +1999,7 @@ XTM_DB_STATUS
          case XTM_DB_DAY_ENTRY:
            lst_status = LstLinkSearchFirst( 
                           *entry_list_ref, 
@@ -47,7 +58,7 @@ $NetBSD$
                           (EQUALS_FUNC_TYPE) entryTimeSortFunc );
  
            if( lst_status == LST_OK )
-@@ -2072,7 +2072,7 @@ XTM_DB_STATUS
+@@ -2072,7 +2073,7 @@ XTM_DB_STATUS
        case XTM_DB_DAY_NOTE:
          lst_status = LstLinkSearchFirst( 
                         *note_list_ref, 
@@ -56,7 +67,7 @@ $NetBSD$
                         (EQUALS_FUNC_TYPE) entryIdSortFunc );
  
          if( lst_status == LST_OK )
-@@ -2086,7 +2086,7 @@ XTM_DB_STATUS
+@@ -2086,7 +2087,7 @@ XTM_DB_STATUS
        case XTM_DB_DAY_ENTRY:
          lst_status = LstLinkSearchFirst( 
                         *entry_list_ref, 
@@ -65,3 +76,12 @@ $NetBSD$
                         (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
index 9b8f766e3e..5b2e2b64cf 100644
--- a/xdiary/patches/patch-dtools_xtmEditEntry.c
+++ b/xdiary/patches/patch-dtools_xtmEditEntry.c
@@ -1,8 +1,18 @@
 $NetBSD$
 
+Avoid int to pointer conversion warnings
+
 --- dtools/xtmEditEntry.c.orig	1997-05-04 22:27:52.000000000 +0000
 +++ dtools/xtmEditEntry.c
-@@ -877,7 +877,7 @@ static Widget 
+@@ -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, 
@@ -11,7 +21,7 @@ $NetBSD$
    }
  
    /* We can't do context sensitive help. */
-@@ -2915,7 +2915,7 @@ static void 
+@@ -2915,7 +2916,7 @@ static void
    /* Code. */
  
    xtmHlDisplayHelp( editor_ref -> appl_data_ref -> info_handle,
diff --git a/xdiary/patches/patch-dtools_xtmMsgSelect.c b/xdiary/patches/patch-dtools_xtmMsgSelect.c
index 224bf784ec..2a85b1bb8e 100644
--- a/xdiary/patches/patch-dtools_xtmMsgSelect.c
+++ b/xdiary/patches/patch-dtools_xtmMsgSelect.c
@@ -1,8 +1,18 @@
 $NetBSD$
 
+Avoid int to pointer conversion warnings
+
 --- dtools/xtmMsgSelect.c.orig	1995-02-18 14:53:48.000000000 +0000
 +++ dtools/xtmMsgSelect.c
-@@ -438,7 +438,7 @@ static Widget 
+@@ -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, 
@@ -11,7 +21,7 @@ $NetBSD$
    }
  
    /* We can't do context sensitive help. */
-@@ -849,7 +849,7 @@ static void 
+@@ -849,7 +850,7 @@ static void
    /* Code. */
  
    xtmHlDisplayHelp( sel_ref -> appl_data_ref -> info_handle,
diff --git a/xdiary/patches/patch-dtools_xtmMsgSend.c b/xdiary/patches/patch-dtools_xtmMsgSend.c
index 8acdaad85f..6f0b52ba6e 100644
--- a/xdiary/patches/patch-dtools_xtmMsgSend.c
+++ b/xdiary/patches/patch-dtools_xtmMsgSend.c
@@ -1,8 +1,18 @@
 $NetBSD$
 
+Avoid int to pointer conversion warnings
+
 --- dtools/xtmMsgSend.c.orig	1997-05-04 23:13:08.000000000 +0000
 +++ dtools/xtmMsgSend.c
-@@ -611,7 +611,7 @@ static Widget 
+@@ -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, 
@@ -11,7 +21,7 @@ $NetBSD$
    }
  
    /* We can't do context sensitive help. */
-@@ -939,7 +939,7 @@ static Widget 
+@@ -939,7 +940,7 @@ static Widget
                                                     &help_casc[ index ] );
  
      XtAddCallback( menuHelpBu[ index ], XmNactivateCallback, 
@@ -20,7 +30,7 @@ $NetBSD$
    }
  
    /* We can't do context sensitive help. */
-@@ -1811,7 +1811,7 @@ static void 
+@@ -1811,7 +1812,7 @@ static void
    /* Code. */
  
    xtmHlDisplayHelp( send_ref -> appl_data_ref -> info_handle,
diff --git a/xdiary/patches/patch-dtools_xtmPlan.c b/xdiary/patches/patch-dtools_xtmPlan.c
index 486eb454bf..6cbf54a1eb 100644
--- a/xdiary/patches/patch-dtools_xtmPlan.c
+++ b/xdiary/patches/patch-dtools_xtmPlan.c
@@ -1,8 +1,18 @@
 $NetBSD$
 
+Avoid int to pointer conversion warnings
+
 --- dtools/xtmPlan.c.orig	1997-05-04 21:09:51.000000000 +0000
 +++ dtools/xtmPlan.c
-@@ -1004,7 +1004,7 @@ static Widget
+@@ -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, 
@@ -11,7 +21,7 @@ $NetBSD$
    }
  
    /* Create the control menu. */
-@@ -1019,10 +1019,10 @@ static Widget
+@@ -1019,10 +1020,10 @@ static Widget
  
      if( XmIsPushButton( menuCtrlBu[ index ] ) )
        XtAddCallback( menuCtrlBu[ index ], XmNactivateCallback, 
@@ -24,7 +34,7 @@ $NetBSD$
    }
  
    /* Create the options menu. */
-@@ -1035,7 +1035,7 @@ static Widget
+@@ -1035,7 +1036,7 @@ static Widget
  
      if( XmIsPushButton( menuOptBu[ index ] ) )
        XtAddCallback( menuOptBu[ index ], XmNactivateCallback, 
@@ -33,7 +43,7 @@ $NetBSD$
    }
  
    /* Create the help menu. */
-@@ -1048,7 +1048,7 @@ static Widget
+@@ -1048,7 +1049,7 @@ static Widget
  
      if( XmIsPushButton( menuHelpBu[ index ] ) )
        XtAddCallback( menuHelpBu[ index ], XmNactivateCallback, 
@@ -42,7 +52,7 @@ $NetBSD$
    }
  
    /* We can't do context sensitive help. */
-@@ -3434,7 +3434,7 @@ static void 
+@@ -3434,7 +3435,7 @@ static void
  
  
    /* Select what to do. */
@@ -51,7 +61,7 @@ $NetBSD$
  
      /* Instant update. */
      case 0:
-@@ -3583,7 +3583,7 @@ static void 
+@@ -3583,7 +3584,7 @@ static void
  
  
    /* Select what to do. */
@@ -60,7 +70,7 @@ $NetBSD$
  
      /* Close the window. */
      case 0:
-@@ -3609,7 +3609,7 @@ static void 
+@@ -3609,7 +3610,7 @@ static void
    /* Variables. */
    Boolean                 ok;
    int                     char_read;
@@ -69,7 +79,7 @@ $NetBSD$
    char                    calendar[ XTM_GL_MAX_CAL_NAME + 1 ];
    char                    *group_name;
    char                    *members_ref;
-@@ -3664,7 +3664,7 @@ static void 
+@@ -3664,7 +3665,7 @@ static void
      XtSetArg( args[ n ], XmNuserData, &user_data_ref ); n++;
      XtGetValues( calW, args, n );
  
@@ -78,7 +88,7 @@ $NetBSD$
  
      if( call_data -> set ) {
        if( ref_count < 1 ) 
-@@ -3710,7 +3710,7 @@ static void 
+@@ -3710,7 +3711,7 @@ static void
    /* Code. */
  
    /* About window? */
@@ -87,7 +97,7 @@ $NetBSD$
      xtmHlDisplayAboutWindow( plan_ref -> plannerW );
  
      return;
-@@ -3718,7 +3718,7 @@ static void 
+@@ -3718,7 +3719,7 @@ static void
  
    /* Use the standard help. */
    xtmHlDisplayHelp( plan_ref -> appl_data_ref -> info_handle,
@@ -96,7 +106,7 @@ $NetBSD$
                      planner_window_id, "" );
  
    return;
-@@ -3810,7 +3810,7 @@ static void 
+@@ -3810,7 +3811,7 @@ static void
  
  
    /* Select what to do. */
diff --git a/xdiary/patches/patch-dtools_xtmPrEntries.c b/xdiary/patches/patch-dtools_xtmPrEntries.c
index 13a27b9c18..78b67533ad 100644
--- a/xdiary/patches/patch-dtools_xtmPrEntries.c
+++ b/xdiary/patches/patch-dtools_xtmPrEntries.c
@@ -1,8 +1,18 @@
 $NetBSD$
 
+Avoid int to pointer conversion warnings
+
 --- dtools/xtmPrEntries.c.orig	1997-05-04 21:09:51.000000000 +0000
 +++ dtools/xtmPrEntries.c
-@@ -778,10 +778,10 @@ static Widget
+@@ -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, 
@@ -15,7 +25,7 @@ $NetBSD$
    }
  
    /* Create the help menu. */
-@@ -793,7 +793,7 @@ static Widget
+@@ -793,7 +794,7 @@ static Widget
                                                     &help_casc[ index ] );
  
      XtAddCallback( menuHelpBu[ index ], XmNactivateCallback, 
@@ -24,7 +34,7 @@ $NetBSD$
    }
  
    /* We can't do context sensitive help. */
-@@ -1815,7 +1815,7 @@ static void 
+@@ -1815,7 +1816,7 @@ static void
    custom_data_ref = printer_ref -> appl_data_ref -> custom_data;
  
    /* Select what to do. */
@@ -33,7 +43,7 @@ $NetBSD$
  
      /* Filter window. */
      case 0:
-@@ -2005,7 +2005,7 @@ static void 
+@@ -2005,7 +2006,7 @@ static void
    /* Code. */
  
    xtmHlDisplayHelp( printer_ref -> appl_data_ref -> info_handle,
diff --git a/xdiary/patches/patch-dtools_xtmReminder.c b/xdiary/patches/patch-dtools_xtmReminder.c
index 2de0f21967..e7c376af2f 100644
--- a/xdiary/patches/patch-dtools_xtmReminder.c
+++ b/xdiary/patches/patch-dtools_xtmReminder.c
@@ -1,8 +1,18 @@
 $NetBSD$
 
+Avoid int to pointer conversion warnings
+
 --- dtools/xtmReminder.c.orig	1997-05-04 21:09:51.000000000 +0000
 +++ dtools/xtmReminder.c
-@@ -580,7 +580,7 @@ static Widget
+@@ -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, 
@@ -11,7 +21,7 @@ $NetBSD$
    }
  
    /* We can't do context sensitive help. */
-@@ -1093,7 +1093,7 @@ static void
+@@ -1093,7 +1094,7 @@ static void
    /* Code. */
  
    /* About window? */
@@ -20,7 +30,7 @@ $NetBSD$
      xtmHlDisplayAboutWindow( reminder_ref -> reminderW );
  
      return;
-@@ -1105,7 +1105,7 @@ static void
+@@ -1105,7 +1106,7 @@ static void
    /* Call the user callback. */
    (* reminder_ref -> helpCB)( reminder_ref -> reminderW, 
                                reminder_ref -> user_data,
diff --git a/xdiary/patches/patch-dtools_xtmSchedAct.c b/xdiary/patches/patch-dtools_xtmSchedAct.c
index 8f21deffee..dc0312824f 100644
--- a/xdiary/patches/patch-dtools_xtmSchedAct.c
+++ b/xdiary/patches/patch-dtools_xtmSchedAct.c
@@ -1,8 +1,18 @@
 $NetBSD$
 
+Avoid int to pointer conversion warnings
+
 --- dtools/xtmSchedAct.c.orig	1997-05-04 21:16:55.000000000 +0000
 +++ dtools/xtmSchedAct.c
-@@ -1967,7 +1967,7 @@ static Widget
+@@ -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, 
@@ -11,7 +21,7 @@ $NetBSD$
    }
  
    XtManageChildren( menuPopupBu, XtNumber( menuPopupBu ) );
-@@ -2106,7 +2106,7 @@ static void 
+@@ -2106,7 +2107,7 @@ static void
  
  
    /* Select what to do. */
diff --git a/xdiary/patches/patch-dtools_xtmSchedMain.c b/xdiary/patches/patch-dtools_xtmSchedMain.c
index 491749104e..5cabd8d3a3 100644
--- a/xdiary/patches/patch-dtools_xtmSchedMain.c
+++ b/xdiary/patches/patch-dtools_xtmSchedMain.c
@@ -1,8 +1,18 @@
 $NetBSD$
 
+Avoid int to pointer conversion warnings
+
 --- dtools/xtmSchedMain.c.orig	1997-05-04 23:16:02.000000000 +0000
 +++ dtools/xtmSchedMain.c
-@@ -1090,7 +1090,7 @@ static Widget
+@@ -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, 
@@ -11,7 +21,7 @@ $NetBSD$
    }
  
    if( flagIsSet( sched_ref -> flags, XTM_SM_ONLY_ONE ) )
-@@ -1109,7 +1109,7 @@ static Widget
+@@ -1109,7 +1110,7 @@ static Widget
  
      if( XmIsPushButton( menuEditBu[ index ] ) )
        XtAddCallback( menuEditBu[ index ], XmNactivateCallback, 
@@ -20,7 +30,7 @@ $NetBSD$
    }
  
  
-@@ -1125,10 +1125,10 @@ static Widget
+@@ -1125,10 +1126,10 @@ static Widget
  
      if( XmIsPushButton( menuCtrlBu[ index ] ) )
        XtAddCallback( menuCtrlBu[ index ], XmNactivateCallback, 
@@ -33,7 +43,7 @@ $NetBSD$
    }
  
  
-@@ -1142,7 +1142,7 @@ static Widget
+@@ -1142,7 +1143,7 @@ static Widget
  
      if( XmIsPushButton( menuOptionsBu[ index ] ) )
        XtAddCallback( menuOptionsBu[ index ], XmNactivateCallback, 
@@ -42,7 +52,7 @@ $NetBSD$
    }
  
  
-@@ -1156,7 +1156,7 @@ static Widget
+@@ -1156,7 +1157,7 @@ static Widget
  
      if( XmIsPushButton( menuHelpBu[ index ] ) )
        XtAddCallback( menuHelpBu[ index ], XmNactivateCallback, 
@@ -51,7 +61,7 @@ $NetBSD$
    }
  
    /* We can't do context sensitive help. */
-@@ -1971,7 +1971,7 @@ static void 
+@@ -1971,7 +1972,7 @@ static void
    mainW = XtNameToWidget( sched_ref -> scheduleW, "SchedTlBase.SchedTlFo" );
  
    /* Select what to do. */
@@ -60,7 +70,7 @@ $NetBSD$
  
      /* Confirm actions? */
      case 0:
-@@ -2277,7 +2277,7 @@ static void 
+@@ -2277,7 +2278,7 @@ static void
  
  
    /* Select what to do. */
@@ -69,7 +79,7 @@ $NetBSD$
  
      /* Edit the entry. */
      case 0:
-@@ -2401,7 +2401,7 @@ static void 
+@@ -2401,7 +2402,7 @@ static void
  
  
    /* Select what to do. */
@@ -78,7 +88,7 @@ $NetBSD$
  
      /* Open schedule with the same database. */
      case 0:
-@@ -2493,7 +2493,7 @@ static void 
+@@ -2493,7 +2494,7 @@ static void
              flagIsSet(   db_info.operations, XTM_DB_FLAG_MODE_WRITE ) )
            can_download = True;
  
@@ -87,7 +97,7 @@ $NetBSD$
            xtmRtDoRemote( sched_ref -> remote_handle, XTM_RT_UPLOAD,
                           db_info.short_name, True, can_download );
          else
-@@ -2605,7 +2605,7 @@ static void 
+@@ -2605,7 +2606,7 @@ static void
    /* Code. */
  
    /* About window? */
@@ -96,7 +106,7 @@ $NetBSD$
      xtmHlDisplayAboutWindow( sched_ref -> scheduleW );
  
      return;
-@@ -2613,7 +2613,7 @@ static void 
+@@ -2613,7 +2614,7 @@ static void
  
    /* Use the standard help. */
    xtmHlDisplayHelp( sched_ref -> appl_data_ref -> info_handle,
@@ -105,7 +115,7 @@ $NetBSD$
                      day_view_window_id, "" );
  
    return;
-@@ -3020,7 +3020,7 @@ static void 
+@@ -3020,7 +3021,7 @@ static void
  
  
    /* Select what to do. */
diff --git a/xdiary/patches/patch-dtools_xtmShowToDo.c b/xdiary/patches/patch-dtools_xtmShowToDo.c
index a94b927027..e2c2df1f6d 100644
--- a/xdiary/patches/patch-dtools_xtmShowToDo.c
+++ b/xdiary/patches/patch-dtools_xtmShowToDo.c
@@ -1,8 +1,18 @@
 $NetBSD$
 
+Avoid int to pointer conversion warnings
+
 --- dtools/xtmShowToDo.c.orig	1997-05-04 21:26:20.000000000 +0000
 +++ dtools/xtmShowToDo.c
-@@ -665,10 +665,10 @@ static Widget
+@@ -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, 
@@ -15,7 +25,7 @@ $NetBSD$
    }
  
  
-@@ -681,7 +681,7 @@ static Widget
+@@ -681,7 +682,7 @@ static Widget
                                                     &help_casc[ index ] );
  
      XtAddCallback( menuHelpBu[ index ], XmNactivateCallback, 
@@ -24,7 +34,7 @@ $NetBSD$
    }
  
    /* We can't do context sensitive help. */
-@@ -1189,7 +1189,7 @@ static void 
+@@ -1189,7 +1190,7 @@ static void
    custom_data_ref = show_ref -> appl_data_ref -> custom_data;
  
    /* Select what to do. */
@@ -33,7 +43,7 @@ $NetBSD$
  
      /* Display entry flags? */
      case 0:
-@@ -1402,7 +1402,7 @@ static void 
+@@ -1402,7 +1403,7 @@ static void
    /* Code. */
  
    xtmHlDisplayHelp( show_ref -> appl_data_ref -> info_handle,
diff --git a/xdiary/patches/patch-tools_System.c b/xdiary/patches/patch-tools_System.c
index d9694dc544..5a4c114239 100644
--- a/xdiary/patches/patch-tools_System.c
+++ b/xdiary/patches/patch-tools_System.c
@@ -1,5 +1,7 @@
 $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
diff --git a/xdiary/patches/patch-xdaclunix_xtmAclUnix.c b/xdiary/patches/patch-xdaclunix_xtmAclUnix.c
index 87e29b3f0d..78abe4b144 100644
--- a/xdiary/patches/patch-xdaclunix_xtmAclUnix.c
+++ b/xdiary/patches/patch-xdaclunix_xtmAclUnix.c
@@ -1,5 +1,7 @@
 $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 
diff --git a/xdiary/patches/patch-xdalarm_xtmAlarmProc.c b/xdiary/patches/patch-xdalarm_xtmAlarmProc.c
index b8d29c027e..76dc591a75 100644
--- a/xdiary/patches/patch-xdalarm_xtmAlarmProc.c
+++ b/xdiary/patches/patch-xdalarm_xtmAlarmProc.c
@@ -1,5 +1,7 @@
 $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
diff --git a/xdiary/patches/patch-xdcustom_xtmCustom.c b/xdiary/patches/patch-xdcustom_xtmCustom.c
index 0a1fffadd2..95a108cc4e 100644
--- a/xdiary/patches/patch-xdcustom_xtmCustom.c
+++ b/xdiary/patches/patch-xdcustom_xtmCustom.c
@@ -1,8 +1,18 @@
 $NetBSD$
 
+Avoid int to pointer conversion warnings
+
 --- xdcustom/xtmCustom.c.orig	1997-05-04 22:02:16.000000000 +0000
 +++ xdcustom/xtmCustom.c
-@@ -231,8 +231,8 @@ static int
+@@ -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
  ----------------------------------------------------------------------------*/
  
@@ -13,7 +23,7 @@ $NetBSD$
  {
  
    /* Variables. */
-@@ -615,7 +615,7 @@ static Widget
+@@ -615,7 +616,7 @@ static Widget
                                                     &help_casc[ index ] );
  
      XtAddCallback( menuHelpBu[ index ], XmNactivateCallback, 
@@ -22,7 +32,7 @@ $NetBSD$
    }
  
    /* We can't do context sensitive help. */
-@@ -641,7 +641,7 @@ static Widget
+@@ -641,7 +642,7 @@ static Widget
                                               &do_cust_def[ index ] );
  
      XtAddCallback( doCustBu[ index ], XmNactivateCallback, 
@@ -31,7 +41,7 @@ $NetBSD$
  
    } /* loop */
  
-@@ -1451,7 +1451,7 @@ static void 
+@@ -1451,7 +1452,7 @@ static void
  
  
    /* Select what to do. */
@@ -40,7 +50,7 @@ $NetBSD$
  
      /* Calendar customization? */
      case 0:
-@@ -1578,7 +1578,7 @@ static void 
+@@ -1578,7 +1579,7 @@ static void
    /* Code. */
  
    /* About window? */
@@ -49,7 +59,7 @@ $NetBSD$
  
      Widget  tempW;
  
-@@ -1590,7 +1590,7 @@ static void 
+@@ -1590,7 +1591,7 @@ static void
  
    /* Use the standard help. */
    xtmHlDisplayHelp( appl_data_ref -> info_handle,
diff --git a/xdiary/patches/patch-xdiary_xtmDiary.c b/xdiary/patches/patch-xdiary_xtmDiary.c
index 4402fd0cbf..ff1115fbd2 100644
--- a/xdiary/patches/patch-xdiary_xtmDiary.c
+++ b/xdiary/patches/patch-xdiary_xtmDiary.c
@@ -1,5 +1,7 @@
 $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
diff --git a/xdiary/patches/patch-xdlight_xtmDiaryLgt.c b/xdiary/patches/patch-xdlight_xtmDiaryLgt.c
index f53c7698fd..35870565e7 100644
--- a/xdiary/patches/patch-xdlight_xtmDiaryLgt.c
+++ b/xdiary/patches/patch-xdlight_xtmDiaryLgt.c
@@ -1,5 +1,7 @@
 $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
diff --git a/xdiary/patches/patch-xdnotify_xtmNotify.c b/xdiary/patches/patch-xdnotify_xtmNotify.c
index 0ed390408c..d24d49f79d 100644
--- a/xdiary/patches/patch-xdnotify_xtmNotify.c
+++ b/xdiary/patches/patch-xdnotify_xtmNotify.c
@@ -1,5 +1,7 @@
 $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
diff --git a/xdiary/patches/patch-xdprformat_xtmPrFormat.c b/xdiary/patches/patch-xdprformat_xtmPrFormat.c
index 50c4a626a2..2d6331c223 100644
--- a/xdiary/patches/patch-xdprformat_xtmPrFormat.c
+++ b/xdiary/patches/patch-xdprformat_xtmPrFormat.c
@@ -1,5 +1,7 @@
 $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
diff --git a/xdiary/patches/patch-xdremind_xtmRemMain.c b/xdiary/patches/patch-xdremind_xtmRemMain.c
index 48b0537816..b859c18ac7 100644
--- a/xdiary/patches/patch-xdremind_xtmRemMain.c
+++ b/xdiary/patches/patch-xdremind_xtmRemMain.c
@@ -1,5 +1,7 @@
 $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
diff --git a/xdiary/patches/patch-xdrestore_xtmRestore.c b/xdiary/patches/patch-xdrestore_xtmRestore.c
index 08511ba449..86cb390b9f 100644
--- a/xdiary/patches/patch-xdrestore_xtmRestore.c
+++ b/xdiary/patches/patch-xdrestore_xtmRestore.c
@@ -1,5 +1,7 @@
 $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
diff --git a/xdiary/patches/patch-xtools_XmUbTimeB.c b/xdiary/patches/patch-xtools_XmUbTimeB.c
index 00a9564cb5..24b176fd38 100644
--- a/xdiary/patches/patch-xtools_XmUbTimeB.c
+++ b/xdiary/patches/patch-xtools_XmUbTimeB.c
@@ -1,8 +1,18 @@
 $NetBSD$
 
+Avoid int to pointer conversion warnings
+
 --- xtools/XmUbTimeB.c.orig	1997-05-04 21:09:52.000000000 +0000
 +++ xtools/XmUbTimeB.c
-@@ -2159,7 +2159,7 @@ static void
+@@ -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 ) &&
@@ -11,7 +21,7 @@ $NetBSD$
            XtAddCallback( w, XmNactivateCallback, 
                           (XtCallbackProc) MenuItemActivatedCB, 
                           (XtPointer) items[ index ].proc );
-@@ -3366,51 +3366,51 @@ static void
+@@ -3366,51 +3367,51 @@ static void
    XtGetValues( pb, args, n );
  
    /* What to do depends on the selected action. */
@@ -74,7 +84,7 @@ $NetBSD$
        (void) XmUbTimeBoxSetStartDate( (Widget) tbox, 
                                        TimLocalTime( TimMakeTimeNow() ) );
        (void) XmUbTimeBoxSetStartTime( (Widget) tbox, 
-@@ -3425,9 +3425,9 @@ static void
+@@ -3425,9 +3426,9 @@ static void
    } /* switch */
  
    /* Set the keyboard focus to the most recently inserted text. */
@@ -86,7 +96,7 @@ $NetBSD$
        /* Set keyboard focus to the start time field. */
        if( tbox -> tbox.internal_children[ XmUbTB_CHILD_START_TIME ] != NULL )
          XmProcessTraversal( 
-@@ -3436,7 +3436,7 @@ static void
+@@ -3436,7 +3437,7 @@ static void
  
        break;
  
@@ -95,7 +105,7 @@ $NetBSD$
        /* Set keyboard focus to the start date field. */
        if( tbox -> tbox.internal_children[ XmUbTB_CHILD_START_DATE ] != NULL )
          XmProcessTraversal( 
-@@ -3445,7 +3445,7 @@ static void
+@@ -3445,7 +3446,7 @@ static void
  
        break;
  
diff --git a/xdiary/patches/patch-xtools_xitColorSel.c b/xdiary/patches/patch-xtools_xitColorSel.c
index 1ceffeb2f6..bb3e42346a 100644
--- a/xdiary/patches/patch-xtools_xitColorSel.c
+++ b/xdiary/patches/patch-xtools_xitColorSel.c
@@ -1,8 +1,18 @@
 $NetBSD$
 
+Avoid int to pointer conversion warnings
+
 --- xtools/xitColorSel.c.orig	1997-05-04 13:13:45.000000000 +0000
 +++ xtools/xitColorSel.c
-@@ -302,7 +302,7 @@ Widget
+@@ -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, 
diff --git a/xdiary/patches/patch-xtools_xitError.c b/xdiary/patches/patch-xtools_xitError.c
index c920541c8d..305a1df45c 100644
--- a/xdiary/patches/patch-xtools_xitError.c
+++ b/xdiary/patches/patch-xtools_xitError.c
@@ -1,5 +1,7 @@
 $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
diff --git a/xdiary/patches/patch-xtools_xitInfoSrch.c b/xdiary/patches/patch-xtools_xitInfoSrch.c
index 8f247d3708..56af4d9198 100644
--- a/xdiary/patches/patch-xtools_xitInfoSrch.c
+++ b/xdiary/patches/patch-xtools_xitInfoSrch.c
@@ -1,8 +1,18 @@
 $NetBSD$
 
+Avoid int to pointer conversion warnings
+
 --- xtools/xitInfoSrch.c.orig	1997-05-04 22:25:10.000000000 +0000
 +++ xtools/xitInfoSrch.c
-@@ -406,7 +406,7 @@ static Widget
+@@ -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, 
@@ -11,7 +21,7 @@ $NetBSD$
    }
  
  
-@@ -663,7 +663,7 @@ static void 
+@@ -663,7 +664,7 @@ static void
  
  
    /* Select what to do. */
diff --git a/xdiary/patches/patch-xtools_xitInfoToc.c b/xdiary/patches/patch-xtools_xitInfoToc.c
index 3ba3288bec..672dc801cf 100644
--- a/xdiary/patches/patch-xtools_xitInfoToc.c
+++ b/xdiary/patches/patch-xtools_xitInfoToc.c
@@ -1,8 +1,18 @@
 $NetBSD$
 
+Avoid int to pointer conversion warnings
+
 --- xtools/xitInfoToc.c.orig	1997-05-04 13:15:28.000000000 +0000
 +++ xtools/xitInfoToc.c
-@@ -355,7 +355,7 @@ static Widget
+@@ -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, 
@@ -11,7 +21,7 @@ $NetBSD$
    }
  
  
-@@ -702,7 +702,7 @@ static void 
+@@ -702,7 +703,7 @@ static void
  
  
    /* Select what to do. */
diff --git a/xdiary/patches/patch-xtools_xitXmStr.c b/xdiary/patches/patch-xtools_xitXmStr.c
index 0009dd698f..f1bc3e034c 100644
--- a/xdiary/patches/patch-xtools_xitXmStr.c
+++ b/xdiary/patches/patch-xtools_xitXmStr.c
@@ -1,5 +1,7 @@
 $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



Home | Main Index | Thread Index | Old Index