Commit Graph

1232 Commits

Author SHA1 Message Date
matthieu
857c4a5264 libXpresent depends on libXrandr. Noticed by naddy@. Thanks 2018-08-06 15:09:42 +00:00
matthieu
8f7485cfef Link libXpresent to the build. 2018-08-05 12:20:17 +00:00
matthieu
6075741e3c regen 2018-08-05 12:10:01 +00:00
matthieu
97a2cbad8d add BSD build infrastructure 2018-08-05 12:06:41 +00:00
matthieu
d92eed431d Import libXpresent version 1.0.0 2018-08-05 12:04:39 +00:00
matthieu
3d6a226675 Typo. Reported by feinerer@. Thanks. 2018-07-19 12:45:31 +00:00
matthieu
437b06c43f Document the use of this Makefile with x11/py-xcbgen.
(not part of standard xenocara builds)
2018-07-19 11:52:37 +00:00
matthieu
8f9a6b1d79 Update to libXinerama 1.1.4 2018-07-12 15:16:03 +00:00
matthieu
da360a65cc Update to libXScrnSaver 1.2.3 2018-07-12 15:10:28 +00:00
kettenis
323f3c34c5 Use __MAP_NOFAULT such that a client cannot use ftruncate and make the
X server crash.

ok deraadt@, matthieu@
2018-07-11 06:59:03 +00:00
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
jsg
46c4fa732b cope with cvs import changing timestamps which caused make rules that
invoke python to attempt to run and fail
2017-08-14 11:17:43 +00:00
jsg
36c1bd020e Merge Mesa 17.1.6 2017-08-14 09:57:57 +00:00
jsg
6526d3319e Import Mesa 17.1.6 2017-08-14 09:30:06 +00:00
jsg
e188ddf96e Merge libdrm 2.4.82 2017-08-05 14:21:16 +00:00
jsg
fb01c3ceed Import libdrm 2.4.82 2017-08-05 14:15:15 +00:00
espie
564a026ce3 add a real dependency on the shadow tree, removes the need to run
make depend

okay matthieu@

(I added a comment explaining why this comes after bsd.xorg.mk)
2017-07-02 09:52:23 +00:00
dcoppa
c9e1b05c71 Update to freetype-doc-2.8 2017-06-24 13:58:55 +00:00
dcoppa
1a2ccef125 Update to freetype-2.8
No fallout in a bulk build on i386 (sthen@)

OK matthieu@, sthen@
2017-06-23 16:15:17 +00:00
espie
251e3d9436 let X directories build even if you forget depend.
- use BUILDFIRST
- have fontconfig use normal 'all' targets to make sure its files are built
- explicitly document the fontconfig lib order

okay matthieu@
2017-06-18 21:09:07 +00:00
visa
55a8e552e5 Make X work with radeondrm(4) hardware on loongson.
OK jsg@
2017-05-21 13:18:29 +00:00
dcoppa
e1b18e589f Fixes for CVE-2017-8105 and CVE-2017-8287
out-of-bounds write caused by a heap-based buffer overflow related
to the t1_decoder_parse_charstrings function in psaux/t1decode.c

out-of-bounds write caused by a heap-based buffer overflow related
to the t1_builder_close_contour function in psaux/psobjs.c

From upstream via Arch Linux
OK matthieu@
2017-05-10 08:27:50 +00:00
jsg
a632c2fb0a Merge libdrm 2.4.79 2017-04-14 07:52:10 +00:00
jsg
02337797c5 Import libdrm 2.4.79 2017-04-14 07:45:34 +00:00
jsg
fa6c210034 Merge Mesa 13.0.6 2017-03-25 00:29:27 +00:00
jsg
480cde335b Import Mesa 13.0.6 2017-03-25 00:05:01 +00:00
matthieu
cff04da9bf Update to libX11 1.6.5 2017-02-28 18:44:56 +00:00
jsg
f9668bb900 Merge Mesa 13.0.5 2017-02-26 12:28:55 +00:00
jsg
ba80afc3a0 Import Mesa 13.0.5 2017-02-26 12:06:04 +00:00
matthieu
5b71eebdaa Update to libXi 1.7.9 2017-02-19 17:41:29 +00:00
jsg
6f7c809ebb Merge libdrm 2.4.75 2017-02-05 05:46:41 +00:00
jsg
ae9658c5c0 Import libdrm 2.4.75 2017-02-05 05:38:00 +00:00
stsp
cd197cfa4b Disable the shader cache in Mesa on powerpc. Its implementation uses gcc
atomic builtins on a 64 bit integer which is not supported on 32 bit powerpc.
Makes 3D work again on a PowerBook G4 with an ATI RV350 video card.
tweak and ok jsg@
2017-01-21 11:23:09 +00:00
jsg
97409b6e84 Merge Mesa 13.0.3 2017-01-19 05:53:24 +00:00
jsg
6d4ad6fa4b Import Mesa 13.0.3 2017-01-19 05:38:52 +00:00
matthieu
63b8ae5245 Install new available config files, missed in fontconfig update.
Pointed out by Nils Reusse <n.reusse@hxgn.net>. Thanks.
2017-01-16 22:43:49 +00:00
dcoppa
7a54dc44dc Update to freetype-doc-2.7.1 2017-01-13 11:48:20 +00:00
dcoppa
8c605c12ec Update to FreeType-2.7.1
i386 bulk build by sthen@
amd64 bulk build by naddy@

OK matthieu@
2017-01-13 11:19:58 +00:00
jsg
c503a0e73b Use the unlocked atomic path in Mesa when just __arm__ is defined and
don't assume the builtin atomics are present with __ARM_ARCH_6__ and later
as base gcc with -march=armv6 doesn't have them.
2016-12-31 08:21:39 +00:00
matthieu
1b36c1832c Update to libXpm 3.5.12 2016-12-16 07:28:34 +00:00
jsg
54858cb19b disable additional rules to regen sources when xxd is not found
Found the hard way by Mark Patruck and naddy.  Didn't encounter it here
with a post import build for reasons unknown.
2016-12-11 16:03:25 +00:00
jsg
2047dff595 disable additional rules to regen sources when python is not found
After a cvs import timestamps change which triggers rules that attempt
to call python to regenerate files.  When python is not found this
generates empty files that override those from the distfile, breaking
the build.

When building inside xenocara python is never found as the pkg paths
are not searched.
2016-12-11 10:03:01 +00:00
jsg
e2d9807505 Merge Mesa 13.0.2 2016-12-11 08:53:19 +00:00
jsg
a53e30e01d Import Mesa 13.0.2 2016-12-11 08:25:29 +00:00
jsg
e6d0e0383c Drop the local diff to avoid calling drm set/drop master ioctls,
the kernel implements these as noops now.
2016-12-02 05:41:52 +00:00
jsg
339adf1110 Implement an OpenBSD specific codepath for drmGetDevice
The existing code walks all of /dev looking for different types of drm
nodes.  We just have primary nodes and can directly map the minor number
to a path.

ok kettenis@
2016-11-25 23:58:13 +00:00
jsg
06724bcd2a Implement drmParsePciBusInfo for OpenBSD by using the new
DRM_IOCTL_GET_PCIINFO ioctl.

ok kettenis@
2016-11-25 23:52:06 +00:00
jsg
68ce36bfe8 Implement drmParsePciDeviceInfo for OpenBSD by using the new
DRM_IOCTL_GET_PCIINFO ioctl.

ok kettenis@
2016-11-25 23:48:50 +00:00
jsg
ed28609b08 Implement drmParseSubsystemType for OpenBSD.
Always return DRM_BUS_PCI for now.  No non-pci drm drivers are in the
kernel and this is unlikely to change anytime soon as the existing ones
aren't permissively licensed.

ok kettenis@
2016-11-25 23:44:40 +00:00
jsg
038e48492e Implement drmGetMinorNameForFD for systems without sysfs by adapting
drm_get_device_name_for_fd() from the Mesa loader.

ok kettenis@
2016-11-25 23:41:29 +00:00
tb
750df2fcc6 Fix a copy-paste error that resulted in the parent directory being
chowned instead of only the symlink.

no objections matthieu
2016-11-19 08:45:51 +00:00
jsg
b2fcf88635 Merge libdrm 2.4.73 2016-11-19 05:45:00 +00:00
jsg
90bdad6ae7 Import libdrm 2.4.73 2016-11-19 05:36:14 +00:00
jasper
617afc97af enter xcb-util-xrm/ 2016-11-07 19:31:57 +00:00
jasper
86496c1007 add generated autoconf bits 2016-11-07 19:25:35 +00:00
jasper
1a446edaa5 remove unneeded bits 2016-11-07 19:22:59 +00:00
jasper
44c5a3cdf0 add xcb-util-xrm-1.0
ok matthieu@
2016-11-07 19:20:35 +00:00
matthieu
055e2cd049 Update to xcb-util-cursor to 0.1.3.
This will give applications using this library the same X cursor search path
as the ones that use the legacy libXcursor.
2016-11-03 13:11:40 +00:00
matthieu
21f674944e Update to libXvMC 1.0.10 2016-11-03 12:22:54 +00:00
matthieu
b5b7504b4d Update to libXv 1.0.11 2016-11-03 11:00:48 +00:00
matthieu
ffec5e9271 Update to libXrender 0.9.10 2016-11-03 10:55:16 +00:00
matthieu
20bda1d576 Update to libXrandr 1.5.1 2016-11-03 10:47:58 +00:00
matthieu
47423fcb03 Update to libXfixes 5.0.3 2016-11-03 10:30:05 +00:00
matthieu
20a75c6d0f Update to libX11 1.6.4 2016-11-03 10:21:30 +00:00
matthieu
4c3f151ece Remove stale files 2016-11-03 10:19:11 +00:00
matthieu
0e759a72d7 Update to libXi 1.7.8 2016-11-03 09:28:22 +00:00
matthieu
9a2b6d095b regen 2016-11-02 18:32:01 +00:00
matthieu
9f1ad92005 add Makefile.bsd-wrapper 2016-11-02 18:29:23 +00:00
matthieu
981fa8b5d2 Patch from upstreams to actually let this build 2016-11-02 18:28:30 +00:00
matthieu
0ed8a296d0 Import libXfont2 version 2.0.1 2016-11-02 18:05:49 +00:00
dcoppa
91c5ab3b87 Update to freetype-doc-2.7 2016-10-29 12:07:21 +00:00
dcoppa
737706040f Update to FreeType 2.7
Now Subpixel hinting, also known as ClearType hinting, is enabled
by default.

OK matthieu@
2016-10-28 21:41:14 +00:00
jsg
46fe26bc0b binutils on powerpc now ignores --gc-sections. Remove the local patch
to avoid using it on powerpc from Mesa.

Tested by matthieu@ on macppc.
2016-10-23 06:16:03 +00:00
jsg
512a658c47 Merge libdrm 2.4.71 2016-10-16 06:11:11 +00:00
jsg
d855f0143e Import libdrm 2.4.71 2016-10-16 06:01:17 +00:00
matthieu
fd18c20e72 regen 2016-10-11 22:14:30 +00:00
matthieu
c9d0110642 Force AM_MAINTAINER_MODE in all Xenocara packages built by autotools
This prevents autotools to try to rebuild themselve automagically
if configure.ac, Makefile.am or a few other have more recent time
stamps than the generated files.

It will allows to get rid of the NO_REORDER mechanism that touches
files in the source tree to ensure nothing gets rebuilt.
2016-10-11 21:54:35 +00:00
matthieu
d9fc70eb7c Remove the global 'make includes' step from 'make build'.
This is no longer needed and gets in the way of tightening
permission used during build. ok and suggestions natano@
2016-10-10 13:34:43 +00:00
matthieu
178fb5f1c1 Move headers files to 'GL/' so that the library can be built
without installed headers.
2016-10-10 13:27:14 +00:00
natano
6c14b73344 ks_tables.h is always considered out of date due to the forced rebuild
of the makekeys util. This means it's also rebuilt during install. First
as root during build, later by the BUILDUSER during release, which won't
be able to rewrite it, because it's now owned by root. With this result:

	override rw-r--r--  root/wheel for ks_tables.h?


One step closer towards noperm release builds for xenocara.

ok matthieu
2016-10-08 21:51:47 +00:00
matthieu
dde5cc23a3 Put back the NOPROFILE= that I accidentally removed in previous commit 2016-10-08 19:29:18 +00:00
matthieu
dd04a74464 use the pkg-config support from bsd.xorg.mk to handle
libGLw and libepoxy .pc files rather than manually generating them
as root in postinstall. Spotted by natano@ ok natano@.
2016-10-08 19:09:34 +00:00
matthieu
f8928160a7 Fix package version in fontconfig.pc 2016-10-08 14:09:10 +00:00
matthieu
e61292a300 Avoid buffer underflow on empty strings.
If an empty string is received from an x-server, do not underrun the
buffer by accessing "rep.nameLen - 1" unconditionally, which could end
up being -1.

From Tobias Stoeckmann / X.Org security advisory Oct 4, 2016
2016-10-04 15:11:05 +00:00
matthieu
1e4e5956d0 Protocol handling issues in libXv
The Xv query functions for adaptors and encodings suffer from out of boundary
accesses if a hostile X server sends a maliciously crafted response.

A previous fix already checks the received length against fixed values but
ignores additional length specifications which are stored inside the received
data.

These lengths are accessed in a for-loop. The easiest way to guarantee a
correct processing is by validating all lengths against the remaining size
left before accessing referenced memory.

This makes the previously applied check obsolete, therefore I removed it.

From Tobias Stoeckmann / X.Org security advisory Oct 4, 2016
2016-10-04 15:09:40 +00:00
matthieu
ce0f69616f Out of boundary access and endless loop in libXtst
A lack of range checks in libXtst allows out of boundary accesses.
The checks have to be done in-place here, because it cannot be done
without in-depth knowledge of the read data.

If XRecordStartOfData, XRecordEndOfData, or XRecordClientDied
without a client sequence have attached data, an endless loop would
occur. The do-while-loop continues until the current index reaches
the end. But in these cases, the current index would not be
incremented, leading to an endless processing.

From Tobias Stoeckmann / X.Org security advisory Oct 4, 2016
2016-10-04 15:08:08 +00:00
matthieu
26cabdb32f Validate lengths while parsing server data.
Individual lengths inside received server data can overflow
the previously reserved memory.

It is therefore important to validate every single length
field to not overflow the previously agreed sum of all invidual
length fields.

From Tobias Stoeckmann / X.Org security advisory Oct 4, 2016
2016-10-04 15:05:13 +00:00
matthieu
9f957a9f79 Avoid OOB write in XRenderQueryFilters
The memory for filter names is reserved right after receiving the reply.
After that, filters are iterated and each individual filter name is
stored in that reserved memory.

The individual name lengths are not checked for validity, which means
that a malicious server can reserve less memory than it will write to
during each iteration.

From Tobias Stoeckmann / X.Org security advisory Oct 4, 2016
2016-10-04 15:03:48 +00:00
matthieu
aebb61b811 Avoid out of boundary accesses on illegal responses
The responses of the connected X server have to be properly checked
to avoid out of boundary accesses that could otherwise be triggered
by a malicious server.

From Tobias Stoeckmann / X.Org security advisory Oct 4, 2016
2016-10-04 15:02:31 +00:00
matthieu
342b1570d2 Properly validate server responses
By validating length fields from server responses, out of boundary
accesses and endless loops can be mitigated.

From Tobias Stoeckmann / X.Org security advisory Oct 4, 2016
2016-10-04 15:01:03 +00:00
matthieu
269364ad66 Integer overflow on illegal server response
The 32 bit field "rep.length" is not checked for validity, which allows
an integer overflow on 32 bit systems.

A malicious server could send INT_MAX as length, which gets multiplied
by the size of XRectangle. In that case the client won't read the whole
data from server, getting out of sync.

From Tobias Stoeckmann / X.Org security advisory Oct 4, 2016
2016-10-04 14:59:47 +00:00
matthieu
89e55bbf5a Validation of server responses in XGetImage()
Check if enough bytes were received for specified image type and
geometry. Otherwise GetPixel and other functions could trigger an
out of boundary read later on.
From Tobias Stoeckmann / X.Org security advisory Oct 4, 2016
2016-10-04 14:58:26 +00:00
matthieu
bd2560e2ec The validation of server responses avoids out of boundary accesses.
From Tobias Stoeckmann / Xorg Securiry adrvisory Oct 4, 2016.
2016-10-04 14:56:37 +00:00
matthieu
c542153d63 revert pixman-vmx.c to the version of pixman-0.32.8.
gcc 4.2 is not able to compile the new version.
XXX switch back to 0.34 once macppc switches to clang.
2016-10-03 06:57:44 +00:00
matthieu
71be0511eb Fix installation of libXaw.so.15.0 link. 2016-10-02 19:11:16 +00:00
matthieu
321b9b9f5f regen 2016-10-02 17:17:04 +00:00
matthieu
b0eedeca6e Handle the libXaw.so.xx.y symlink in afterinstall: in Makefile.bsd-wrapper
No more diffs with upstreams in autoconf files;
owneship of links for non-root/noperm installs is handled too.
2016-10-02 17:16:31 +00:00
matthieu
f086547c98 regen 2016-10-02 10:30:28 +00:00
matthieu
d9e10c2579 Remove local patch for platforms without shared libs 2016-10-02 10:30:06 +00:00
matthieu
99edbe0a23 Reduce diffs with upstreams 2016-10-02 10:00:36 +00:00
tb
da27f01d12 Set owner and group of the XScreenSaver(3) manpage symlink.
Needed for noperm release.

ok matthieu
2016-10-02 09:28:53 +00:00
tb
c3666a91f0 chown -h symbolic links in conf.d. Needed for noperm release.
There are a few remaining symlinks that will be fixed later.

ok matthieu
2016-10-02 09:19:28 +00:00
matthieu
cb8938ecc4 Update to pixman 0.34.0. 2016-10-01 10:17:43 +00:00
matthieu
02593ff9e1 pixman: upstreams tarballs contain an empty ChangeLog.
So remove what we have here. Less gratuitous local changes.
2016-09-25 10:31:16 +00:00
matthieu
3e22cb884a Update to libXfont 1.5.2 2016-09-02 11:00:05 +00:00
matthieu
778b53e347 Update to xcb-proto/libxcb 1.12. "Just commit it" naddy@ 2016-09-02 10:09:43 +00:00
jsg
e0e6b146d2 remove sparc 2016-09-01 10:37:40 +00:00
deraadt
1667ad0b71 extra space 2016-08-09 19:40:13 +00:00
matthieu
6219851df2 Update to fontconfig 2.12.1.
Tested by krw@, dcoppa@, ok dcoppa@.
2016-08-09 18:57:41 +00:00
tedu
1cfa6ba9b5 just dump the major. freetype changes probably extend beyond just the
obviously visible symbol additions.
2016-08-09 17:41:23 +00:00
dcoppa
739881e349 Re-add binary files using 'cvs add -kb' 2016-08-09 08:16:45 +00:00
dcoppa
662d4e30c2 Remove binary files 2016-08-09 08:13:56 +00:00
dcoppa
1d43045a90 Update to freetype-doc-2.6.5 2016-08-09 07:53:52 +00:00
dcoppa
7513b427d4 Update to FreeType 2.6.5
ok matthieu@
2016-08-09 07:16:08 +00:00
matthieu
0d928c6a2e Update to libXi 1.7.6 2016-08-06 09:56:28 +00:00
matthieu
7a95b9000b Update to libXfixes 5.0.2. No functional changes. 2016-08-06 09:51:36 +00:00
kettenis
4159a76ad9 Disable the code that allocates W|X memory. There is fallback code that
gets used if allocating W|X memory fails, which is probably a bit slower.
However, that is much better than commit a W^X violation which currently
gets you killed.

ok jca@
2016-07-25 20:12:06 +00:00
dcoppa
84ff959861 Update to freetype-doc-2.6.3 2016-05-30 08:28:23 +00:00
dcoppa
bd5c5e0b0d "javascript" renamed to "js" 2016-05-30 08:22:54 +00:00
dcoppa
fc2035f145 "javascript" renamed to "js" 2016-05-30 08:22:04 +00:00
dcoppa
558b65489d bump freetype major 2016-05-29 12:29:25 +00:00
dcoppa
04fa58073a Bump following freetype update.
Suggested by sthen@

ok sthen@, naddy@, matthieu@
2016-05-29 11:59:59 +00:00
dcoppa
ebfdec871f Update to FreeType 2.6.3
ok sthen@, naddy@, matthieu@
2016-05-29 11:57:09 +00:00
jsg
363dd58b73 Merge Mesa 11.2.2 2016-05-29 10:40:19 +00:00
jsg
f8d9379ca7 Import Mesa 11.2.2 2016-05-29 10:11:54 +00:00
kettenis
3c6443a9bb Make sure we authenticate before calling loader_get_driver_for_fd(). This
function invokes some drm ioctls that require the client to be authenticated.

tested by espie@
ok jsg@
2016-04-20 12:23:56 +00:00
jsg
b96f098cef remove XENOCARA_BUILD_PIXMAN all platforms now build pixman 2016-04-01 03:15:15 +00:00
jsg
92b7ec9f80 Merge libdrm 2.4.67 2016-03-20 10:41:29 +00:00
jsg
b8626cd659 Import libdrm 2.4.67 2016-03-20 10:19:44 +00:00
jsg
d29159d31f test some more __ARM_ARCH_* builtin defines 2016-03-18 14:38:03 +00:00
matthieu
fc89427fc0 Enable atomics operations for fontconfig on mips64 and mips64el.
ok kettenis@
2016-03-13 20:23:35 +00:00
okan
27f67406f3 Remove support vax and XENOCARA_HAVE_SHARED_LIBS scaffolding.
ok matthieu@
2016-03-11 13:09:42 +00:00
matthieu
06764a7ecd Update to libXrandr 1.5.0 2016-03-06 13:37:21 +00:00
jsg
dfa30dc686 Back out rev 1.3 and use __sync builtins on alpha. gcc no longer
triggers an ICE with p_atomic_cmpxchg/__sync_val_compare_and_swap.

Tested by matthieu.
2016-02-28 04:44:02 +00:00
matthieu
688f9b80ed On alpha with -O2 gcc gets an ICE on 2 files.
With help of jsg@
2016-02-20 10:49:47 +00:00
matthieu
ea648fa9c3 alpha lacks p_atomic_cmpxchg() switch to non atomic ops 2016-02-20 10:48:24 +00:00
jsg
ff4b8fa034 Don't depend on indirect inclusion to pick up endian.h and define
BYTE_ORDER.  Tested by and ok visa@ mpi@
2016-02-19 04:57:02 +00:00
jsg
347afd8071 Disable another make rule requiring python that could trigger if the
timestamps are wrong.  We always want to use the generated sources
provided with Mesa releases.  Encountered by tobias.
2016-02-18 13:57:22 +00:00
jsg
9eeb07a50d Merge Mesa 11.0.9 2016-01-24 01:21:23 +00:00
jsg
f83fcc6f8e Import Mesa 11.0.9 2016-01-24 00:59:28 +00:00
jsg
8d4acd4c62 Disable reading of drirc files by default so chromium processes
with OpenGL contexts can drop the ability to read files.

Diff from robert@ with a comment added.

ok robert@ deraadt@
2016-01-07 23:41:25 +00:00
dcoppa
8b6c7dfac5 Sync freetype-doc with freetype, i.e. update freetype-doc to
ver. 2.6.2

ok matthieu@
2016-01-02 16:30:55 +00:00
jsg
8f9a563a62 Merge libdrm 2.4.65 2015-12-27 09:16:53 +00:00
jsg
0733b38856 Import libdrm 2.4.65 2015-12-27 08:58:00 +00:00
dcoppa
1cd20ba8aa Remove bogus file.
ok matthieu@
2015-12-25 19:06:01 +00:00
matthieu
8f7e2085cc Do no overwrite the installed Unix ftconfig.h with the ANSI one.
ok dcoppa@
2015-12-25 11:54:40 +00:00
jsg
a06be69de2 Merge Mesa 11.0.8 2015-12-23 13:43:05 +00:00
jsg
9efbf61fd8 Import Mesa 11.0.8
This seems to fix some of the problems with clutter/gnome reported to
occur on r600 with 11.0.6
2015-12-23 13:18:51 +00:00
jsg
e9f73a2005 remove now unused local build system for Mesa 2015-12-23 05:06:01 +00:00
jsg
bf795ce77a Build the gallium software rasteriser (softpipe). This avoids a problem
mpi found where the r300 driver would not load on macppc due to an
undefined drisw_create_screen symbol.

The code related to that symbol was removed sometime after Mesa 11.0
branched.

Initial diff from and ok mpi@
2015-12-20 12:31:01 +00:00
jsg
1ff7fe0da7 Set the configure option to enable floating point textures.
While the i965 driver enables support unconditionally other drivers
such as r600 require this before they will claim to support OpenGL 3.x
2015-12-20 12:15:55 +00:00