pkgsrc-Changes archive

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

CVS commit: pkgsrc/net/wget



Module Name:    pkgsrc
Committed By:   wiz
Date:           Tue Oct  7 11:18:32 UTC 2025

Modified Files:
        pkgsrc/net/wget: distinfo
Added Files:
        pkgsrc/net/wget/patches: patch-lib_utimens.h

Log Message:
wget: fix build with gcc 14.


To generate a diff of this commit:
cvs rdiff -u -r1.72 -r1.73 pkgsrc/net/wget/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/net/wget/patches/patch-lib_utimens.h

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

Modified files:

Index: pkgsrc/net/wget/distinfo
diff -u pkgsrc/net/wget/distinfo:1.72 pkgsrc/net/wget/distinfo:1.73
--- pkgsrc/net/wget/distinfo:1.72       Mon Nov 18 22:59:31 2024
+++ pkgsrc/net/wget/distinfo    Tue Oct  7 11:18:32 2025
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.72 2024/11/18 22:59:31 wiz Exp $
+$NetBSD: distinfo,v 1.73 2025/10/07 11:18:32 wiz Exp $
 
 BLAKE2s (wget-1.25.0.tar.lz) = 054e76c6b3b56fc3bb2c36fe75c8405792a1c748e55863172dcfb3e8216bc92c
 SHA512 (wget-1.25.0.tar.lz) = 79403f594636e5d703817ceec59e5155940cd4734746ef793ef3bdabd100d0014a44c5e24f705656cf1e0762d87003fa1dc3e1b5605fae392bc9d7f121d90bae
 Size (wget-1.25.0.tar.lz) = 2582072 bytes
+SHA1 (patch-lib_utimens.h) = 8c1c1d5eb684570fe87a42d94fe11f6e332739e1

Added files:

Index: pkgsrc/net/wget/patches/patch-lib_utimens.h
diff -u /dev/null pkgsrc/net/wget/patches/patch-lib_utimens.h:1.1
--- /dev/null   Tue Oct  7 11:18:32 2025
+++ pkgsrc/net/wget/patches/patch-lib_utimens.h Tue Oct  7 11:18:32 2025
@@ -0,0 +1,27 @@
+$NetBSD: patch-lib_utimens.h,v 1.1 2025/10/07 11:18:32 wiz Exp $
+
+Add header for utimens().
+
+--- libgnu_a-utimens.o ---
+utimens.c: In function 'rpl_utimens':
+utimens.c:541:10: error: implicit declaration of function 'utimens'; did you mean 'futimens'? [-Wimplicit-function-declaration]
+  541 |   return utimens (file, timespec);
+      |          ^~~~~~~
+      |          futimens
+utimens.c: In function 'rpl_lutimens':
+utimens.c:563:10: error: implicit declaration of function 'lutimens'; did you mean 'futimens'? [-Wimplicit-function-declaration]
+  563 |   return lutimens (file, timespec);
+      |          ^~~~~~~~
+      |          futimens
+*** [libgnu_a-utimens.o] Error code 1
+
+--- lib/utimens.h.orig 2025-10-07 11:13:03.489558332 +0000
++++ lib/utimens.h
+@@ -25,6 +25,7 @@
+ #include <time.h>
+ 
+ #if HAVE_UTIMENS || HAVE_LUTIMENS
++# include <sys/stat.h>
+ # include <sys/time.h>
+ #endif
+ 



Home | Main Index | Thread Index | Old Index