return early if pci_sys is NULL in vgaarb functions
Kevin Chadwick reported that Xorg was segfaulting every 10 or 20 minutes
in pci_device_vgaarb_set_target() on a machine with Intel I945G (gen 3).
This generation of hardware is pre OpenGL 2.0, so is not using glamor in
the xserver or the modesetting driver.
Make sure the libpng object files are built using the same PICFLAG as
those of freetype. This unbreaks freetype on at least luna88k, when the
resulting library had text relocations because these files were not built
pic.
found by & ok aoyama@
Add Makefile.bsd-wrapper to build static libpng and run autoreconf.
It will be bundled into libfreetype for better font rendering.
ok robert@ sthen@ matthieu@
Bump AUTOMAKE_VERSION to 1.13.
It will be required by future updates and matthieu already planned to bump
it.
Note that this does not change anything until autoreconf is run, so it's
safe.
ok matthieu@
Revert 25.0 version of "radeonsi: always lower alu bit sizes"
2d525d5e3401555d97fe827f8db5bfed8887dc33 in Mesa 25.0
33b5d8b2ec26904ec1c331dd64ee04e351fd8e0e in Mesa main
The backport caused Xorg to abort with
'Unsupported opcode: v1: :v[2] = v_lshlrev_b16 8, :v[2'
on a machine with PITCAIRN radeondrm when running startx.
Problem reported by Avon Robertson on misc@.
discussed upstream:
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35150
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@
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@