Commit Graph

1072 Commits

Author SHA1 Message Date
matthieu
06061c495d white space 2018-07-08 17:45:38 +00:00
kettenis
7a6863f74a The futex-based implementation of libxshmfence requires atomic operations
that hppa, m88k and sh don't provide.  Since DRI3 requires libxshmfence,
this means we can't enable DRI3 on these platforms.

ok matthieu@
2018-06-28 20:11:32 +00:00
kettenis
c7bc2b344c Enable various bits of DRI3 support.
ok matthieu@
2018-06-26 06:51:17 +00:00
kettenis
191958dfc8 Make sure we create shared memory files in /tmp such that programs can use
the "tmppath" pledge to allow creation of shared memory fences.

ok matthieu@
2018-06-09 11:44:13 +00:00
kettenis
3a5dfaa265 Add OpenBSD support using process-global futexes.
ok matthieu@
2018-06-08 13:16:24 +00:00
matthieu
d9fb28853a add BSD build infrastructure 2018-06-07 22:05:13 +00:00
matthieu
b1a440ca66 Import libxshmfence 1.4 2018-06-07 21:57:28 +00:00
kettenis
caa5824472 Make sure HAVE_DRI3 is defined when DRI3 support is enabled.
Matches what is done for Linux.

ok jsg@
2018-06-07 09:25:32 +00:00
matthieu
3b5f1cf2f4 Use -mxgot to build libepoxy on mips64 and mips64el.
ok visa@ who reported that mips64 is affected too.
2018-05-26 08:52:16 +00:00
matthieu
864ae5542e Remind people to bump dependent libs majors too. 2018-05-26 07:51:37 +00:00
matthieu
766a354a9d Bump majors after libfreetype major bump 2018-05-26 07:51:00 +00:00
matthieu
9d6c736422 Update to libepoxy 1.5.2. ok aja@ 2018-05-25 06:24:59 +00:00
matthieu
337449ed83 Update to libdmx 1.1.4 2018-05-21 20:06:55 +00:00
matthieu
4defdf0a2a Update to libpciaccess 0.14 2018-05-21 20:02:28 +00:00
dcoppa
5d55788f87 Update to freetype-doc-2.9.1 2018-05-21 14:24:32 +00:00
dcoppa
1f0d8a70a0 Backout local change, not needed anymore
Suggested by matthieu@
2018-05-21 11:56:16 +00:00
dcoppa
c1147192df Update to FreeType 2.9.1
OK matthieu@
2018-05-21 11:52:24 +00:00
matthieu
049ea173f0 Unlink fontcache and xf86misc libs and protos from the build.
They are both unsupported on the server side for many years.
ok tb@
2018-05-20 09:40:53 +00:00
matthieu
c4e3a279a9 Remove libXfont. unlinked from builds since one month. 2018-05-01 14:09:05 +00:00
matthieu
ec1ab865de Unhook libXfont from the build. Obsoleted by libXfont2.
Bulk ports build checked by naddy@. Thanks.
2018-04-02 17:06:02 +00:00
matthieu
891ed56e15 Explicitely initialize memory allocated when cur_count==0.
Caused uninitilized memory reads and corruption  with some
fonts (ja-sazanami-ttf).
Issue reported and diagnosticed by Bryan Linton bl at shoshoni dot info.
Thanks.
2018-03-12 18:49:08 +00:00
jsg
90d807dc1b use clock_gettime() path on PIPE_OS_BSD in os_time_get_nano()
committed upstream as 7bea40e56652a1ded4374d92fb340b454fbac475

clock_nanosleep() isn't available yet so the usleep() path stays for
os_time_sleep()
2018-03-02 05:25:17 +00:00
jsg
4a71c37370 Correct a pointless longstanding difference in ioctl numbering between
linux and add back struct members.

Avoids diffs in inteldrm, libdrm and Mesa >= 17.2.

ok kettenis@
2018-02-28 00:45:06 +00:00
jsg
ff54d44d65 No need to override PTHREADSTUBS_CFLAGS/PTHREADSTUBS_LIBS anymore
as the configure scripts have been changed to avoid pthread-stubs.
2018-02-21 06:01:53 +00:00
jsg
494810fbed Don't try to use pthread-stubs on OpenBSD.
A similiar change is already committed upstream.
2018-02-21 05:04:29 +00:00
jsg
32150df089 Merge libdrm 2.4.89 2018-02-17 02:31:15 +00:00
jsg
0d2d0904cd Import libdrm 2.4.89 2018-02-17 02:24:37 +00:00
jsg
1742a041f4 armv7 has builtin atomics since the switch to clang 2018-02-04 00:36:24 +00:00
jsg
bc2a4df05f fix some files cvs got wrong when checking out 13.0.6 2018-01-08 06:41:59 +00:00
jsg
646d14d2d3 Revert to Mesa 13.0.6 again.
Corruption has again been reported on Intel hardware running Xorg with
the modesetting driver (which uses OpenGL based acceleration instead of
SNA acceleration the intel driver defaults to).

Reported in various forms on Sandy Bridge (X220), Ivy Bridge (X230) and
Haswell (X240).  Confirmed to not occur with the intel driver but the
xserver was changed to default to the modesetting driver on >= gen4
hardware (except Ironlake).

One means of triggering this is to open a large pdf with xpdf on an
idle machine and highlight a section of the document.

There have been reports of gpu hangs on gen4 intel hardware
(T500 with GM45, X61 with 965GM) when starting Xorg as well.
2018-01-08 05:41:20 +00:00
jsg
702572c995 Merge Mesa 17.2.8 2017-12-31 07:12:12 +00:00
jsg
cc122a5e9b Import Mesa 17.2.8 2017-12-31 06:17:38 +00:00
dcoppa
1123ad052f Update to FreeType 2.8.1
OK matthieu@
2017-12-15 19:29:11 +00:00
matthieu
cc59c89528 Remove libpthread-stubs. 2017-12-10 11:03:13 +00:00
matthieu
635f3bb34e link libXfont2 to the build 2017-12-08 14:50:06 +00:00
matthieu
a53d7d2e18 Update to libXfont2 2.0.3 2017-11-28 15:47:53 +00:00
matthieu
698c744cef Update to libXfont 1.5.4 2017-11-28 15:47:29 +00:00
matthieu
e19bfc2895 Update to libXcursor 1.1.15 2017-11-28 15:46:58 +00:00
matthieu
c48e946165 This file isn't built anymore. So remove diffs with upstreams. 2017-10-23 17:28:26 +00:00
matthieu
d13adfd89f Unlink libpthread-stubs from xenocara builds.
ok sthen@ who will take care of the ports tree. Also ok espie@
2017-10-23 16:56:59 +00:00
matthieu
4b98ce0cc0 Remove all references to libpthread-stubs from xenocara.
"looks sane" guenther@.
2017-10-23 16:50:28 +00:00
matthieu
baa4f17b3a Update to libXfont2 2.0.2.
Not yet linked to the build
2017-10-22 09:19:25 +00:00
matthieu
92ff90df14 Update to libXfont 1.5.3.
No actual change since individual commits were already merged.
2017-10-22 09:18:25 +00:00
matthieu
b9ca6f3dea Update to libXRes 1.2.0 2017-10-22 09:14:28 +00:00
matthieu
7e1ada6240 MFC: pcfGetProperties: Check string boundaries (CVE-2017-13722)
Without the checks a malformed PCF file can cause the library to make
atom from random heap memory that was behind the `strings` buffer.
This may crash the process or leak information.
2017-10-14 09:03:00 +00:00
matthieu
dadc83bba7 MFC: Check for end of string in PatternMatch (CVE-2017-13720)
If a pattern contains '?' character, any character in the string is skipped,
even if it is '\0'. The rest of the matching then reads invalid memory.
2017-10-14 09:02:08 +00:00
jsg
ad2ad70ae1 Revert to Mesa 13.0.6 to hopefully address rendering issues a handful of
people have reported with xpdf/fvwm on ivy bridge with modesetting driver.
2017-08-26 16:59:17 +00:00
jsg
754e2ec1d4 Make disabling regenerating source files provided in Mesa distfiles that
require python/bison a configure flag instead of the previous way of
testing whether python was found (which shouldn't be the case in
xenocara even with ports packages installed).

This is required when timestamps change on files causing targets to be
invoked that will break if python and bison aren't available and found
in path by the configure script.
2017-08-26 05:58:10 +00:00
matthieu
fdce463043 Update to fontconfig 2.12.4. No API change. 2017-08-19 10:11:04 +00:00
jsg
c97e30df70 regen 2017-08-14 11:21:30 +00:00