Commit Graph

9443 Commits

Author SHA1 Message Date
nia
f476d77f98 xclock also gets AlwaysOnTop 2020-10-12 15:24:16 +00:00
roy
0a9e4e74f0 Sync withn dhcpcd-9.3.1 2020-10-12 14:09:03 +00:00
roy
597ffba2d5 Update to dhcpcd-9.3.1 with the following changes:
* dhcpcd: carrier handling issue fixed from 9.3.0
 * dhcpcd: log if interface type is unsupported in debug
 * duid: memory leak fixed if UUID wanted but none available
 * privsep: fix receiving inet and no BPF running
 * privsep: allow gettimeofday for SECCOMP
 * privsep: fix stderr redirection again
2020-10-12 14:07:55 +00:00
nia
92a6612581 define xsetroot in the right place 2020-10-12 11:43:11 +00:00
nia
ad94c89804 Automatic font scaling based on screen size in the default ctwm config.
Based on a shell script which gets the DPI from the X server, and if this
fails, attempts to guess based on resolution. Taking advantage of M4 macros
in the ctwmrc, we can also scale the workspace manager and window list.

The following sizes are supported: 6x12 (<800x600) 8x16 12x24 (4k and higher)
16x32 32x64

Also makes Spleen the default font in ctwm
2020-10-12 11:07:23 +00:00
hannken
ce6d7dcd35 Stub groupmember() has to test both group list and current group id.
Fixes kern/55675: ZFS mounts do not work with setuid programs
2020-10-12 08:21:21 +00:00
nia
369baf1326 Generate oldschool Latin-1 variants of Spleen fonts.
Needed so ctwm can load them. ctwm uses XCreateFontSet which for some
reason seems adverse to returning UTF-8 fonts...
2020-10-11 17:49:07 +00:00
nia
adf31424df slightly lower workspace manager size
this works nicely on a 12.5" FHD screen
2020-10-11 10:12:53 +00:00
nia
d201bbfa3c allow xsetroot to be used in default xinitrc 2020-10-11 10:08:26 +00:00
nia
0a5b11edd2 allow the root window to be freely painted with e.g. xsetroot
it came up during initial review that it may be confusing that xsetroot
doesn't work by default
2020-10-11 10:02:51 +00:00
nia
d8abfc1173 mute binding is annoying when there's hardware mute 2020-10-11 07:08:29 +00:00
rin
428b4e25bc Fix build; clean manpages only if they are generated automatically. 2020-10-11 07:07:31 +00:00
christos
64014ae499 PR/55710: Kimmo Suominen: Delete manual pages so that they get copy from the
imported, already generated ones.
2020-10-10 14:25:21 +00:00
christos
25e0134e2d Use .PARSEDIR 2020-10-10 14:23:48 +00:00
christos
8cd1dd28ab Add rules for manual pages builds, remove including Makefile.inc 2020-10-10 14:23:34 +00:00
christos
663d916a0c include bsd.own.mk so that ../../Makefile.inc does not do it... 2020-10-10 14:23:05 +00:00
christos
b65092432b Wait for the asynchronous dns resolver child to be done (and close the
socket descriptors) before returning. Otherwise we might get bind errors.
Reported by kim@, fixed by mlelstv@.
2020-10-10 13:41:14 +00:00
nia
f46a751696 xeyes should be AlwaysOnTop - requested by a user 2020-10-10 10:36:16 +00:00
nia
bf28d37d16 Bump up the dark contrast a bit 2020-10-10 10:33:37 +00:00
nia
6c12084399 Make it easier to identify the current active window (red border highlight) 2020-10-10 10:28:08 +00:00
nia
922a346a2e Switch to the same hack in pkgsrc for avoiding bitmap fonts on the web
Just for consistency's sake, and making it easier to disable this if
someone wants to do that.
2020-10-10 09:17:33 +00:00
nia
4f713b22cd hook up X11 "Spleen" fonts to the build 2020-10-10 08:33:29 +00:00
nia
0d3c2dfaf5 Add Makefile for X11 Spleen fonts. Not integrated yet. 2020-10-10 07:28:04 +00:00
rin
271d6b3e72 Adjust for aarch64eb; it needs elf32-aarch64.c. 2020-10-09 23:55:48 +00:00
rin
11eeaade86 mknative-gdb.old for aarch64eb 2020-10-09 23:54:12 +00:00
macallan
252d2a5c18 build ppc_video.c etc. on hppa 2020-10-09 17:01:29 +00:00
kardel
75839df013 PR kern/55705:
don't attempt to sleep for negative time, we are late anyway - avoids DIAGNOSTIC panic
2020-10-09 08:18:01 +00:00
macallan
06b5bd8add build some potentially useful drivers on hppa 2020-10-09 04:28:38 +00:00
kre
e10e0d0745 tzdata 2020b: the ancient systemv and pacificnew zone files are gone,
as is the yearistype.sh script (2020b zic, if/when that gets included
in NetBSD won't support it).,
2020-10-08 13:44:36 +00:00
rin
c4b815a64a Apply hack for GDB 8.3 on arm to GDB 11.
XXX
Not tested as GDB 11 does not build for arm at the moment.

Note that dist/gdb/dwarf2foo.c was renamed to dist/gdb/dwarf2/foo.c.
2020-10-08 08:32:57 +00:00
rin
75fa0b3cd9 GCC 9.3 miscompiles dwarf2{expr,loc}.c with -O2 for earmv5hf{,eb}
(-O1 is fine). This is a new regression introduced in GCC9.

For everyone's safety, extend -O0 hack to dwarf2{expr,loc}.c for
all arm variants with GCC >= 8.
2020-10-08 08:31:37 +00:00
kre
2e991c1622 Merge tzdata2020b 2020-10-08 04:28:00 +00:00
kre
b3ad27c8c8 Import tzdata2020b from ftp://ftp.iana.org/tz/releases/tzdata2020b.tar.gz
Summary of changes in tzdata2020b (2020-10-06 18:35:04 -0700):

     Revised predictions for Morocco's changes starting in 2023.
     Canada's Yukon changes to -07 on 2020-11-01, not 2020-03-08.
     Macquarie Island has stayed in sync with Tasmania since 2011.
     Casey, Antarctica is at +08 in winter and +11 in summer.
2020-10-08 04:27:22 +00:00
rin
dbe4bf45a3 PR port-alpha/54307
GCC 9.3 seems to be able to compile rtree.c with -O2:

- No new regressions in ATF.
- System survives over a night, at least, under heavy loads.

On the other hand, unfortunately, GCC 9.3 still miscompiles tcache.c
with -O2 or -O1. For example, even ``gcc -g hello.c'' fails with ICE
if tcache.c is compiled with -O[12] in libc.
2020-10-07 07:35:28 +00:00
kamil
933fb81256 Replace local patches adding NetBSD/aarch64 support with the upstream one
Cherry-pick:

From c0b313441717b65569edb01bf9984d2066d899de Mon Sep 17 00:00:00 2001
From: Nick Clifton <nickc@redhat.com>
Date: Mon, 5 Oct 2020 14:56:42 +0100
Subject: [PATCH] Add NetBSD AArch64 Little Endian and Big Endian BFD support.

bfd      * config.bfd (aarch64-*-netbsd*, aarch64_be-*-netbsd*): Add target.
2020-10-06 23:28:13 +00:00
kamil
c19751a211 Undo local patches
They are no longer needed (and are wrong).
2020-10-06 23:14:47 +00:00
kamil
6a134d1bf9 Remove NFC local delta 2020-10-06 22:17:42 +00:00
kamil
33673ac57c Fix typo
Remove delta with upstream.
2020-10-06 22:14:41 +00:00
kamil
cc2fb38879 Replace local patch with fix from upstream
Cherry-pick:

From e2a2a24a8e78427ff8667d625f5befbe88c328bb Mon Sep 17 00:00:00 2001
From: Kamil Rytarowski <n54@gmx.com>
Date: Wed, 23 Sep 2020 04:20:05 +0200
Subject: [PATCH] Preinitialize the sockaddr_un variable to zero

Don't pass random sun_len for the BSD's,
zero the whole structure as recommended for portability.

Reported by Coverity.

gdbsupport/ChangeLog:

	* agent.cc (gdb_connect_sync_socket): Preinitialize addr with zeros.
2020-10-06 22:04:09 +00:00
kamil
95bfe6ceb7 Undo local NFC patch 2020-10-06 21:54:01 +00:00
kamil
543accdbd7 Undo local patch having no impact
/tmp is picked from P_tmpdir earlier.
2020-10-06 21:49:22 +00:00
kamil
fef5fe3a2a Undo local NFC patch 2020-10-06 21:39:53 +00:00
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