Commit Graph

7765 Commits

Author SHA1 Message Date
bentley
ab4ff063fa Don't perform font caching as root.
During build, run fc-cache as BUILDUSER.

When fc-cache is run as root, drop automatically to the _fc-cache user
so /var/cache/fontconfig doesn't acquire root-owned files.

ok deraadt@
2025-07-13 08:19:24 +00:00
jsg
f572c88d34 move -lpthread out of a group so ld.bfd on sparc64 will create a NEEDED
entry for it

avoids undefined references to pthread_create, pthread_detach,
pthread_join, that broke the build of qt5/qtbase on sparc64

reported-by and ok tb@
2025-07-01 12:00:58 +00:00
miod
8e9c96fd9b Apply a large hammer to reduce compiler optimization level on mips64 due to
clang 19 segfaulting otherwise. This can surely be improved upon, but the
immediate goal is to unbreak builds.
2025-06-30 14:10:09 +00:00
matthieu
571b39cbcc update 2025-06-29 05:46:50 +00:00
matthieu
dd403c0ad1 Update to xserver 21.1.18.
The security fixes have already been committed.
2025-06-29 05:21:57 +00:00
kettenis
08fc30efb6 With LLVM 19 setting attributes to enable BTI and PAC at the module level
no longer has the desired effect.  Instead we have to set attributes on
each function in the module.  Fixes software rendering with LLVM on
machines with BTI.

ok jsg@, mbuhl@
2025-06-24 14:57:03 +00:00
matthieu
4607666e18 Check for integer overflow on BigRequest length.
Related to CVE-2025-49176.
2025-06-19 05:16:21 +00:00
matthieu
06b1f703db update 2025-06-17 14:26:39 +00:00
matthieu
e8f2e774ea Merge fixes from upstream for multiple Xserver issues:
CVE-2025-49175: Out-of-bounds access in X Rendering extension
    (Animated cursors)
CVE-2025-49176: Integer overflow in Big Requests Extension
CVE-2025-49177: Data leak in XFIXES Extension 6
    (XFixesSetClientDisconnectMode)
CVE-2025-49178: Unprocessed client request via bytes to ignore
CVE-2025-49179: Integer overflow in X Record extension
CVE-2025-49180: Integer overflow in RandR extension
    (RRChangeProviderProperty)
2025-06-17 13:10:07 +00:00
jsg
e070c5e1d5 use the upstream powerpc build fix 2025-06-16 00:42:57 +00:00
matthieu
5975a5b04e update 2025-06-14 13:18:49 +00:00
matthieu
7c34ad4891 Update to xterm 399. tested by kirill@
Also reduce the diffs between the generated xtermcfg.h when using
configure and the one we provide for the BSD makefile. The file after
this diff matches the result of configure with :

configure --enable-backarrow-is-erase \
                        --enable-delete-is-del --enable-initial-erase \
                        --disable-tek4014 --with-terminal-id=vt100 \
                        --enable-broken-st --disable-exec-selection \
                        --disable-sixel-graphics --enable-initial-erase \
                        --disable-paste64 --disable-readline-mouse \
                        --disable-screen-dumps \
                        --disable-tcap-fkeys --disable-tcap-query \
                        --with-utmp-setgid
2025-06-14 12:33:57 +00:00
matthieu
c466e1c79a Backport the remaining bits of the modesetting driver in X.org master.
Work done by tedu@.
2025-06-14 12:29:51 +00:00
matthieu
dd8895c038 Backport TearFree page flips for the modesetting driver from X.Org maaster.
Work done by jcs@ and naddy@. This is the TearFree code alone as of
2023-12-17.
2025-06-14 12:22:29 +00:00
matthieu
9cdf3166a0 Revert the tearfree commit. It contains a merge error noticed by nadd@
It will be re-done without the merge error.
2025-06-14 12:16:56 +00:00
jsg
c2fe528f9c follow meson changes and build radix_sort as part of libvulkan_runtime
avoids undefined symbols in intel vulkan libs
reported-by and ok tb@
2025-06-11 13:08:26 +00:00
jsg
4a8fc73364 remove unused u_printf_length.c
u_printf_length() was moved from u_printf.cpp to avoid a problem with
unused c++ sections with ld.bfd.

Since then, upstream changed u_printf.cpp to u_printf.c and this problem
no longer exists.
2025-06-10 04:28:19 +00:00
matthieu
ff46794f61 update 2025-06-09 18:57:08 +00:00
matthieu
b454d6cc15 Backport TearFree page flips for the modesetting driver from X.Org maaster.
Work done by tedu@ based on previous diffs by jcs@ and stsp@.
One bug fix in master by me. tested and ok tb@. commit on behalf of tedu@
2025-06-09 18:18:36 +00:00
jsg
521b20b5b1 only link gallium va lib if it is built
needed for octeon, which doesn't build radeon drivers
2025-06-07 09:07:04 +00:00
jsg
b554f8e26c add back linking of libXfixes and libxcb-dri2
needed for ld.bfd archs
2025-06-07 08:49:51 +00:00
jsg
da41122fc5 define HAVE_ELF_AUX_INFO to 1
fixes 'error: expected value in expression' build error on powerpc64
reported by deraadt@
2025-06-06 23:00:18 +00:00
jsg
09ddaffd9d add back linking of libm and libpthread
matches how meson links libgbm.so, though there the resulting
library did not have NEEDED entries for libm and libpthread

patch from jca@, tb@ confirms this unbreaks webkitgtk4 ports build
2025-06-06 13:03:06 +00:00
jsg
96c5582a05 sync 2025-06-06 09:05:40 +00:00
jsg
9a42033959 stop building profile libs to save some space 2025-06-06 09:04:08 +00:00
jsg
d358c7d3df update 2025-06-05 15:24:13 +00:00
jsg
03ef2f15dc remove unused files removed upstream 2025-06-05 15:12:33 +00:00
jsg
637f6fa528 sync 2025-06-05 14:22:44 +00:00
jsg
452696b8cb Merge Mesa 25.0.7 2025-06-05 14:17:56 +00:00
jsg
483f148565 Merge Mesa 25.0.7 2025-06-05 13:24:05 +00:00
jsg
67d6f11771 Import Mesa 25.0.7 2025-06-05 11:23:11 +00:00
matthieu
90883131f3 Add ac_cv_lib_lex=-lfl to the prebuilt cache.
Recent autoconf assume that if ac_cv_prog_LEX is set in the cache,
the lib is also defined in the cache. Needed by upcoming twm update.
2025-06-01 19:09:48 +00:00
matthieu
f484e01b3e Remove anoter file not present anymore in recent xterm 2025-05-25 08:52:33 +00:00
matthieu
b12b2c0936 update 2025-05-24 17:57:03 +00:00
matthieu
2a67c6b6b9 Remove files removed in xterm 287 2025-05-24 17:39:54 +00:00
jsg
d34ded9be8 sync 2025-05-24 02:48:41 +00:00
bentley
40f45b02de Call pledge(2) in fc-cache(1): "stdio rpath wpath cpath flock".
ok deraadt@
2025-05-23 10:30:39 +00:00
bentley
fe9c23177e Call pledge(2) in mkfontscale(1): "stdio rpath wpath cpath".
ok deraadt@
2025-05-23 10:29:02 +00:00
matthieu
36d6c1476e update 2025-04-30 17:51:23 +00:00
matthieu
6ef5c9468b sync 2025-04-30 17:30:00 +00:00
matthieu
f01a36c5da Update to libSM 1.2.6. ok tb@ jsg@ 2025-04-30 17:29:06 +00:00
matthieu
d96f1cc7fa Update to libICE 1.1.2. Ok tb@ jsg@ 2025-04-30 17:27:45 +00:00
matthieu
20e8936765 Update to libX11 1.8.12. ok tb@ jsg@ 2025-04-30 17:26:10 +00:00
matthieu
d80de4e08e Update to xtrans 1.6.0. ok tb@ jsg@ 2025-04-30 17:24:05 +00:00
matthieu
1cdaf683eb update 2025-03-16 14:10:26 +00:00
matthieu
598358d185 Update to xauth 1.1.4 2025-03-16 13:29:46 +00:00
matthieu
fdae9d2fbd Update to libXrender 0.9.12 2025-03-16 12:08:39 +00:00
matthieu
a307c9b9ff Update libXau to 1.0.12 2025-03-16 12:02:40 +00:00
matthieu
d8eb308705 Fix xtrans version.
When libxtrans was updated to 1.5.0 this part was missed.
2025-03-16 10:24:16 +00:00
matthieu
ad0446a99e update 2025-03-09 15:49:13 +00:00