[pkg-fso-maint] Bug#614453: xf86-video-glamo: FTBFS: edid.h:605: error: type of bit-field 'portB' is a GCC extension
Julien Cristau
jcristau at debian.org
Tue Feb 22 16:28:02 UTC 2011
On Tue, Feb 22, 2011 at 03:58:20 +0100, Gabriele Giacone wrote:
> diff --git a/src/Makefile.am b/src/Makefile.am
> index 59e88a9..b402e1d 100644
> --- a/src/Makefile.am
> +++ b/src/Makefile.am
> @@ -23,7 +23,7 @@
> # -avoid-version prevents gratuitous .0.0.0 version numbers on the end
> # _ladir passes a dummy rpath to libtool so the thing will actually link
> # TODO: -nostdlib/-Bstatic/-lgcc platform magic, not installing the .a, etc.
> -AM_CFLAGS = @XORG_CFLAGS@ @DRI_CFLAGS@ -pedantic -Wall -Werror -std=gnu99
> +AM_CFLAGS = @XORG_CFLAGS@ -isystem /usr/include/xorg @DRI_CFLAGS@ -pedantic -Wall -Werror -Wno-deprecated-declarations -std=gnu99
> glamo_drv_la_LTLIBRARIES = glamo_drv.la
> glamo_drv_la_LDFLAGS = -module -avoid-version @LIBDRM_LIBS@
> glamo_drv_ladir = @moduledir@/drivers
That seems broken. Why not just drop the -Werror or -pedantic? Or we
could use something other than 'unsigned char' for those bitfields in
the server...
Cheers,
Julien
More information about the pkg-fso-maint
mailing list