[PATCH] Disable DRI3 and sync fence FD functions if xshmfence isn't available

Matthieu Herrb matthieu.herrb at laas.fr
Mon Nov 4 22:30:22 CET 2013


On Mon, Nov 04, 2013 at 02:32:46PM -0500, Gaetan Nadon wrote:
> 
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> On 13-11-03 09:58 PM, Keith Packard wrote:
> > I think this will eliminate the spurious messages. If you concur, I'll
> > amend the previous patch with this change and push it to master.
> >

I also need the patch below to successfully build the X server on
OpenBSD. 

[even with this patch I still have an issue with the glx extension
module build, but it's probably not directly related, so I'm going to
investigate further and send another patch. 


diff --git hw/xfree86/Makefile.am hw/xfree86/Makefile.am
index eea16a8..e67437f 100644
--- hw/xfree86/Makefile.am
+++ hw/xfree86/Makefile.am
@@ -9,6 +9,11 @@ DRI2_SUBDIR = dri2
 DRI2_LIB = dri2/libdri2.la
 endif
 
+if DRI3
+DRI3_SUBDIR = dri3
+DRI3_LIB = dri2/libdri3.la
+endif
+
 if XF86UTILS
 XF86UTILS_SUBDIR = utils
 endif
@@ -59,7 +64,7 @@ LOCAL_LIBS = \
             dixmods/libxorgxkb.la \
             $(DRI_LIB) \
             $(DRI2_LIB) \
-	    $(top_builddir)/dri3/libdri3.la \
+	    $(DRI3_LIB) \
 	    $(top_builddir)/miext/sync/libsync.la \
             $(top_builddir)/mi/libmi.la \
             $(top_builddir)/os/libos.la

-- 
Matthieu Herrb


More information about the xorg-devel mailing list