pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/mgdiff



Module Name:    pkgsrc
Committed By:   vins
Date:           Tue Jan  3 09:01:42 UTC 2023

Modified Files:
        pkgsrc/devel/mgdiff: distinfo
        pkgsrc/devel/mgdiff/patches: patch-mgdiff.c

Log Message:
devel/mgdiff: include <stdint.h> for uintptr_t.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/devel/mgdiff/distinfo
cvs rdiff -u -r1.1 -r1.2 pkgsrc/devel/mgdiff/patches/patch-mgdiff.c

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

Modified files:

Index: pkgsrc/devel/mgdiff/distinfo
diff -u pkgsrc/devel/mgdiff/distinfo:1.1 pkgsrc/devel/mgdiff/distinfo:1.2
--- pkgsrc/devel/mgdiff/distinfo:1.1    Mon Jan  2 22:43:52 2023
+++ pkgsrc/devel/mgdiff/distinfo        Tue Jan  3 09:01:41 2023
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.1 2023/01/02 22:43:52 vins Exp $
+$NetBSD: distinfo,v 1.2 2023/01/03 09:01:41 vins Exp $
 
 BLAKE2s (mgdiff-1.0/mgdiff.tar.gz) = 7c90e00f9646d41e5e822055340fa41440acaa5ec0352606ccec1e14b43188de
 SHA512 (mgdiff-1.0/mgdiff.tar.gz) = bf5ab4b2a9d42ff2edb73a6dda68a4d17d88f61c63f5ec8366cc49d372a56f3c6812d473a95d86bcb61680d1f91ce4ab7ad87a26748b45e2edd27b73044492a5
 Size (mgdiff-1.0/mgdiff.tar.gz) = 41187 bytes
 SHA1 (patch-Imakefile) = 6a29ed061ea0b54396269707acd7f53a9a5c32ce
-SHA1 (patch-mgdiff.c) = fe9ac9874a1b4a50b97eddfc766c4b8aae258897
+SHA1 (patch-mgdiff.c) = eba9d8ba00e15424093eaa8f65d58c7cb55625ce
 SHA1 (patch-rundiff.c) = 4ead16932bbf480d8da283b335a93418108926f2

Index: pkgsrc/devel/mgdiff/patches/patch-mgdiff.c
diff -u pkgsrc/devel/mgdiff/patches/patch-mgdiff.c:1.1 pkgsrc/devel/mgdiff/patches/patch-mgdiff.c:1.2
--- pkgsrc/devel/mgdiff/patches/patch-mgdiff.c:1.1      Mon Jan  2 22:43:53 2023
+++ pkgsrc/devel/mgdiff/patches/patch-mgdiff.c  Tue Jan  3 09:01:42 2023
@@ -1,10 +1,18 @@
-$NetBSD: patch-mgdiff.c,v 1.1 2023/01/02 22:43:53 vins Exp $
+$NetBSD: patch-mgdiff.c,v 1.2 2023/01/03 09:01:42 vins Exp $
 
 Prevent unsafe use of tmpnam(). 
 
 --- mgdiff.c.orig      1994-09-29 01:56:53.000000000 +0000
 +++ mgdiff.c
-@@ -520,7 +520,7 @@ static void drawit (Widget w, XtPointer 
+@@ -39,6 +39,7 @@ static char copyright[] = "Copyright (c)
+ #include <stdlib.h>
+ #include <assert.h>
+ #include <errno.h>
++#include <stdint.h>
+ #include <sys/stat.h>
+ 
+ #include <X11/Intrinsic.h>
+@@ -520,7 +521,7 @@ static void drawit (Widget w, XtPointer
  /* ARGSUSED */
  static void file_cb (Widget w, XtPointer closure, XtPointer call_data)
  {
@@ -13,7 +21,7 @@ Prevent unsafe use of tmpnam(). 
      case 0:                   /* open */
        toggle_open_sensitive (False);
        set_cursor (toplevel);
-@@ -560,7 +560,7 @@ static void file_cb (Widget w, XtPointer
+@@ -560,7 +561,7 @@ static void file_cb (Widget w, XtPointer
  /* ARGSUSED */
  static void view_cb (Widget w, XtPointer closure, XtPointer call_data)
  {
@@ -22,7 +30,7 @@ Prevent unsafe use of tmpnam(). 
      case 0:                   /* previous */
        prev_diff (NULL, NULL, NULL);
        break;
-@@ -582,7 +582,7 @@ static void view_cb (Widget w, XtPointer
+@@ -582,7 +583,7 @@ static void view_cb (Widget w, XtPointer
  /* ARGSUSED */
  static void select_cb (Widget w, XtPointer closure, XtPointer call_data)
  {
@@ -31,7 +39,7 @@ Prevent unsafe use of tmpnam(). 
      case 0:                   /* left */
        select_all (LEFT);
        break;
-@@ -604,7 +604,7 @@ static void select_cb (Widget w, XtPoint
+@@ -604,7 +605,7 @@ static void select_cb (Widget w, XtPoint
  /* ARGSUSED */
  static void options_cb (Widget w, XtPointer closure, XtPointer call_data)
  {
@@ -40,7 +48,7 @@ Prevent unsafe use of tmpnam(). 
      case 0:                   /* toggle overview area */
        overview_flag = !overview_flag;
        if (overview_flag) {
-@@ -660,7 +660,7 @@ static void options_cb (Widget w, XtPoin
+@@ -660,7 +661,7 @@ static void options_cb (Widget w, XtPoin
  /* ARGSUSED */
  static void helpmenu_cb (Widget w, XtPointer closure, XtPointer call_data)
  {
@@ -49,7 +57,7 @@ Prevent unsafe use of tmpnam(). 
      case 0:                   /* version */
        show_version (toplevel);
        break;
-@@ -1110,7 +1110,9 @@ int main (int argc, char *argv[])
+@@ -1110,7 +1111,9 @@ int main (int argc, char *argv[])
         */
      case 3:
        if (strcmp (argv[1], "-") == 0) {
@@ -60,7 +68,7 @@ Prevent unsafe use of tmpnam(). 
            str_fnamel = strdup (tempfname);
            str_snamel = strdup (user_filename);
            if (!copy_to_file (stdin, tempfname)) {
-@@ -1131,7 +1133,9 @@ int main (int argc, char *argv[])
+@@ -1131,7 +1134,9 @@ int main (int argc, char *argv[])
        }
  
        if (strcmp (argv[2], "-") == 0) {



Home | Main Index | Thread Index | Old Index