Commit Graph

11004 Commits

Author SHA1 Message Date
tsutsui 00acf8c80e Note about current status. 2024-05-31 21:04:22 +00:00
tsutsui fdd5a63245 Pull malloc related fixes from cdrtools-2.01.
This seems to fix SIGSEGV during free(3) in write.c:write_one_file().
2024-05-31 20:50:48 +00:00
tsutsui df2645b420 Tweak OPTION_* definitions to reduce diffs from mkisofs-1.13. 2024-05-31 20:49:44 +00:00
tsutsui 61957e4641 Pull -graft-points option from mkisofs-1.13 and cdrtools-2.01.
Also remove #ifdef APPLE_HYB for NON-HFS changes to reduce diffs.
2024-05-31 20:48:22 +00:00
tsutsui b1bd5b8fae Pull options -hide-joliet-trans-tbl and -hide-rr-moved from mkisofs-1.13. 2024-05-31 20:46:19 +00:00
tsutsui 61549db5f1 Appease more warnings and remove unused getopt functions. 2024-05-31 20:44:36 +00:00
tsutsui d8b35192d7 Use HAVE_CONFIG_H to include <stdlib.h> and <string.h> in getopt sources. 2024-05-31 20:41:50 +00:00
tsutsui b3743583f0 Check <stdlib.h> and <flock.h> in configure and regen config.h. 2024-05-31 20:40:06 +00:00
tsutsui 76c5065a9f Tweak and regen configure using autoconf-2.13 to use pkgsrc tools. 2024-05-31 20:37:55 +00:00
tsutsui ab20b516c9 Always use local getopt.h as cdrtools-2.01 did. 2024-05-31 20:36:24 +00:00
tsutsui d663fb0928 Remove ancient rlimit hacks for NetBSD disabled in cdrtools-2.01. 2024-05-31 20:34:18 +00:00
tsutsui a56b9f7088 Don't redefine SYSTEM_ID_DEFAULT if it's specified in CPPFLAGS. 2024-05-31 20:33:12 +00:00
tsutsui 5597b179bd Remove duplicated SYSTEM_ID_DEFAULT definitions. 2024-05-31 20:32:03 +00:00
tsutsui a11dc48b63 Appease discard-const warnings. 2024-05-31 20:31:05 +00:00
tsutsui 3acbd1aa78 Suppress implicit declaration warnings. 2024-05-31 20:29:24 +00:00
tsutsui 6a13daf634 Update mkhybrid Makefile for NetBSD's tools builds. 2024-05-31 20:27:19 +00:00
tsutsui 7804f23efd Make newer BSD Licensed libfile sources build as tools. 2024-05-31 20:25:41 +00:00
tsutsui 785d5ade45 Pull changes from mkisofs-1.12.1 to avoid statvfs(2). 2024-05-31 20:23:33 +00:00
tsutsui fd4241d590 Remove dependencies on non-existent exclude.h. 2024-05-31 20:21:06 +00:00
tsutsui 75490c835a Import BSD licensed libfile for mkhybrid builds from cdrtools-3.01.
- unnecessary files for tools build are not imported
- file.c is renamed to lfile.c to avoid conflict with libhfs_iso
- RCSId strings are trimmed
2024-05-31 19:52:25 +00:00
tsutsui ddaa4e7dfc Import mkhybrid from OpenBSD 7.3 to create ISO9660/HFS hybrid ISO images.
- files in libfile except proto.h prepared by OpenBSD are not imported
  due to non-standard license
  (newer BSD Licensed versions will be imported later)
- unnecessary files for tools build are not imported
- RCSId strings are trimmed to avoid unintended substitutions

Proposed on tech-toolchain@:
 https://mail-index.netbsd.org/tech-toolchain/2024/05/25/msg004355.html
2024-05-31 19:49:02 +00:00
roy 76a8def0a9 Sync with dhcpcd-10.0.8 2024-05-24 16:09:09 +00:00
roy ed7347c8ff Update to dhcpcd-10.0.8 with the following fixes:
* Fixed compile without ARP
 * Fixed spelling of ADVERTISEMENT
2024-05-24 16:07:42 +00:00
roy 31430cea00 Sync with dhcpcd-10.0.7 2024-05-24 11:30:29 +00:00
roy 4dcbd9d51d Update to dhcpcd-10.0.7 with the following changes:
* DHCP: use request_time, fallback_time and ipv4ll_time rather than reboot timeout
* DHCP6: Wait for IRT to elapse before requesting advertisments
* DHCPv6: Don't re-INFORM if the RA changes
* privsep: Reduce fd use
* dhcpcd: Add support for arp persist defence
* Move dhcp(v4) packet size check earlier
* Define the Azure Endpoint and other site-specific options
* add RFC4191 support by @goertzenator in #297
* dhcpcd: Respect IPV6_PREFERRED_ONLY flag regardless of state
* Fix time_offset to be int to match RFC-2132
* hooks/30-hostname: Exit with 0 if setting hostname is not needed
2024-05-24 11:28:00 +00:00
andvar cc8d93b4cd agrep(1): remove duplicated and obsolete imports.
dirent import is the only one which stays in the odd location.

Part of PR bin/53513.
2024-05-24 07:52:45 +00:00
andvar 45e3b02ce0 agrep(1): rewrite binary check introduced with recursive search on rev 1.3 to
match more closely grep(1) implementation. Instead of opening and scanning
full file every time, check for the \0 symbol once the file buffer is filled up
for the first time.

Patch fixes stdin, adds binary check for it as well, and works more efficiently
(at the cost of not scanning the full file).

Also original implementation forgot to add break if binary file is detected,
causing duplicate binary matches in the output result.

Due to full file scans on each match instead of once for the specific file,
scans may have been considerably slow.

Fixes PR bin/53513

Needs pullups to netbsd-9,-10.

Thanks for the help from mlelstv and dh in reviewing and finalizing the patch.
2024-05-23 22:07:16 +00:00
riastradh 721b426c77 libstdc++: Don't try to fflush stdin in gcc.old libstdc++ either.
PR lib/58206
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114879
2024-05-20 19:36:30 +00:00
riastradh c95d2b6372 libstdc++: Don't try to fflush stdin.
It doesn't work.  It's undefined behaviour.  On NetBSD, it will fail
with EBADF, if fd 0 isn't open for write, or if fd 0 is open for
write, it will write heap garbage to fd 0.

   If stream points to an output stream or an update stream in which
   the most recent operation was not input, the fflush function causes
   any unwritten data for that stream to be delivered to the host
   environment to be written to the file; otherwise, the behavior is
   undefined.

   (ISO C11 and ISO C17, Sec. 7.21.5.2 `The fflush function')

PR lib/58206
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114879
2024-05-20 11:20:53 +00:00
nia cbd7fd84d4 unhook libXxf86misc from the build and mark obsolete
library has no users in src or pkgsrc, it's primarily useful for
managing input devices on mid-2000s xfree86 servers
2024-05-09 06:38:27 +00:00
nia 6543f2f229 stop using and linking against libXxf86misc
support for this extension was removed from xorg in 2008,
our xorg-server and our xorg-server.old can't use it.
2024-05-09 06:34:50 +00:00
christos 1faf623fbf fix clang lint build (except for the programs that enables -T) 2024-05-08 16:53:34 +00:00
riastradh 633172aec9 makeinfo: Avoid ambiguous bracelessness.
/home/source/ab/HEAD-llvm/src/external/gpl2/texinfo/dist/makeinfo/index.c:526:5: error: add explicit braces to avoid dangling else [-Werror,-Wdangling-else]
    else if ((*elt1)->defining_line > (*elt2)->defining_line)
    ^
/home/source/ab/HEAD-llvm/src/external/gpl2/texinfo/dist/makeinfo/index.c:531:5: error: add explicit braces to avoid dangling else [-Werror,-Wdangling-else]
    else if ((*elt1)->entry_number > (*elt2)->entry_number)
    ^
2024-05-05 15:26:20 +00:00
riastradh 7dfe87249e mesa: Build with -Wno-error=typedef-redefinition.
While here, use CWARNFLAGS.clang instead of an explicit conditional.

In file included from 110_blorp_exec.c:33:
In file included from /home/source/ab/HEAD-llvm/xsrc/external/mit/MesaLib/dist/src/intel/blorp/blorp_genX_exec.h:27:
In file included from /home/source/ab/HEAD-llvm/xsrc/external/mit/MesaLib/dist/src/intel/blorp/blorp_priv.h:30:
/home/source/ab/HEAD-llvm/xsrc/external/mit/MesaLib/dist/src/compiler/nir/nir.h:3840:3: error: redefinition of typedef 'nir_shader' is a C11 feature [-Werror,-Wtypedef-redefinition]
} nir_shader;
  ^
/home/source/ab/HEAD-llvm/xsrc/external/mit/MesaLib/dist/src/intel/compiler/brw_compiler.h:41:27: note: previous definition is here
typedef struct nir_shader nir_shader;
                          ^
2024-05-05 15:25:31 +00:00
uwe 0e6468a0fd ctfmerge: obey CTFMERGE_TERMINATE_NO_UNLINK as a tool too 2024-05-04 18:22:59 +00:00
uwe 3af74e3469 ctfmerge(1): brush up markup 2024-05-04 18:20:44 +00:00
christos 8a0c0d837a Document environment variable use. 2024-05-04 13:11:41 +00:00
christos 9c1705ca7b add an environment variable to override the number ot threads. 2024-05-03 15:50:42 +00:00
christos 79cacd8776 Allow c99 array designators 2024-05-01 21:34:48 +00:00
mrg d9076a8b46 xdm(1) was renamed xdm(8) a long while ago. catch up location.
add support for section 8 X manuals.  amusingly, we already knew
to convert __adminmansuffix__ into "8", but not how to create
.8 from X .man.
2024-04-29 22:09:10 +00:00
maya acbe8419a2 Remove documentation for long removed -F option
Suggested by Robert Whitlock in PR bin/58177

I've sent this patch to the nvi maintainers but the response suggested
patching this downstream, as there would be no further releases of nvi.
2024-04-29 00:50:42 +00:00
rillig 3a6d2122c6 dri: disable lint 2024-04-26 17:22:26 +00:00
rillig 58b62ac6a6 gallium: disable lint 2024-04-26 16:34:17 +00:00
hgutch fa9aaa8d4e Fix gcc build on FreeBSD 14 (and possibly other systems using clang >= 16).
Pointed out by Eirik Øverby.

OK mrg@
2024-04-24 16:48:29 +00:00
nia 4707556686 it's netbsd-11, time for a slightly less eye-bleeding shade of orange 2024-04-24 10:35:13 +00:00
maya 5077947004 mesa21: link against libxcb-sync for missing symbols
Not super obvious in practice, but it does show if you run GL programs
with LD_BIND_NOW.
2024-04-22 03:38:49 +00:00
rillig d122acbd72 libntf: make MKREPRO timestamp compatible with NetBSD 10
In NetBSD 10, make(1) cannot handle :gmtime arguments that are
expressions, resulting in the error message "Unknown modifier '1'".
2024-04-21 17:19:52 +00:00
maya 102a662e07 Mesa 21: Add some intel files so we don't have missing symbols
seen as error messages when running "glxgears" on intel.

This also avoids graphical corruption (changed areas of terminal
emulator take a few seconds to gradually update) when the modesetting
driver is explicitly chosen.
2024-04-21 00:23:23 +00:00
rillig 7202b80324 libntp: clean up MKREPRO_TIMESTAMP handling
NetBSD's make has built-in support for formatting timestamps, so use
that instead of relying on an external tool.  The month name is still
always in the C locale, and possible errors are reported in the affected
line, due to the ':=' assignment operator.

Without the ':=' assignment operator, the intermediate variable would
not be necessary, but in that case, make's error handling is broken and
unspecific.
2024-04-20 08:03:08 +00:00
jakllsch 466d1a15ac fix copy/paste-o 2024-04-19 16:04:28 +00:00