Commit Graph

1172 Commits

Author SHA1 Message Date
jsg
d37d5f3d84 fix some things which got broken in merge 2020-01-22 03:34:13 +00:00
jsg
c0a649c02f add files generated by python scripts which stopped being shipped with
distfiles when upstream removed autotools
2020-01-22 03:07:41 +00:00
jsg
75490c6cdf add back autotools files removed upstream 2020-01-22 03:02:59 +00:00
jsg
2796e1e6a2 Merge Mesa 19.2.8 2020-01-22 02:49:17 +00:00
jsg
18af3bcac6 Import Mesa 19.2.8 2020-01-22 02:07:15 +00:00
matthieu
6cb0617196 Oops fix previous. 2020-01-14 21:18:04 +00:00
matthieu
b9ee46e1d5 Remove support for XA_IP_ADDRESS from XmuConvertStandardSelection()
This cause problems with pledged applications like xterm, as reported by
Benjamin Baier and also lacks support for IPv6 as shown in
Xorg bug #7611 https://bugs.freedesktop.org/show_bug.cgi?id=7611

Discussed with jca@ and deraadt@ and submitted upstreams
2020-01-14 21:01:32 +00:00
matthieu
6869a5f294 Update to libXmu 1.1.3 2020-01-14 20:58:31 +00:00
matthieu
b7be776563 Update to libXt 1.2.0. Tested by tb@ 2020-01-14 20:48:59 +00:00
matthieu
cecb53bbe8 Update to libXpm 3.5.13. 2020-01-04 18:00:46 +00:00
matthieu
af3df7cdfd Update to libxkbfile 1.1.0. Tested by krw@ and naddy@ 2020-01-04 17:58:47 +00:00
matthieu
a72dcdf233 Update to libXvMC 1.0.12. Tested by krw@ and naddy@ 2020-01-04 17:57:39 +00:00
matthieu
10e0196fe9 Update to libXi 1.7.10. Tested by krw@ and naddy@ 2020-01-04 17:56:26 +00:00
matthieu
bc231106f4 Uppdate to libX11 1.6.9. Tested by krw@ and naddy@ 2020-01-04 17:55:16 +00:00
matthieu
6fa14ff265 Update to libXfont2 2.0.4 2019-12-14 14:57:44 +00:00
jsg
529ec772d8 regen 2019-12-07 03:10:09 +00:00
jsg
d3074235e2 build Mesa with _ISOC11_SOURCE for c11 visibility
autoconf function tests run without --std and have c11 visibility
timespec_get(3), a c11 function is found this way.

With gcc < 4.6 Mesa will build with --std=gnu99 with clang it will
build with --std=c99 and timespec_get() will no longer be visibile.
Further complicating things gcc 4.2 does not recognise --std=c11.

This was not noticed on linux as they build with _GNU_SOURCE which
among other things gives c11 visibility even with --std=c99.

discussed with millert@
2019-12-07 03:09:41 +00:00
deraadt
5886ab525a Constrain honouring of path-related environment variables based upon
issetugid(), not just the sloppy uid != euid test. gid != egid cases
can occur also.
Part of 6.6/009_mesaxlock.patch.sig and 6.5/020_mesaxlock.patch.sig
From Qualys, ok
2019-12-04 02:26:36 +00:00
jsg
f42e66cbd7 update to GLU 9.0.1
Among other minor changes this adds a stddef.h include for NULL required
to build with Mesa 19.2 headers.
2019-11-27 10:26:12 +00:00
jsg
94e5bba011 Merge libdrm 2.4.100 2019-11-27 02:17:47 +00:00
jsg
a628e08ec1 Import libdrm 2.4.100 2019-11-27 02:09:48 +00:00
jsg
76ee08e832 Call shmget() with permission 0600 instead of 0777
From Brian Paul
02c3dad0f3b4d26e0faa5cc51d06bc50d693dcdc in mainline Mesa

"A security advisory (TALOS-2019-0857/CVE-2019-5068) found that
creating shared memory regions with permission mode 0777 could allow
any user to access that memory.  Several Mesa drivers use shared-
memory XImages to implement back buffers for improved performance.

This path changes the shmget() calls to use 0600 (user r/w).

Tested with legacy Xlib driver and llvmpipe."
2019-11-20 03:13:04 +00:00
matthieu
92537e2975 Fix build with gcc3 which doesn't support symbol visibility.
Reposrted and tested by aoyama@
2019-09-13 19:11:23 +00:00
matthieu
bee0fbcda2 Update to freetype 2.10.1. Tested by semarie@ and naddy@ 2019-09-10 19:13:54 +00:00
aoyama
8a3654518e Fix gcc3 specific error. The diff is based on latest upstream change.
suggested by jsg@, tested on luna88k by me, ok by jsg@ and matthieu@
2019-09-05 14:03:08 +00:00
jsg
86f7c2fd52 enable radeonsi and llvm on arm64
ok kettenis@ patrick@
2019-08-28 08:01:48 +00:00
jsg
cddeeb9fb6 intel: Add support for Comet Lake
From Anuj Phogat
82f6a746e8b47fb6e3f96d7f5f69973f50eec9ca in mesa master
2019-08-24 02:12:17 +00:00
matthieu
056243b384 regen after xtrans 1.4.0 update. 2019-08-04 13:47:51 +00:00
matthieu
14a4895e45 missed README -> README.md conversion in previous 2019-08-04 13:44:46 +00:00
matthieu
9563e10e76 Update to libXft 2.3.3 2019-08-04 13:36:02 +00:00
matthieu
c6568d8569 update to libICE 1.0.10 2019-08-04 13:35:29 +00:00
matthieu
a400859a9c Update to libX11 1.6.8 riding the major bump caused by xtrans 1.4.0 2019-08-04 13:34:52 +00:00
matthieu
85da565ec0 Update to libxtrans 1.4.0. Major bumps for libX11 and libICE.
no objections from naddy@, espie@ and ajacoutot@
2019-08-04 13:33:46 +00:00
matthieu
2e1879725f Update to libXdmcp 1.1.3 2019-08-04 13:25:20 +00:00
jsg
ff40cb71bf Merge Mesa 19.0.8 2019-07-01 08:36:47 +00:00
jsg
b1b22c2ae6 Import Mesa 19.0.8 2019-07-01 07:44:02 +00:00
matthieu
6a36a3a556 Update to libXext 1.3.4. ok tb@ 2019-06-19 19:33:29 +00:00
matthieu
8876a43d15 Update to libXdamage 1.1.5. ok tb@ 2019-06-19 19:31:20 +00:00
matthieu
d2d55c6823 Update to libXcursor 1.2.0. ok tb@ 2019-06-19 19:30:32 +00:00
matthieu
73fcd8c46e Update to libXcomposite 0.4.5. ok tb@ 2019-06-19 19:29:23 +00:00
matthieu
a2a1215acc Disable font server client code. ok mortimer@ 2019-06-19 19:26:36 +00:00
jsg
bf1979f816 Build Mesa intel and radeon vulkan drivers and amd64 and i386
The intel driver can be used with inteldrm on ivy bridge or newer.
The radeon driver only works with amdgpu not radeondrm.

As we can't use python in xenocara add phony targets to create the
same output as python scripts which create json files for the loader.

This is just the ICDs, to use vulkan the loader and additional ports
are required.

ok mpi@ on an earlier version.  Changed to call shm_unlink()
directly after shm_mkstemp() as suggested by kettenis@
2019-05-27 07:20:30 +00:00
jsg
6cb8ade4e6 Call shm_unlink() directly after shm_mkstemp() rather than just before
close().  Closer to memfd_create() behaviour.
2019-05-27 04:19:00 +00:00
jsg
1c9ad5794c Merge Mesa 19.0.5 2019-05-23 05:33:19 +00:00
jsg
1dab445d3b Import Mesa 19.0.5 2019-05-23 04:22:53 +00:00
jsg
6f352abb9a open correct render node in libdrm
drm render nodes have the same major as drm primary devices but offset
the minor by a base of 128.

I expected the name of the device to have numbering starting at 0 when
these non-linux codepaths were added (before we had render nodes).
2019-05-12 14:56:24 +00:00
matthieu
a07b39c9fd Remove libFS. Unlinked from the build 2 weeks ago. 2019-05-11 07:55:04 +00:00
matthieu
fdbb7d40d8 Update to pixman 0.38.4. ok jca@ naddy@ 2019-05-11 07:46:06 +00:00
schwarze
042aae5043 Install more manual pages:
* XKB-Config(7), XKB-Enhancing(7): user-level documentation
for XKB configuration; not perfect, but the best available.
* xtrans(3): a library actively maintained upstream.
* libXmu and libXext: Many libraries are effectively frozen upstream.
According to matthieu@, the documentation of libXmu and libXext
is among the most valuable of those.
Feedback and OK matthieu@.
2019-05-10 11:44:39 +00:00
schwarze
e618151be9 put fonts.7 and drm*.3 into the install sets;
patch from Nathanael Rensen <nathanael at list dot polymorpheus dot com>,
minimally tweaked by me;
OK matthieu@
2019-05-05 23:27:58 +00:00