Patch to fix some build errors/warnings

Soeren Sandmann sandmann at redhat.com
Tue Jun 14 10:33:11 PDT 2005


Stefan Dirsch wrote:

>lib/XRes/configure.ac:
>* XRes.c:17:33: error: X11/extensions/XRes.h: No such file or directory
>
>  
>
[...]

>--- /usr/local/src/xorg/xorg-modular/lib/XRes/configure.ac	2005-06-07 20:51:22.000000000 +0200
>+++ lib/XRes/configure.ac	2005-06-08 10:53:06.000000000 +0200
>@@ -56,7 +56,7 @@
> 	GCC_WARNINGS="-Wall -Wpointer-arith -Wstrict-prototypes \
> 	-Wmissing-prototypes -Wmissing-declarations \
> 	-Wnested-externs -fno-strict-aliasing"
>-	CFLAGS="$GCC_WARNINGS $CFLAGS"
>+	CFLAGS="$GCC_WARNINGS $CFLAGS -I`pwd`/include"
> fi
>  
>
This one should be fixed now. I added an INCLUDES line with 
$(top_srcdir)/include
to XRes/src/Makefile.am.


Søren


More information about the xorg-modular mailing list