christos
f7a36a949c
When we we fail to remove tags, print an error message since we are going
...
to be exiting with an error anyway.
2019-01-05 00:27:58 +00:00
mlelstv
a8169be6e7
Support device nodes that have no entry in /dev, identify them by major:minor
...
numbers like the original Linux code.
While here, fix a memory leak.
2018-11-24 11:27:37 +00:00
sevan
b62e5649d3
Test for other exit cases.
...
It might be worth regenerating configure with modern autoconf.
Reviewed by <riastradh>
Closes PR toolchain/53314
2018-11-06 22:01:16 +00:00
christos
70aed070fa
support SIGINFO
2018-08-21 15:37:33 +00:00
maya
fbe6c43ae6
it's c18, not c17.
...
thanks ingo schwarze.
2018-07-27 15:13:01 +00:00
maya
76c8e39035
Support -isoC-2017
2018-07-27 14:29:46 +00:00
kamil
ee01cd1e81
Specify SANITIZER_RENAME_SYMBOL in cvs
...
Rename local versions of regcomp regerror regexec regfree in order to
remove symbol clash with libc.
2018-06-25 18:03:56 +00:00
kamil
45d1d00b99
Specify SANITIZER_RENAME_SYMBOL in grep
...
Rename local versions of regcomp regerror regexec regfree in order to
remove symbol clash with libc.
2018-06-25 18:02:49 +00:00
kamil
f1e4bfafe7
Specify SANITIZER_RENAME_SYMBOL in diffutils
...
Rename local versions of regcomp regerror regexec regfree in order to
remove symbol clash with libc.
2018-06-25 18:01:13 +00:00
kamil
ff37330f94
Fix typo in previous
...
The -Wno-format-extra-args argument to Clang/LLVM needs trailing 's'.
Noted by <joerg>
2018-06-24 19:27:26 +00:00
kamil
64bc8aa106
Specify -Wno-format-extra-args for Clang/LLVM in gpl2/gettext
...
This is needed with Clang v. 7svn (HEAD) 2018-06-23 snapshot.
2018-06-23 20:15:23 +00:00
christos
32fa9de216
Don't look in random (legacy) places for fonts. We want reproducible builds
...
to work.
XXX: pullup-8
2018-06-22 17:28:27 +00:00
kamil
079a9ba6ba
Make the alignof() usage more portable in grep(1)
...
Remove NetBSD specific check and replace it with GCC extension __alignof__
that is available since GCC 2.x.
Requested by <kre>
2018-06-14 10:14:39 +00:00
kamil
8317e0eadb
Avoid Undefind Behavior in DEFAULT_ALIGNMENT in GNU grep(1)
...
Replace homegrown logic of calculating alignment with alignof, a C11 header
feature.
Add a check for NetBSD >= 8.0 just in case that someone will want to build
it on older NetBSD.
Issue detected with UBSan.
2018-06-13 17:32:29 +00:00
kamil
1ec328561f
Prevent Undefined Behavior in shift of signed integer in grep(1)
...
There is an interface in grep: dfa.c with functions to test bit, set bit,
clear bit etc. They operate over the INT-wide mask (INTBITS). Use unsigned
shift in these interfaces to prevent UB.
Detected with MKSANITIZER with the undefined behavior sanitizer option.
Sponsored by <The NetBSD Foundation>
2018-06-12 21:22:47 +00:00
mrg
5d873ca56c
make 'clean' and/or 'cleandir' actually clean all the things.
2018-05-31 09:08:25 +00:00
nonaka
327f8a3690
gmake: __alloca and __stat are provided only when building with GLIBC.
...
Fix a build failure on Ubuntu 18.04.
2018-05-23 09:52:27 +00:00
joerg
9a7065646c
Remove obsolete register keywords from C++ code.
2018-05-16 13:53:28 +00:00
nonaka
4580fbbd43
Restore MAKEDOC. Fix a build failure on non NetBSD host.
2018-05-03 01:12:26 +00:00
christos
bf7113376a
Create a new bsd.hostinit.mk file and put the build definitions for all host
...
programs there; make all Makefiles that use bsd.hostprog.mk include it.
Namely turn off MKREPRO and don't make lint, man pages, info files etc.
Remove the Makefile.inc files that contained these same settings, and
remove the settings from Makefile.host
2018-05-01 19:59:42 +00:00
nonaka
3d708747ff
gmake: Revert configure r1.2 and configure.in r1.2.
...
> gmake: Apply patch to support GLIBC glob interface v2
>
> http://git.savannah.gnu.org/cgit/make.git/commit/?id=48c8a116
>
> Fix a build failure on Ubuntu 18.04.
Don't apply an imcompatible license patch.
2018-05-01 00:39:58 +00:00
nonaka
f39e32fc5f
gmake: Revert dir.c r.1.2.
...
> gmake: Make this work with glibc glob interface v2
>
> http://git.savannah.gnu.org/cgit/make.git/commit/?id=193f1e81
Don't apply an imcompatible license patch.
Reported by kamil@n.o.
2018-05-01 00:36:57 +00:00
nonaka
a637d6f757
gmake: Make this work with glibc glob interface v2
...
http://git.savannah.gnu.org/cgit/make.git/commit/?id=193f1e81
2018-04-30 04:17:27 +00:00
christos
c796a4efe9
keep going if there is a CVS directory already, but warn
2018-04-29 15:47:01 +00:00
nonaka
d54c6989c4
gmake: Apply patch to support GLIBC glob interface v2
...
http://git.savannah.gnu.org/cgit/make.git/commit/?id=48c8a116
Fix a build failure on Ubuntu 18.04.
2018-04-28 12:20:40 +00:00
christos
4f1477379d
According to:
...
https://sourceforge.net/p/predef/wiki/Libraries/
The macro used for old glibc is __GNU_LIBRARY__ and the new one is __GLIBC__.
Try to fix linux compilation by detecting both.
2018-04-16 16:11:40 +00:00
kamil
b91714d723
Revert previous glob.c change
...
It broke on !GLIBC.
2018-04-16 16:02:57 +00:00
kamil
3c41a2b898
Fix build of gmake (in tools) on new GLIBC systems
...
Reported on Debian and Fedora.
Reference for similar fix:
https://lists.nongnu.org/archive/html/bug-make/2017-11/msg00020.html
Tested by <Mateusz Guzik> on Fedora.
Tested by <Mandacaru Cascavel> on Debian.
2018-04-16 14:39:19 +00:00
mrg
f0a3006c1d
use CLEANFILES+= not CLEANFILES= to avoid overriding what was already
...
setup before now.
2018-03-13 03:03:33 +00:00
uwe
5a14c3e55e
Add FreeBSD 11.0 and 12.0
2018-02-25 12:46:49 +00:00
mrg
2e19323388
add LIBKRB5_LDADD/LIBKRB5_DPADD and their static counterparts
...
to bsd.prog.mk. use them instead of hard coding various lists
of libraries for krb5.
this fixes static builds.
2018-02-25 00:16:48 +00:00
mrg
6d188dd0d7
convert HAVE_GCC handling to modern GCC release numbering:
...
- HAVE_GCC=5 is now the default (vs. HAVE_GCC=53 we've been using for
GCC 5.4 and GCC 5.5.)
- remove some more GCC 4.8 code. we don't support GCC 4 here.
- adjust set lists to gcc=5 from gcc=53.
add some basic HAVE_GCC=6 handling (totally unused so far.)
2018-02-02 01:02:39 +00:00
skrll
ac34435581
Remove port-acorn26
...
OK core@
2018-01-24 09:04:40 +00:00
uwe
eff95422ee
Copy-paste a .Dx macro for DragonFly (from .Ox) and add a couple of
...
FreeBSD versions to make autofs(5) man pages cleanly format with groff.
2018-01-14 03:33:10 +00:00
uwe
47d66394b3
Fix trailing whitespace.
2018-01-13 14:00:50 +00:00
joerg
a50acb30f1
Remove pre-generated files as they can confuse make when using hg or git.
2017-10-08 11:06:48 +00:00
christos
7985e76473
1/2 the number of {l,s}stat(2) calls by exposing the stat data found
...
when calling islink()!
2017-09-15 21:03:26 +00:00
christos
74e8c71cd1
Fix for CVE-2017-12836; (cvs command injection) from MirBSD.
...
XXX: pullup-8
2017-08-22 10:06:57 +00:00
jmcneill
c9b5b227bd
Update the dtc version string to match the imported version and note that
...
version_gen.h should be updated when importing a new version.
2017-06-16 22:47:22 +00:00
skrll
69aac38ce1
Adjust build for new source location for real.
2017-06-08 18:57:21 +00:00
skrll
e4b9d0a850
Update for new libfdt location
2017-06-08 17:24:31 +00:00
skrll
0d9bd96367
s/ALIGN/FDTALIGN2/
2017-06-08 17:24:10 +00:00
skrll
b2f342ca16
Merge conflicts
2017-06-08 16:00:40 +00:00
skrll
d89652e256
Import of DTC from DTC version 1.4.4
2017-06-08 15:59:15 +00:00
skrll
3569839b05
Add a dtc2netbsd script
2017-06-08 15:51:12 +00:00
skrll
97d12aea86
Reduce number of ALIGN macros defines and rename to avoid namespace clash
2017-06-06 20:19:04 +00:00
christos
5b3fb03fcc
add DTC
2017-06-05 23:44:27 +00:00
christos
461d2d6a4c
Add build glue (from skrll)
2017-06-05 18:59:43 +00:00
christos
f8d365c3eb
Make this compatible with byacc
2017-06-05 18:59:21 +00:00
christos
5e046fca2c
rename include file per our convention.
2017-06-05 18:59:10 +00:00