Fwd: Bug#729337: xorg-server: FTBFS: preprocessor macro R_SP conflict with glibc headers

2013-11-12 Thread Geert Uytterhoeven
/2013225718.23696.24577.report...@ara3.mirbsd.org Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just

Re: [PATCH:xdm 1/2] Add a cast to avoid a compiler error.

2013-06-29 Thread Geert Uytterhoeven
On Sat, Jun 29, 2013 at 3:50 PM, Thomas Klausner w...@netbsd.org wrote: On Fri, Jun 28, 2013 at 09:00:51PM +0200, Geert Uytterhoeven wrote: On Fri, Jun 28, 2013 at 7:35 PM, Thomas Klausner w...@netbsd.org wrote: - if (atomicio(write, fd, msg, sizeof(msg)) != sizeof(msg

Re: [PATCH:xdm 1/2] Add a cast to avoid a compiler error.

2013-06-28 Thread Geert Uytterhoeven
wrapping write() in a function that takes care of casting the second parameter of the function? Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux-m68k.org In personal conversations with technical people, I call myself

[PATCH] Shadow: Switch the Amiga/Atari bitplane code to the canonical X.Org license

2013-05-14 Thread Geert Uytterhoeven
Also add my name to the list of authors in COPYING Suggested-by: Alan Coopersmith alan.coopersm...@oracle.com Signed-off-by: Geert Uytterhoeven ge...@linux-m68k.org Cc: Keith Packard kei...@keithp.com --- Alternative pull request: The following changes since commit

Re: [PATCH 00/18] Xfbdev Atari and Amiga support

2013-04-25 Thread Geert Uytterhoeven
impossible to hit, as all calls to the c2p functions use hardcoded parameters. I'm just a bit afraid that adding real error handling will slow down the code. Can it be dependent on DEBUG or so? Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32

Re: [PATCH 00/18] Xfbdev Atari and Amiga support

2013-04-25 Thread Geert Uytterhoeven
Hi Alan, On Thu, Apr 25, 2013 at 7:42 AM, Alan Coopersmith alan.coopersm...@oracle.com wrote: On 04/24/13 10:28 PM, Geert Uytterhoeven wrote: On Thu, Apr 25, 2013 at 7:23 AM, Alan Coopersmith alan.coopersm...@oracle.com wrote: On 04/24/13 10:00 PM, Keith Packard wrote: Alan Coopersmith

Re: [PATCH 00/18] Xfbdev Atari and Amiga support

2013-04-18 Thread Geert Uytterhoeven
Hi Keith. On Mon, Apr 8, 2013 at 8:10 PM, Keith Packard kei...@keithp.com wrote: Geert Uytterhoeven ge...@linux-m68k.org writes: This patch series revives some of the support for Atari and Amiga that existed in XF68_FBDev, but got lost after XFree86 3.x. I've reviewed the patches which may

Re: [PATCH 07/18] Xfbdev: Handle unset var.bits_per_pixel

2013-04-08 Thread Geert Uytterhoeven
On Mon, Apr 8, 2013 at 6:47 PM, Keith Packard kei...@keithp.com wrote: Geert Uytterhoeven ge...@linux-m68k.org writes: Older frame buffer devices may not fill in var.bits_per_pixel, in which case it must be calculated by the application. I think you mean 'fix.line_length' here. Woops

Re: [PATCH 09/18] Xfbdev: Treat 1 bpp pseudocolor as monochrome

2013-04-08 Thread Geert Uytterhoeven
On Mon, Apr 8, 2013 at 6:55 PM, Keith Packard kei...@keithp.com wrote: Geert Uytterhoeven ge...@linux-m68k.org writes: miCreateDefColormap() only preallocates black and white pixels if depth 1. I think you should also set pScreen-whitePixel and pScreen-blackPixel to match the MONO01

[PATCH 02/18] miext/shadow/shpacked.c: Remove unused PickBit() define

2013-03-27 Thread Geert Uytterhoeven
Signed-off-by: Geert Uytterhoeven ge...@linux-m68k.org --- miext/shadow/shpacked.c |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/miext/shadow/shpacked.c b/miext/shadow/shpacked.c index d2b2e5e..5ef18f8 100644 --- a/miext/shadow/shpacked.c +++ b/miext/shadow/shpacked.c

[PATCH 03/18] [RFC] mi: Avoid division by zero errors in miInitializeColormap()

2013-03-27 Thread Geert Uytterhoeven
and white pixels if depth 1. Signed-off-by: Geert Uytterhoeven ge...@linux-m68k.org --- mi/micmap.c |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/mi/micmap.c b/mi/micmap.c index 3ef0c8c..c02596b 100644 --- a/mi/micmap.c +++ b/mi/micmap.c @@ -138,13 +138,13

[PATCH 04/18] test/input: Fix double-aligned test in dix_valuator_alloc() on m68k

2013-03-27 Thread Geert Uytterhoeven
On m68k, doubles are not 64-bit aligned, just like on i386 and sh. Signed-off-by: Geert Uytterhoeven ge...@linux-m68k.org --- test/input.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/test/input.c b/test/input.c index 90ab9ae..e2c8f4d 100644 --- a/test/input.c +++ b

[PATCH 06/18] Xfbdev: Make char *fbdevDevicePath const

2013-03-27 Thread Geert Uytterhoeven
This fixes: hw/kdrive/fbdev/fbdev.c: In function 'fbdevInitialize': hw/kdrive/fbdev/fbdev.c:41:25: warning: assignment discards 'const' qualifier from pointer target type [enabled by default] Signed-off-by: Geert Uytterhoeven ge...@linux-m68k.org --- hw/kdrive/fbdev/fbdev.c |2 +- hw

[PATCH 05/18] KDrive: Bail out if screen initialization failed

2013-03-27 Thread Geert Uytterhoeven
Else we may get a segmentation fault later. Signed-off-by: Geert Uytterhoeven ge...@linux-m68k.org --- hw/kdrive/src/kdrive.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/hw/kdrive/src/kdrive.c b/hw/kdrive/src/kdrive.c index 716f18e..84d39bb 100644 --- a/hw/kdrive

[PATCH 10/18] Shadow: Add c2p core

2013-03-27 Thread Geert Uytterhoeven
Add Chunky-to-Planar core functionality, to be used by the Atari and Amiga (interleaved) bitplanes code. Signed-off-by: Geert Uytterhoeven ge...@linux-m68k.org --- miext/shadow/c2p_core.h | 184 +++ 1 files changed, 184 insertions(+), 0 deletions

[PATCH 07/18] Xfbdev: Handle unset var.bits_per_pixel

2013-03-27 Thread Geert Uytterhoeven
Older frame buffer devices may not fill in var.bits_per_pixel, in which case it must be calculated by the application. Signed-off-by: Geert Uytterhoeven ge...@linux-m68k.org --- hw/kdrive/fbdev/fbdev.c |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/hw/kdrive/fbdev

[PATCH 08/18] Xfbdev: Add support for monochrome visuals

2013-03-27 Thread Geert Uytterhoeven
Monochrome supports StaticGray, with hardcoded black and white pixels. Signed-off-by: Geert Uytterhoeven ge...@linux-m68k.org --- hw/kdrive/fbdev/fbdev.c | 24 1 files changed, 24 insertions(+), 0 deletions(-) diff --git a/hw/kdrive/fbdev/fbdev.c b/hw/kdrive/fbdev

[PATCH 09/18] Xfbdev: Treat 1 bpp pseudocolor as monochrome

2013-03-27 Thread Geert Uytterhoeven
miCreateDefColormap() only preallocates black and white pixels if depth 1. Signed-off-by: Geert Uytterhoeven ge...@linux-m68k.org --- hw/kdrive/fbdev/fbdev.c | 10 ++ 1 files changed, 6 insertions(+), 4 deletions(-) diff --git a/hw/kdrive/fbdev/fbdev.c b/hw/kdrive/fbdev/fbdev.c index

[PATCH 18/18] Xfbdev: Wire up Amiga afb4 and afb8 support

2013-03-27 Thread Geert Uytterhoeven
Add support for Amiga-style bitplanes, with 4 or 8 bits per pixel. Signed-off-by: Geert Uytterhoeven ge...@linux-m68k.org --- hw/kdrive/fbdev/fbdev.c | 30 +- 1 files changed, 29 insertions(+), 1 deletions(-) diff --git a/hw/kdrive/fbdev/fbdev.c b/hw/kdrive/fbdev

[PATCH 13/18] Shadow: Add support for Amiga afb4

2013-03-27 Thread Geert Uytterhoeven
Add support for Amiga-style bitplanes, with 4 bits per pixel. Signed-off-by: Geert Uytterhoeven ge...@linux-m68k.org --- miext/shadow/Makefile.am |1 + miext/shadow/shadow.h|3 + miext/shadow/shafb4.c| 139 ++ 3 files changed, 143

[PATCH 15/18] Xfbdev: Reject unsupported frame buffer types

2013-03-27 Thread Geert Uytterhoeven
Signed-off-by: Geert Uytterhoeven ge...@linux-m68k.org --- hw/kdrive/fbdev/fbdev.c | 75 +++--- 1 files changed, 50 insertions(+), 25 deletions(-) diff --git a/hw/kdrive/fbdev/fbdev.c b/hw/kdrive/fbdev/fbdev.c index ebbfeb9..f31635d 100644 --- a/hw

[PATCH 17/18] Xfbdev: Wire up Atari iplan2p4 and iplan2p8 support

2013-03-27 Thread Geert Uytterhoeven
Add support for Atari-style interleaved bitplanes, with 2 bytes interleave and 4 or 8 bits per pixel. Signed-off-by: Geert Uytterhoeven ge...@linux-m68k.org --- hw/kdrive/fbdev/fbdev.c | 19 ++- 1 files changed, 18 insertions(+), 1 deletions(-) diff --git a/hw/kdrive/fbdev

[PATCH 12/18] Shadow: Add support for Atari iplan2p8

2013-03-27 Thread Geert Uytterhoeven
Add support for Atari-style interleaved bitplanes, with 2 bytes interleave and 8 bits per pixel. Signed-off-by: Geert Uytterhoeven ge...@linux-m68k.org --- miext/shadow/Makefile.am |1 + miext/shadow/shadow.h |3 + miext/shadow/shiplan2p8.c | 137

[PATCH 16/18] Xfbdev: Force shadowfb for frame buffers with non-packed pixels

2013-03-27 Thread Geert Uytterhoeven
Signed-off-by: Geert Uytterhoeven ge...@linux-m68k.org --- hw/kdrive/fbdev/fbdev.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/hw/kdrive/fbdev/fbdev.c b/hw/kdrive/fbdev/fbdev.c index f31635d..52dfbf5 100644 --- a/hw/kdrive/fbdev/fbdev.c +++ b/hw/kdrive/fbdev/fbdev.c

[PATCH 11/18] Shadow: Add support for Atari iplan2p4

2013-03-27 Thread Geert Uytterhoeven
Add support for Atari-style interleaved bitplanes, with 2 bytes interleave and 4 bits per pixel. Signed-off-by: Geert Uytterhoeven ge...@linux-m68k.org --- miext/shadow/Makefile.am |1 + miext/shadow/shadow.h |3 + miext/shadow/shiplan2p4.c | 136

Re: [PATCH 04/18] test/input: Fix double-aligned test in dix_valuator_alloc() on m68k

2013-03-27 Thread Geert Uytterhoeven
{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say programmer or something like

Re: [PATCH 4/6] xfree86: Keep trying to set interface on drm for 2 seconds.

2013-03-22 Thread Geert Uytterhoeven
; POSIX.1 explicitly specifies that it does not interact with signals; and it makes the task of resuming a sleep that has been inter- rupted by a signal handler easier. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge

Re: [PULL] -next for 1.15

2013-03-18 Thread Geert Uytterhoeven
committed the patch below, but I don't know how to test it... From df9b47ee3e07b99d013926080963104098f2d319 Mon Sep 17 00:00:00 2001 From: Geert Uytterhoeven ge...@linux-m68k.org Date: Fri, 22 Feb 2013 13:28:28 +0100 Subject: [PATCH] Xfbdev: revive randr new screen size logic hw/kdrive/fbdev/fbdev.c

[PATCH] test/input: Replace negative architecture test by test for 64-bit

2013-02-12 Thread Geert Uytterhoeven
-by: Geert Uytterhoeven ge...@linux-m68k.org --- Untested for now test/input.c | 10 +- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/test/input.c b/test/input.c index be988a4..ed29bdc 100644 --- a/test/input.c +++ b/test/input.c @@ -1384,11 +1384,11 @@ dix_valuator_alloc(void

Re: [PATCH] test/input: Replace negative architecture test by test for 64-bit

2013-02-12 Thread Geert Uytterhoeven
On Tue, Feb 12, 2013 at 1:40 PM, Mark Kettenis mark.kette...@xs4all.nl wrote: From: Geert Uytterhoeven ge...@linux-m68k.org Date: Tue, 12 Feb 2013 11:17:22 +0100 The test for double-aligned members in dix_valuator_alloc() currently depends on if !defined(__i386__) !defined(__sh__