NetBSD-Bugs archive

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

PR/57914 CVS commit: [netbsd-10] src/usr.bin/mkubootimage



The following reply was made to PR misc/57914; it has been noted by GNATS.

From: "Martin Husemann" <martin%netbsd.org@localhost>
To: gnats-bugs%gnats.NetBSD.org@localhost
Cc: 
Subject: PR/57914 CVS commit: [netbsd-10] src/usr.bin/mkubootimage
Date: Sun, 15 Dec 2024 14:38:14 +0000

 Module Name:	src
 Committed By:	martin
 Date:		Sun Dec 15 14:38:14 UTC 2024
 
 Modified Files:
 	src/usr.bin/mkubootimage [netbsd-10]: crc32.c mkubootimage.1
 	    mkubootimage.c
 Added Files:
 	src/usr.bin/mkubootimage [netbsd-10]: crc32.h
 
 Log Message:
 Pull up following revision(s) (requested by gutteridge in ticket #1023):
 
 	usr.bin/mkubootimage/mkubootimage.1: revision 1.15
 	usr.bin/mkubootimage/crc32.c: revision 1.5
 	usr.bin/mkubootimage/mkubootimage.c: revision 1.31
 	usr.bin/mkubootimage/mkubootimage.c: revision 1.34
 	usr.bin/mkubootimage/crc32.h: revision 1.1
 
 PR/57914: Jan-Benedict Glaw: Set reproducible timestamp
 Cleanup lint.
 
 mkubootimage.c: consistently use endian.h origin functions
 
 Since this already uses bswap32(3), le64toh(3), etc., switch to also
 use htobe32(3) and be32toh(3) instead of htonl(3) and ntohl(3). This
 seems the best way to fix build breakages under recent Linux distros
 where GCC objects to missing prototypes (since otherwise we'd need to
 include arpa/inet.h, which wasn't declared). Another issue related to
 PR lib/58674.
 
 Confirmed this fixes builds on Fedora 40 (since all these functions are
 provided by NetBSD compat). No changes noted to resulting installation
 images generated for armv7hf on a NetBSD build.
 
 
 To generate a diff of this commit:
 cvs rdiff -u -r1.4 -r1.4.40.1 src/usr.bin/mkubootimage/crc32.c
 cvs rdiff -u -r0 -r1.2.2.2 src/usr.bin/mkubootimage/crc32.h
 cvs rdiff -u -r1.14 -r1.14.8.1 src/usr.bin/mkubootimage/mkubootimage.1
 cvs rdiff -u -r1.30 -r1.30.8.1 src/usr.bin/mkubootimage/mkubootimage.c
 
 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.
 


Home | Main Index | Thread Index | Old Index