pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/gmake



Module Name:    pkgsrc
Committed By:   jperkin
Date:           Mon May 18 11:49:53 UTC 2026

Modified Files:
        pkgsrc/devel/gmake: distinfo
Added Files:
        pkgsrc/devel/gmake/patches: patch-lib_fnmatch.c patch-src_getopt.c
            patch-src_getopt.h

Log Message:
gmake: Fix for modern C.


To generate a diff of this commit:
cvs rdiff -u -r1.47 -r1.48 pkgsrc/devel/gmake/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/gmake/patches/patch-lib_fnmatch.c \
    pkgsrc/devel/gmake/patches/patch-src_getopt.c \
    pkgsrc/devel/gmake/patches/patch-src_getopt.h

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

Modified files:

Index: pkgsrc/devel/gmake/distinfo
diff -u pkgsrc/devel/gmake/distinfo:1.47 pkgsrc/devel/gmake/distinfo:1.48
--- pkgsrc/devel/gmake/distinfo:1.47    Tue Aug 20 08:28:47 2024
+++ pkgsrc/devel/gmake/distinfo Mon May 18 11:49:53 2026
@@ -1,8 +1,11 @@
-$NetBSD: distinfo,v 1.47 2024/08/20 08:28:47 mrg Exp $
+$NetBSD: distinfo,v 1.48 2026/05/18 11:49:53 jperkin Exp $
 
 BLAKE2s (make-4.4.1.tar.gz) = 7a4c4b3044fc22063849216e62500d329566297dd5a8fbf2ad6e7b888d31206f
 SHA512 (make-4.4.1.tar.gz) = 145260cbd6a8226cef3dfef0c8baba31847beaebc7e6b65d39d02715fd4f4cab9b139b6c3772e550088d4f9ae80c6d3ed20b9a7664c693644dfb96b4cb60e67c
 Size (make-4.4.1.tar.gz) = 2348200 bytes
 SHA1 (patch-af) = 8ff060ecba9d664044eabd98741253881d8c9bbe
+SHA1 (patch-lib_fnmatch.c) = faae269abce9649faa658f895f324b7f0d9b04b3
+SHA1 (patch-src_getopt.c) = 7249d1894851657badb9c5e428761808f4af87fa
+SHA1 (patch-src_getopt.h) = a1c831a3870ba470b60bfaa460a28e13a05dc594
 SHA1 (patch-src_hash.c) = 755de04a4f9a63f5bfc2520026344d6dc8654992
 SHA1 (patch-src_job.c) = 848eaafc6dfc5086a3d46f9dae387b39d5c514c6

Added files:

Index: pkgsrc/devel/gmake/patches/patch-lib_fnmatch.c
diff -u /dev/null pkgsrc/devel/gmake/patches/patch-lib_fnmatch.c:1.1
--- /dev/null   Mon May 18 11:49:53 2026
+++ pkgsrc/devel/gmake/patches/patch-lib_fnmatch.c      Mon May 18 11:49:53 2026
@@ -0,0 +1,15 @@
+$NetBSD: patch-lib_fnmatch.c,v 1.1 2026/05/18 11:49:53 jperkin Exp $
+
+Fix for modern C.
+
+--- lib/fnmatch.c.orig 2023-02-26 16:04:31.000000000 +0000
++++ lib/fnmatch.c
+@@ -121,7 +121,7 @@ USA.  */
+    whose names are inconsistent.  */
+ 
+ # if !defined _LIBC && !defined getenv
+-extern char *getenv ();
++extern char *getenv (const char *);
+ # endif
+ 
+ # ifndef errno
Index: pkgsrc/devel/gmake/patches/patch-src_getopt.c
diff -u /dev/null pkgsrc/devel/gmake/patches/patch-src_getopt.c:1.1
--- /dev/null   Mon May 18 11:49:53 2026
+++ pkgsrc/devel/gmake/patches/patch-src_getopt.c       Mon May 18 11:49:53 2026
@@ -0,0 +1,15 @@
+$NetBSD: patch-src_getopt.c,v 1.1 2026/05/18 11:49:53 jperkin Exp $
+
+Fix for modern C.
+
+--- src/getopt.c.orig  2023-01-12 00:53:26.000000000 +0000
++++ src/getopt.c
+@@ -202,7 +202,7 @@ static char *posixly_correct;
+    whose names are inconsistent.  */
+ 
+ #ifndef getenv
+-extern char *getenv ();
++extern char *getenv (const char *);
+ #endif
+ 
+ static char *
Index: pkgsrc/devel/gmake/patches/patch-src_getopt.h
diff -u /dev/null pkgsrc/devel/gmake/patches/patch-src_getopt.h:1.1
--- /dev/null   Mon May 18 11:49:53 2026
+++ pkgsrc/devel/gmake/patches/patch-src_getopt.h       Mon May 18 11:49:53 2026
@@ -0,0 +1,15 @@
+$NetBSD: patch-src_getopt.h,v 1.1 2026/05/18 11:49:53 jperkin Exp $
+
+Fix for modern C.
+
+--- src/getopt.h.orig  2023-01-01 15:06:01.000000000 +0000
++++ src/getopt.h
+@@ -102,7 +102,7 @@ struct option
+    errors, only prototype getopt for the GNU C library.  */
+ extern int getopt (int argc, char *const *argv, const char *shortopts);
+ #else /* not __GNU_LIBRARY__ */
+-extern int getopt ();
++extern int getopt (int, char *const *, const char *);
+ #endif /* __GNU_LIBRARY__ */
+ extern int getopt_long (int argc, char *const *argv, const char *shortopts,
+                       const struct option *longopts, int *longind);



Home | Main Index | Thread Index | Old Index