rpms/xorg-x11-drv-ati/devel radeon-modeset.patch,1.3,1.4

Dave Airlie (airlied) fedora-extras-commits at redhat.com
Tue Aug 5 06:40:50 UTC 2008


Author: airlied

Update of /cvs/pkgs/rpms/xorg-x11-drv-ati/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv15770

Modified Files:
	radeon-modeset.patch 
Log Message:
fix another build issue


radeon-modeset.patch:

Index: radeon-modeset.patch
===================================================================
RCS file: /cvs/pkgs/rpms/xorg-x11-drv-ati/devel/radeon-modeset.patch,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- radeon-modeset.patch	5 Aug 2008 06:10:57 -0000	1.3
+++ radeon-modeset.patch	5 Aug 2008 06:40:20 -0000	1.4
@@ -1,15 +1,16 @@
 diff --git a/configure.ac b/configure.ac
-index b8c18a6..03f7c3e 100644
+index b8c18a6..a7e954d 100644
 --- a/configure.ac
 +++ b/configure.ac
-@@ -115,6 +115,13 @@ if test "$DRI" = yes; then
+@@ -115,6 +115,14 @@ if test "$DRI" = yes; then
  	if test "$have_damage_h" = yes; then
  		AC_DEFINE(DAMAGE,1,[Use Damage extension])
  	fi
 +
 +        save_CFLAGS="$CFLAGS"
 +        CFLAGS="$XORG_CFLAGS $DRI_CFLAGS"
-+        AC_CHECK_HEADER(xf86drmMode.h,[DRM_MODE=yes],[DRM_MODE=no],[#include "stdint.h"])
++        AC_CHECK_HEADER(xf86drmMode.h,[DRM_MODE=yes],[DRM_MODE=no],[#include <stdint.h>
++#include <stdlib.h>])
 +        if test "x$DRM_MODE" = xyes; then
 +                AC_DEFINE(XF86DRM_MODE,1,[DRM kernel modesetting])
 +        fi




More information about the fedora-extras-commits mailing list