summaryrefslogtreecommitdiff
path: root/gnu
AgeCommit message (Collapse)Author
2023-11-10remove unused liblldbPluginOperatingSystemRobert Nagy
2023-11-07comment out test that no longer makes sense, as noticed by antonMarc Espie
2010-09-24Perl 5.12.2 from CPANTodd C. Miller
2023-11-06eliminate discrepancies between termcap-generated info and infocmp resultsMarc Espie
(see user_caps(5)) also obviously protects the term name just in case someone wants to have fun with it..
2023-11-06actually, I still need to exit() if infocmp can't be runMarc Espie
2023-11-06system + exit -> execMarc Espie
as noticed by afresh1@ (this should be all for now)
2023-11-06since we're always running info_cmp in the end, remove the wholeMarc Espie
"in case of emergency run info_cmp block" (more efficient: we only parse the entry we need). Keep the small part that creates a dumb terminal on VMS, even though we're not running that. Add an extra state check in the automaton to avoid skipping a tmp_term
2023-11-06simplify logic for $entry in the main termcap loopMarc Espie
2023-11-06always try to run info_cmp at the end if we haven't got what we wantedMarc Espie
This allows terminals with only terminfo capabilities to show up in Term::Cap (like kitty) !
2023-11-06simplify $ENV{TERMCAP} handling: don't bother setting anything ifMarc Espie
the variable doesn't exist
2023-11-06instead of a max number of iterations, record terms that have been seenMarc Espie
in a hash instead. Side effect: we no longer parse the same tc again and again, leading to a smaller result with the same capabilities but no duplicates. (instead of parsing 36 entries for xterm, we end up with 10 entries, as the "tc=" stuff is actually a tree instead of a list: xterm references several intermediate tc that all lead to the same basic list !)
2023-11-06use modern file open instead of GLOBSMarc Espie
2023-11-06get rid of useless evalMarc Espie
use \Q\E to quote stuff around tmp_term, instead of rolling our own in termpat (get rid of termpat)
2023-11-06remove upstream files we don't needMarc Espie
2023-11-06reapply max=64 for nowMarc Espie
2023-11-06update to Term::Cap 1.18, so that we can patch it furtherMarc Espie
as discussed with afresh1@
2023-11-05fix bad path allocation in makeinfoOmar Polo
In one branch of the image handling, the wrong malloc() call was copied-pasted making the allocation possibly smaller than needed. Spotted while building the gcc11 port, libgccjit.info exercise that branch and the write out of bounds was discovered by malloc(). Convert the malloc + strlcpy/cat dance to an asprintf, and while here also fix the leak of the two paths. ok tb@
2023-10-29Make gnu99 the default for gcc 3.3.6 and 4.2.1, not gnu89.Todd C. Miller
While these versions of gcc don't have full C99 support, it is better than defaulting to C89 when building modern software. OK deraadt@
2023-10-28Back out change to make the default -std=gnu99 for now.Todd C. Miller
There has been some unexpected fallout. Requested by deraadt@.
2023-10-26Fix a typo spotted by miod@.Todd C. Miller
2023-10-26Make gnu99 the default for gcc 3.3.6 and 4.2.1, not gnu89.Todd C. Miller
While these versions of gcc don't have full C99 support, it is better than defaulting to C89 when building modern software. OK deraadt@
2023-10-23Do not print "retrieving revision 1.13" while doing cvs diff.Alexander Bluhm
Provide shorter diffs without unnecessary debugging output. Note that this affects cvs installed on the server side. OK deraadt@
2023-10-23create __OpenBSD__ versions that use futex() with the correct numberTheo de Raadt
of arguments and without using syscall(). the glibc people should be ashamed of the mess they created. ok miod
2021-01-02Import libc++abi 10.0.1 release.Patrick Wildt
2023-10-18Increase max depth for termcapsAndrew Fresh
With the update to ncurses 6.4-20230826 /etc/termcap now needs at least a 36 deep search. Instead, we'll just bump to 64. It seems 32 has been enough since perl 5.001 in 1995, so hopefully this buys us at least another 28 years. "please commit that" deraadt@
2023-10-17Update ncurses and associated libraries (form, panel, menu) toNicholas Marriott
6.4-20230826 (from 5.7-20081102). Based on result from Thomas Dickey's ncu2openbsd script and then modified. Switches to the upstream tput. Major bump for the ncurses libraries and for libedit and libreadline. Help from tb, millert. ok deraadt sthen
2023-10-13Remove ancient version of zlib bundled with GNU cvs.Alexander Bluhm
Avoid false positive in security scan. Removal of embedded zlib ensures that cvs is linked dynamically with /usr/lib/libz.so. We do not want any zlib 1.1.3 from 2001 in our source tree. no binary diff; OK millert@ deraadt@
2001-09-28Latest from Cyclic SoftwareThorsten Lockert
1999-09-10Latest version from CyclicThorsten Lockert
1996-10-18New release from Cyclic SoftwareThorsten Lockert
2023-09-07Fix missing function declarations to let mkhybrid build with clang-16Jeremie Courreges-Anglas
ok millert@
2023-09-06Use casts to force two function pointers assignements and fix build with ↵Jeremie Courreges-Anglas
clang-16 "looks fine to me" robert@, ok kettenis@
2023-09-06Use -std=gnu89 to fix the build with clang-16Jeremie Courreges-Anglas
This is ancient GNU software that tends to break whenever clang adds more warnings about deprecated features in new languages versions or turns them into errors. Using -std=gnu89 (the defaults for base-gcc) for those packages means we'll probably avoid most new warnings, errors, and possible miscompilations when updating clang. ok robert@
2023-09-06Build with -std=gnu89 to fix the build with clang-16Jeremie Courreges-Anglas
This is ancient GNU software that tends to break whenever clang adds more warnings about deprecated features in new languages versions or turns them into errors. Using -std=gnu89 (the defaults for base-gcc) for those packages means we'll probably avoid most new warnings, errors, and possible miscompilations when updating clang. This fixes the build of libiberty and texinfo with clang-16. ok robert@
2004-05-21GDB 6.1 (excluding .info files)Mark Kettenis
2023-09-03Replace perl's use of syscall(2) with a dispatcher to libcAndrew Fresh
This removes the ability to do direct syscalls from perl, instead calling the appropriate libc functions. Currently we generate the dispatcher via a perl script duing build. requested by deraadt@ nits from espie@ education from miod@ infrastructure fixes from sthen@ many improvements and ok gkoehler@ Please commit soon. OK bluhm@
2023-09-03Zero initialize Perl AV elements after unshift and resize.Alexander Bluhm
https://github.com/Perl/perl5/issues/21235 https://github.com/Perl/perl5/pull/21265 https://github.com/Perl/perl5/commit/9e298ab597b2c6fc0741749d7e29119e2d6cd628 Bug reported by Anton Borowka. Fix from upstream Perl. OK afresh1@
2023-07-20Make sure -msign-return-address doesn't disable BTI support.Mark Kettenis
ok deraadt@
2023-07-15Implement PAC support.Mark Kettenis
ok patrick@
2021-04-28Import LLVM 11.1.0 release including clang, lld and lldb.Patrick Wildt
2020-08-03Import LLVM 10.0.0 release including clang, lld and lldb.Patrick Wildt
ok hackroom tested by plenty
2023-07-08Fix Perl tests in OpenBSD regress.Alexander Bluhm
Disable Perl test t/porting/exec-bit.t as it only checks permissions. The x-bit in OpenBSD CVS tree does not match Perl distribution tar. This is known and accepted. Set permission of Test-Harness source.sh and source_args.sh to executable as Perl uses it to test module features. Stay close to upstream. During regress, set the x-bit of the files in obj directory. Do not touch src tree, it might be read-only. discussed with anton@; OK afresh1@
2023-07-08Update to perl 5.36.1Andrew Fresh
Many small bugfixes you should commit 5.36.1 bluhm@
2013-03-25import perl 5.16.3 from CPAN - worked on by Andrew Fresh and myselfStuart Henderson
2023-07-07Missing bit to make ld.bfd actually emit PT_OPENBSD_NOBTCFI.Pascal Stumpf
ok deraadt@
2023-07-07Adjust perl unveil test to test the right thingAndrew Fresh
Normal users can't write to /dev/random, so the -w test would always fail for root and succeed for everyone else no matter what unveil did. Testing with a temp file at least gives consistent results no matter the user, even if I don't completely understand why the -w and -r test results are different. Noticed by bluhm@
2023-07-06oops, an extra PT_ snuck in; spotted by guentherTheo de Raadt
2023-07-06document NOBTCFI similar to WXNEEDEDTheo de Raadt
2023-07-06use symbolic name PF_X instead of 1, pointed out by kettenisTheo de Raadt
2023-07-06teach the BFD tools how to handle NOBTCFI, quite similar to WXNEEDEDTheo de Raadt
ok kettenis