Commit Graph

142 Commits

Author SHA1 Message Date
jsg
54574d0e6d don't include library major numbers when calling dlopen for gl
libraries on OpenBSD
2015-04-15 07:40:24 +00:00
jsg
1316fa2e22 Import libepoxy 1.2 2015-04-15 07:32:24 +00:00
shadchin
fe6e0d512b Update to xkeyboard-config 2.14.
ok matthieu@
2015-03-30 17:11:29 +00:00
jsg
94a0ddf05d Backport a Mesa fix from Andreas Boll.
glx: Fix returned values of GLX_RENDERER_PREFERRED_PROFILE_MESA
2015-03-18 05:30:10 +00:00
jsg
f62222a305 Backport support for GLX_MESA_query_renderer for non Intel drivers.
This is desirable as the chromium port now uses this extension to
obtain pci vendor/device ids for use in feature/extension blacklists.

Prompted by a mail from byrnet@, tested on r600g by krw@

The newly added os_get_total_physical_memory() was passing the length of
a pointer rather than the type which made the sysctl call fail on
non 64 bit archs.  And it was passing the wrong pointer for the result.
Fixes for these problems have been submitted back upstream.
2015-02-22 09:30:33 +00:00
jsg
039ad8c4a0 Merge Mesa 10.2.9 2015-02-20 23:09:50 +00:00
jsg
dcc515067a Import Mesa 10.2.9 2015-02-20 22:42:51 +00:00
jsg
d7186e55ad Remove the local workaround for alignment faults in the VBO code on
archs with strict 64 bit pointer alignment and use Brian Paul's fix
which has been committed upstream and should end up in future releases
of 10.4.x.
2015-01-31 05:41:14 +00:00
matthieu
87c098c895 Update to libxcb and xcb-proto 1.11.
Tested on a bulk ports build by naddy@.
Lots of churn due to white-space and comments changes in generated code.
2015-01-26 21:32:10 +00:00
jsg
08bb3187f2 Merge Mesa 10.4.3
Tested by matthieu@ mpi@ and myself.  landry@ ran a ports bulk build.
kettenis@ tracked down the cause of an alignment fault on archs
that require strict eight byte pointer alignment.
2015-01-25 14:41:14 +00:00
jsg
ce58a52730 Import Mesa 10.4.3 2015-01-25 14:05:42 +00:00
matthieu
8ffe8af9da Fix buffer overflow in copying PS name
As reported on the fontconfig mailing list by Tanel Liiv.
Found using American Fuzzy Lop.
Upstream patch adapted to use strlcpy().
2015-01-03 16:13:16 +00:00
shadchin
1d9689d381 Update to xkeyboard-config 2.13.
ok matthieu@
2014-12-28 16:41:04 +00:00
jsg
4727f64aaf Match the behaviour of Mesa when built by autoconf and link
libEGL against libgbm and libglapi.

The libgbm requirement comes from the drm EGL backend that was
enabled with the 10.2.3 update.

ok matthieu@ kettenis@
2014-09-28 11:02:37 +00:00
shadchin
83e66faf84 Update to xkeyboard-config 2.12.
plus fix for fr(oss) from Daniel Jakots <vigdis at chown dot me>

ok matthieu@
2014-09-17 16:11:50 +00:00
jsg
29ddf62fe4 Merge Mesa 10.2.7 2014-09-07 15:20:06 +00:00
jsg
dd38df57c9 Import Mesa 10.2.7 2014-09-07 15:00:10 +00:00
landry
32a3bd0ed1 Add -lgbm to Libs as a temporary workaround, since EGL has unknown
symbols from libgbm, and that breaks www/webkit (and probably all the 23
ports linking against EGL, which now probably need WANTLIB fixes..)

with/ok matthieu@
2014-07-14 10:12:16 +00:00
jsg
4426d79b4b Merge Mesa 10.2.3
tested by matthieu@ kettenis@ mpi@ brett@ and myself across a
diverse range of hardware
2014-07-09 21:08:50 +00:00
jsg
7c297b484e Import Mesa 10.2.3 2014-07-09 20:33:36 +00:00
matthieu
b4cc09fbf4 Update to fontconfig 2.11.1. Tested by shadchin@ 2014-05-18 10:33:03 +00:00
shadchin
72ef880b2e Update to xkeyboard-config 2.11.
ok matthieu@
2014-05-05 18:05:33 +00:00
jsg
f166a50969 backport a Mesa patch for the recently updated ports llvm
commit 749cb8909714fed57b0213f4ad92def3bb24f153
Author: Vinson Lee <vlee@freedesktop.org>
Date:   Sun Nov 3 20:27:13 2013 -0800

    gallivm: Remove llvm::DisablePrettyStackTrace for LLVM >= 3.4.

    LLVM 3.4 r193971 removed llvm::DisablePrettyStackTrace and made the
    pretty stack trace opt-in rather than opt-out.

    The default value of DisablePrettyStackTrace has changed to true in LLVM
    3.4 and newer.

    Signed-off-by: Vinson Lee <vlee@freedesktop.org>
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=60929
    Reviewed-by: Tom Stellard <thomas.stellard@amd.com>
    Reviewed-by: Brian Paul <brianp@vmware.com>
2014-04-20 10:53:26 +00:00
matthieu
6973cc860b xcb-util 0.3.9 moves to lib 2014-04-14 19:23:59 +00:00
matthieu
db5bcd8032 Update libxcb to version 1.10. Tested by naddy@ and shadchin@. 2014-04-14 19:02:17 +00:00
jsg
ee6e2c0845 Merge Mesa 9.2.5 2014-01-19 03:13:15 +00:00
jsg
47c63d2e5f Import Mesa 9.2.5 2014-01-19 03:03:22 +00:00
jsg
c6a24178b5 Merge Mesa 9.2.3
ok mpi@ kettenis@
2013-11-24 06:19:52 +00:00
jsg
309b4c3237 Import Mesa 9.2.3 2013-11-24 05:52:36 +00:00
jsg
12557abee9 Merge Mesa 9.2.2 2013-11-09 02:46:54 +00:00
jsg
fc1e3907a6 Import Mesa 9.2.2 2013-11-09 02:25:41 +00:00
shadchin
bc888af018 Update to xkeyboard-config 2.10.1.
ok matthieu@
2013-10-26 17:49:57 +00:00
jsg
74afb4747b Merge Mesa 9.2.1 2013-10-05 09:53:49 +00:00
jsg
42e72c47e5 Import Mesa 9.2.1 2013-10-05 09:19:47 +00:00
jsg
84f07c3246 Merge Mesa 9.2.0 2013-09-05 13:58:30 +00:00
jsg
cb5c86a80d Import Mesa 9.2.0 2013-09-05 13:08:03 +00:00
naddy
ea97b1d614 use arc4random() as the preferred random number source in fontconfig
ok matthieu@
2013-09-01 19:47:52 +00:00
jsg
977241acdf don't depend on a list of archs to determine endianess,
unbreaks gallium build on sparc64.  found the hard way by florian@
ok kettenis@
2013-08-14 13:25:56 +00:00
jsg
54ad3dfaaa byteswap.h and bswap_32 aren't portable, replace them with calls to
gallium's util_bswap32 as suggested by kettenis.

already merged upstream
ok kettenis@
2013-06-17 23:21:23 +00:00
shadchin
d5ecde7a60 Sun LKey section defines two xkb groups that lead to problems if there was only
one layout is configured. Toggle this section to one group.

pointed out, tested and ok landry@, ok matthieu@
2013-06-15 16:00:39 +00:00
matthieu
ff44df0816 Fixes from upstreams for vulnerabilities reported by Ilja Van Sprundel
Integer overflow in XF86DRIOpenConnection() and
XF86DRIGetClientDriverName() [CVE-2013-1993]

Reminded by jsg@. Thanks
2013-06-10 19:21:20 +00:00
jsg
120dbb0038 correct RADEON_GEM_WAIT_IDLE use.
RADEON_GEM_WAIT_IDLE is declared DRM_IOW but mesa
uses it with drmCommandWriteRead instead of drmCommandWrite
which leads to the ioctl being unmatched and returning an
error on at least OpenBSD.

Problem originally found and fixed in libdrm by kettenis@
Dave Airlie pointed out that mesa has the same issue.

This change has already been merged in upstream mesa.

ok matthieu@ kettenis@
2013-06-09 13:57:18 +00:00
matthieu
3ff899d868 Update to libxcb 1.9.1. 2013-05-31 14:18:43 +00:00
matthieu
52f6d0ba20 Merge upstream fixes for several X libs vulnerabilities
discovered by Ilja van Sprundel.

CVE-2013-1981 X.org libX11 1.5.99.901 (1.6 RC1) integer overflows
CVE-2013-1982 X.org libXext 1.3.1 integer overflows
CVE-2013-1983 X.org libXfixes 5.0 integer overflows
CVE-2013-1984 X.org libXi 1.7.1 integer overflows
CVE-2013-1985 X.org libXinerama 1.1.2 integer overflows
CVE-2013-1986 X.org libXrandr 1.4.0 integer overflows
CVE-2013-1987 X.org libXrender 0.9.7 integer overflows
CVE-2013-1988 X.org libXRes 1.0.6 integer overflows
CVE-2013-1989 X.org libXv 1.0.7 integer overflows
CVE-2013-1990 X.org libXvMC 1.0.7 integer overflows
CVE-2013-1991 X.org libXxf86dga 1.1.3 integer overflows
CVE-2013-1992 X.org libdmx 1.1.2 integer overflows
CVE-2013-1994 X.org libchromeXvMC & libchromeXvMCPro in openChrome
0.3.2 integer overflows
CVE-2013-1995 X.org libXi 1.7.1 sign extension issues
CVE-2013-1996 X.org libFS 1.0.4 sign extension issues
CVE-2013-1997 X.org libX11 1.5.99.901 (1.6 RC1) buffer overflows
CVE-2013-1998 X.org libXi 1.7.1 buffer overflows
CVE-2013-1999 X.org libXvMC 1.0.7 buffer overflows
CVE-2013-2000 X.org libXxf86dga 1.1.3 buffer overflows
CVE-2013-2001 X.org libXxf86vm 1.1.2 buffer overflows
CVE-2013-2002 X.org libXt 1.1.3 buffer overflows
CVE-2013-2003 X.org libXcursor 1.1.13 integer overflows
CVE-2013-2004 X.org libX11 1.5.99.901 (1.6 RC1) unbounded recursion
CVE-2013-2005 X.org libXt 1.1.3 memory corruption
CVE-2013-2066 X.org libXv 1.0.7 buffer overflows
2013-05-23 22:42:07 +00:00
matthieu
59dcebd7e7 Merge from fontconfig git repository:
Fix fc-cache crash caused by looking up NULL object incorrectly
We were returning a skiplist node when looking up NULL!
2013-03-17 22:12:47 +00:00
matthieu
79dacaca45 MFC: Bug 60748 - broken conf.d/10-autohint.conf and conf.d/10-unhinted.conf
Move the target of recipes to the "pattern" from the "font". This is
to ensure the targeted objects is updated by them prior to
FcDefaultSubstitute() so that it can adds the default values properly.
2013-03-09 14:14:34 +00:00
matthieu
de08f67d60 Add missing fcntl(..., F_DUPFD_CLOEXEC) argument. 2013-03-09 14:01:04 +00:00
matthieu
ead261fb97 New config file providing replacement for Lucida fonts.
Replace ugly bitmapped fonts by Luxi or DejaVu TrueType fonts,
Provide aliases for commonly found Lucida family fonts (Lucida,
Lucida Grande, Lucida Sans Unicode).

Prodded by a submission by Tobias Ulmer. Ok mpi@.
2013-03-09 14:00:31 +00:00
matthieu
cb861fcea9 Add a substitution from fonts that map to ugly bitmapped ones
Maps to DejaVu fonts. Most of the work done by martynas@
and deraadt@, with inputs and tests from naddy@, todd@
and lots of others.
2013-03-09 13:59:48 +00:00
matthieu
0bbce74883 fc-cache] Add '-c' option fc-cache to chroot on startup
before (re)building the font cache. Useful for builds with
$DESTDIR set, to prepare a binary distribution.
2013-03-09 13:58:47 +00:00