[PATCH][libxshmfence] configure.ac: call AC_USE_SYSTEM_EXTENSIONS

2018-01-29 Thread Ross Burton
With glibc 2.27 memfd_create() is inside a _GNU_SOURCE guard, so call AC_USE_SYSTEM_EXTENSIONS to get this defined. Signed-off-by: Ross Burton --- configure.ac | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configure.ac b/configure.ac index 0c98875..ebf4dee 100644 --- a/configure.ac

[PATCH libX11] Allow overriding location of keysymdef.h

2012-09-11 Thread Ross Burton
erify that the specified or found path exists. (original patch by Martin Jansa , revised by myself) Signed-off-by: Ross Burton --- configure.ac | 13 - 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 48a0c8a..200db15 100644 --- a/configu

[PATCH V2] Allow overriding location of keysymdef.h

2012-09-12 Thread Ross Burton
erify that the specified or found path exists. (original patch by Martin Jansa , revised by myself) Signed-off-by: Ross Burton --- configure.ac | 10 +- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 48a0c8a..a45f9d9 100644 --- a/configu

[PATCH libX11] Add missing NULL checks to ICWrap

2015-05-18 Thread Ross Burton
-by: Ross Burton --- src/xlibi18n/ICWrap.c | 15 +-- 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/src/xlibi18n/ICWrap.c b/src/xlibi18n/ICWrap.c index 8c1b4a0..69f080d 100644 --- a/src/xlibi18n/ICWrap.c +++ b/src/xlibi18n/ICWrap.c @@ -169,7 +169,7 @@ XSetIMValues(XIM im

[PATCH libXt] Fix builds on X32

2015-05-18 Thread Ross Burton
The x86 X32 ABI is a 32-bit environment on 64-bit processors, so __amd64__ is defined but pointers and longs are 32-bit. Handle this case by also checking __LP64__. Signed-off-by: Ross Burton --- include/X11/Xtos.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/X11

[PATCH] compiler.h: only use inx/outx on ARM with glibc

2018-09-20 Thread Ross Burton
musl only implements inx/outx on x86, so check for __GLIBC__ instead of __linux__. Signed-off-by: Ross Burton --- hw/xfree86/common/compiler.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hw/xfree86/common/compiler.h b/hw/xfree86/common/compiler.h index 7144c6a27

[PATCH][libXft] xftglyphs: use recommend freetype inclusion

2013-12-02 Thread Ross Burton
FreeType recommends to use their special macros to include the headers, because it gives them the ability to move headers around. They did this in 2.5.1 (yes, a point release) and this direct inclusion doesn't work anymore. Signed-off-by: Ross Burton --- src/xftglyphs.c | 8 1

[PATCH][font/util] fontutil.m4.in: use $PKG_CONFIG instead of pkg-config

2013-12-09 Thread Ross Burton
Instead of assuming that pkg-config is on the path, require PKG_PROG_PKG_CONFIG to be called and use $PKG_CONFIG. Signed-off-by: Ross Burton --- fontutil.m4.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fontutil.m4.in b/fontutil.m4.in index 98f4781..ff2f053 100644

[PATCH] configure.ac: add option for xshmfence

2014-07-07 Thread Ross Burton
xshmfence is usable outside of DRI3, and is currently autodetected which isn't good for distributions where deterministic builds are aspired to. Signed-off-by: Ross Burton --- configure.ac | 20 +++- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/configure

[PATCH][V2][xserver] configure.ac: add option for xshmfence

2014-07-08 Thread Ross Burton
xshmfence is usable outside of DRI3, and is currently autodetected which isn't good for distributions where deterministic builds are aspired to. Signed-off-by: Ross Burton --- configure.ac | 22 +- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/configu

[PATCH][V3][xserver] configure.ac: add option for xshmfence

2014-07-08 Thread Ross Burton
xshmfence is usable outside of DRI3, and is currently autodetected which isn't good for distributions where deterministic builds are desired. Signed-off-by: Ross Burton --- configure.ac | 22 +- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/configure

[PATCH][V4][xserver] configure.ac: add option for xshmfence

2014-07-09 Thread Ross Burton
Hi, Changes since v3: - XSHMFENCE variable renamed to LIBXSHMFENCE - WANT_XSHMFENCE renamed to XSHMFENCE - DRI3+xshmfence check correctly using XSHMFENCE not HAVE_XSHMFENCE - Use LIBXSHMFENCE in REQUIRED_LIBS Ross ___ xorg-devel@lists.x.org: X.Org devel

[PATCH][V4][xserver] configure.ac: add option for xshmfence

2014-07-09 Thread Ross Burton
xshmfence is usable outside of DRI3, and is currently autodetected which isn't good for distributions where deterministic builds are desired. Signed-off-by: Ross Burton --- configure.ac | 26 +++--- 1 file changed, 15 insertions(+), 11 deletions(-) diff --

[PATCH] edid: Add quirk for Acer Aspire One 110

2011-09-27 Thread Ross Burton
At least one revision of the AAO reports a 190x110mm maximum size but a 451x113mm mode. X.Org Bug 41141 --- hw/xfree86/modes/xf86EdidModes.c |5 + 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/hw/xfree86/modes/xf86EdidM

[PATCH] edid: Add quirk for Acer Aspire One 110

2011-09-28 Thread Ross Burton
At least one revision of the AAO reports a 190x110mm maximum size but a 451x113mm mode. X.Org Bug 41141 <https://bugs.freedesktop.org/show_bug.cgi?id=41141> Signed-off-by: Ross Burton --- hw/xfree86/modes/xf86EdidModes.c |5 + 1 files changed, 5 insertions(+), 0 deletions(-)

Re: [PATCH] edid: Add quirk for Acer Aspire One 110

2011-09-28 Thread Ross Burton
On Wed, 2011-09-28 at 10:12 -0700, Jeremy Huddleston wrote: > Candidate for 1.11 > > Reviewed-by: Jeremy Huddleston > > Is there anyone who can do a Tested-by? I'm trying to get this patch on the original bug reporters machine to test it, because we don't have any machines with this problem ava

[PATCH] build: dont use AC_CHECK_FILE when enabling DRI

2012-12-03 Thread Ross Burton
Automatically enabling or disabling a feature based on installed files isn't deterministic, and AC_CHECK_FILE returns an error when cross-compiling. Fix this by enabling DRI by default, and removing the explicit file checks as pkg-config is good enough. (#57606) Signed-off-by: Ross B

Re: [PATCH] build: dont use AC_CHECK_FILE when enabling DRI

2012-12-03 Thread Ross Burton
Whoops, should have amended the subject. It's the MGA driver. Daniel Stone has already said that I should use AC_CHECK_HEADERS and replicate the existing logic so they'll be a v2 soon. Ross -- Ross Burton Sent with Sparrow (http://www.sparrowmailapp.com/?sig) On Monday, 3 Decemb

[PATCH] build: dont use AC_CHECK_FILE when enabling DRI

2013-07-31 Thread Ross Burton
Automatically enabling or disabling a feature based on installed files isn't deterministic, and AC_CHECK_FILE returns an error when cross-compiling. Fix this by enabling DRI by default, and removing the explicit file checks as pkg-config is good enough. (#57606) Signed-off-by: Ross B

[PATCH][xf86-video-mga] build: dont use AC_CHECK_FILE when enabling DRI

2013-07-31 Thread Ross Burton
Automatically enabling or disabling a feature based on installed files isn't deterministic, and AC_CHECK_FILE returns an error when cross-compiling. Fix this by enabling DRI by default, and removing the explicit file checks as pkg-config is good enough. (#57606) Signed-off-by: Ross B

[PATCH][vmware] build: add explicit option to enable/disable VMWGFX

2013-09-12 Thread Ross Burton
Signed-off-by: Ross Burton --- configure.ac | 31 ++- 1 file changed, 14 insertions(+), 17 deletions(-) diff --git a/configure.ac b/configure.ac index dccfb27..5fc34fb 100644 --- a/configure.ac +++ b/configure.ac @@ -85,11 +85,6 @@ PKG_CHECK_EXISTS([xorg-server

[PATCH][util/macros] xorg-macros.m4.in: use the autoconf cache for XORG_CHECK_MALLOC_ZERO

2013-10-10 Thread Ross Burton
Improve configure speed by checking the autoconf cache before compiling and running the test. As this means cross-compilation environments can trivially seed this cache as appropriate, remove the cross-compiling value (which for embedded systems using uclibc is wrong). Signed-off-by: Ross Burton

[PATCH][util-macros][V2] xorg-macros.m4.in: remove option, use autoconf cache for XORG_CHECK_MALLOC_ZERO

2013-10-11 Thread Ross Burton
configure option as the autoconf site cache is a better way of setting this value for cross-compiled environments. Signed-off-by: Ross Burton --- xorg-macros.m4.in | 21 ++--- 1 file changed, 6 insertions(+), 15 deletions(-) diff --git a/xorg-macros.m4.in b/xorg-macros.m4.in index