Author: igor
Date: Thu Jun 26 10:54:19 2014
New Revision: 2923

Log:
fix mesa configure script to support dri2 without libudev on linux systems

Added:
   trunk/MesaLib/MesaLib-10.2.2-no_libudev-1.patch

Added: trunk/MesaLib/MesaLib-10.2.2-no_libudev-1.patch
==============================================================================
--- /dev/null   00:00:00 1970   (empty, because file is newly added)
+++ trunk/MesaLib/MesaLib-10.2.2-no_libudev-1.patch     Thu Jun 26 10:54:19 
2014        (r2923)
@@ -0,0 +1,24 @@
+Submitted By:            Igor Živković
+Date:                    2014-06-26
+Initial Package Version: 10.2.2
+Upstream Status:         Rejected
+Origin:                  http://patchwork.ozlabs.org/patch/346792/
+Description:             Checks for libudev only for DRI3 allowing DRI2 support
+                         without libudev.
+
+diff -Naur Mesa-10.2.2.orig/configure.ac Mesa-10.2.2/configure.ac
+--- Mesa-10.2.2.orig/configure.ac      2014-06-25 06:33:39.000000000 +0200
++++ Mesa-10.2.2/configure.ac   2014-06-26 19:44:17.581536336 +0200
+@@ -1011,11 +1011,11 @@
+         DEFINES="$DEFINES -DHAVE_ALIAS"
+         if test "x$enable_dri3" = xyes; then
+             DEFINES="$DEFINES -DHAVE_DRI3"
+-        fi
+ 
+         if test "x$have_libudev" != xyes; then
+             AC_MSG_ERROR([libudev-dev required for building DRI])
+         fi
++        fi
+ 
+         case "$host_cpu" in
+         powerpc* | sparc*)
-- 
http://lists.linuxfromscratch.org/listinfo/patches
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to