Commit Graph

9401 Commits

Author SHA1 Message Date
roy
be38669a3c Sync with dhcpcd-9.3.0 2020-10-05 16:02:15 +00:00
roy
32fe301ab8 Update to dhcpcd-9.3.0 with the following changes:
* dhcpcd: Backticks have been removed from quoting filenames
 * dhcpcd: Only manipulate stdin, stdout and stderr if they are valid
 * duid: Adjust option so the type can be specified
 * logerr: Don't leak logfile fd to scripts
 * privsep: Run the launcher process in the sandbox
 * BSD: Use `ifi_link_state` as the single source of truth about carrier
 * BSD: Ignore vether(4) devices by default
2020-10-05 16:01:13 +00:00
nia
7014504d2e fix indentation 2020-10-05 09:16:53 +00:00
nia
81cc2aabb6 Adjust the default fontconfig fonts.conf to avoid selecting bitmap
fonts included as part of X11 that are also included as scalable fonts
as part of macOS.

Many websites will attempt to select these fonts, which results in
very strange, poor quality rendering.

This should keep legacy X11 applications that want the old "Helvetica"
and "Times" fonts working, but prevent them from being selected by
applications that want scalable fonts.

It should not prevent "Helvetica" or "Times" from being selected
if the user installs a scalable version.
2020-10-05 09:16:26 +00:00
christos
67dafae820 Apply by hand a patch to fix http://r6.ca/blog/20200929T023701Z.html
aka "the memcmp bug", from a patch for gcc-10 in
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95189
Tested on x86_64 by running a full build, install and running it.
Testing that the problem has been fixed with one of the unit tests provided.
2020-10-04 14:44:47 +00:00
kamil
4d7b5ca9b5 Do not assume that _lwp_getprivate() returns unbiased private pointer
Cherry-pick and adapt:

From 2a9ce60de98e53198047daaeeec3cf09ece4e693 Mon Sep 17 00:00:00 2001
From: Kamil Rytarowski <n54@gmx.com>
Date: Fri, 2 Oct 2020 16:13:09 +0200
Subject: [PATCH] [compiler-rt] [netbsd] Improve the portability of
 ThreadSelfTlsTcb

Use __lwp_gettcb_fast() and __lwp_getprivate_fast(), as _lwp_getprivate()
can be a biased pointer and invalid for use in this function on all CPUs.
2020-10-02 14:36:54 +00:00
nia
aa47858fae xterm: Enable SIXEL graphics support.
could also enable REGIS, it will require -lm and i suppose isn't
a default upstream yet(?)

test with "-ti vt340".
2020-10-02 13:08:07 +00:00
nia
618a5a1ff2 xeyes: Enable anti-aliasing with XRENDER
If you prefer the "classic" look, "xeyes +render"
2020-10-01 21:22:47 +00:00
nia
9c6c6fa2f4 unbreak. bsd.files.mk needs to have an includes target, see also
share/wscons/fonts/Makefile
2020-09-28 06:04:08 +00:00
mrg
63c24fdcdf re-run native-gmp for gmp 6.2.0 and arm: run with a v4 toolchain
instead of a v7 toolchain, so it works on all.

should fix latest build mess.

future: test the speed of this vs armv[567] specific on armv[567].
2020-09-27 21:19:36 +00:00
mrg
bc89ad3318 mknative-gmp output for GMP 6.2.0. 2020-09-27 00:31:51 +00:00
mrg
41f3ac3e09 merge gmp 6.2.0. 2020-09-27 00:30:26 +00:00
mrg
72c7faa4db initial import of GMP 6.2.0. changes include:
- Bug fixes to gmp_snprintf, conversion to double, mpz_powm,
  and mpf_set_str.
- New functions for factorial, primorial, fibonacci, mpz_2fac_ui,
  and mpz_mfac_uiui.
- MIPS r6 cores are now supported.
- Various speeds ups.
2020-09-27 00:27:02 +00:00
mrg
3169bf0d27 update slightly to enable 'native-gmp' target from tools/gmp to work.
call the awk script on 'config.log', which has (almost) the same output
as the stdout of ./configure, and automatically store it as 'srcs.mk'.
2020-09-26 20:58:48 +00:00
mlelstv
16a709a022 Moving pointers could fail if realloc() allocates a new memory region
where the difference between old and new address exceeds an int. Use
ptrdiff_t for calculations instead.
2020-09-26 11:39:17 +00:00
mrg
4874f8c7fe updates for mpc 1.2.0. 2020-09-26 07:57:56 +00:00
mrg
90a8ff2142 initial import of mpc 1.2.0. main changes are:
New functions:
  mpc_sum
  mpc_dot

Several functions are more robust with a reduced exponent range (for
example corresponding to IEEE 754 binary formats).
2020-09-26 07:54:54 +00:00
mrg
555a5a053b updates for mpfr 4.0.1. 2020-09-26 07:50:41 +00:00
mrg
2b532294c7 empty PATCHES is needed. revert a local change that is wrong now. 2020-09-26 07:40:50 +00:00
mrg
76abf2fb07 merge mpfr 4.1.0 2020-09-26 07:29:57 +00:00
mrg
2ba2404b55 GNU mpfr 4.1.0. main changes from 4.0:
Changed __float128 to the type _Float128 specified in ISO/IEC TS 18661.
__float128 is used as a fallback if _Float128 is not supported.
New function mpfr_get_str_ndigits about conversion to a string of digits.
New function mpfr_dot for the dot product (incomplete, experimental).
New functions mpfr_get_decimal128 and mpfr_set_decimal128 (available
only when MPFR has been built with decimal float support).
New function mpfr_cmpabs_ui.
New function mpfr_total_order_p for the IEEE 754 totalOrder predicate.
The mpfr_out_str function now accepts bases from -2 to -36, in order to
follow mpfr_get_str and GMP's mpf_out_str functions (these cases gave an
assertion failure, as with other invalid bases).
Shared caches: cleanup; really detect lock failures (abort in this case).
Improved mpfr_add and mpfr_sub when all operands have a precision
equal to twice the number of bits per word, e.g., 128 bits on a 64-bit
platform.
Optimized the tuning parameters for various architectures.
2020-09-26 07:25:38 +00:00
mrg
e7604a0c6a we don't have a patch version for a while now. 2020-09-26 07:01:39 +00:00
christos
ca734aa17e Add one more place to notify blocklistd 2020-09-25 12:52:59 +00:00
christos
f4fce374ab Notify blacklistd about smtp auth failures (Jeff Rizzo) 2020-09-25 12:52:12 +00:00
christos
5093c1f669 Add the generated version file 2020-09-24 14:54:03 +00:00
christos
bc11a54ebd Add version.cc 2020-09-24 14:53:35 +00:00
nia
499b49590d revert; use system.ctwmrc from xsrc until I understand why the build fails 2020-09-24 06:52:48 +00:00
nia
9bc66ce6c3 move the new ctwmrc here so it doesn't conflict with the upstream one 2020-09-24 05:43:29 +00:00
kamil
2c7c316aa6 Make gdbserver almost work
The only missing thing is the lack of generated version.c.
2020-09-24 03:06:01 +00:00
christos
70699dff37 Add build glue (does not link) 2020-09-23 23:36:59 +00:00
nia
499e9f4300 add a script for dynamically generating a menu in the ctwm desktop
this parses the files in /usr/pkg/share/applications and provides a
submenu for launching applications.

TODO: make /usr/pkg configurable somehow?
2020-09-23 15:30:36 +00:00
mrg
4cb0ef6be7 fix missing deps for cow-fs_dir* and cow-fs_ops*.
should fix build issues reported on current-users.
2020-09-21 20:00:44 +00:00
nia
edc3c85277 also allow uxterm to be used in the default xinitrc 2020-09-21 13:51:55 +00:00
nia
be7cf8f824 Define CTWM when building xinit
This will allow ctwm to eventually be used in the default xinitrc.
2020-09-21 08:20:04 +00:00
mrg
e9f99204c3 make depend files also depend on the generated headers.
fixes build issues.
2020-09-21 06:48:48 +00:00
christos
d2c8b54685 zero out the sockaddr, so that the length it guaranteed to be 0. 2020-09-20 21:18:45 +00:00
christos
eceb233b9b regen 2020-09-20 20:34:42 +00:00
christos
4d342c046e regen 2020-09-20 16:54:16 +00:00
christos
853ce42ed3 disable -Wstack-usage since some targets like vax don't support it 2020-09-20 16:41:25 +00:00
christos
ad295f62b7 undo previous, it was correct 2020-09-20 16:00:56 +00:00
christos
f80dfe5994 Don't read data from sections without contents on NetBSD. We end up reading
0's and svr4_exec_displacement read phdrs_target successfully, and we
end up in the rabbit-hole of 0 displacement for pie binaries and then we
can't load our shared libaries from the core file.
2020-09-20 14:39:26 +00:00
christos
10aefa730d remove mis-merged code and make the auxv core offset 0. Now loading auxv
from core files works.
2020-09-19 21:47:03 +00:00
christos
8ac0bbd165 The lid of the main thread == pid now. Should we fix the kernel to return
this? Now debugging live programs work.
2020-09-19 21:45:45 +00:00
christos
43893e6090 Provide better guesses for bsd systems, otherwise we end up calling
recursively opendir and gettimeofday until we run out of stack...
2020-09-18 17:46:47 +00:00
christos
e6d52d512c fix build. 2020-09-17 20:26:22 +00:00
christos
808b1dd7da commit generated man pages 2020-09-17 20:13:20 +00:00
christos
eff0df4904 Generate ctf-error.h 2020-09-17 16:45:35 +00:00
christos
c14ca8fd28 Add new libraries 2020-09-17 16:38:10 +00:00
christos
19ad82eb24 Add new libraries, adjust old ones 2020-09-17 16:36:38 +00:00
christos
6b8c077795 remove obsolete 2020-09-17 16:07:39 +00:00