Subject: Enabling SysV IPC API in XFree86
To: None <tech-x11@netbsd.org>
From: Quentin Garnier <netbsd@quatriemek.com>
List: tech-x11
Date: 05/08/2003 00:18:20
Hi,

NVidia's binary driver needs working IPC routines to run (so even XFree86
4.3.0 needs patching, no matter what I said before).

Although it was a hack for XFree86 4.2.1, since some #ifdef'ing was needed
inside the source, it is very easy for 4.3.0.

I'd like very much to see this patch committed. Could there be any reason
not to activate support for SysV IPC services in XFree86 ?

[I reformatted the diff a bit.]

Index: xfree/xc/programs/Xserver/hw/xfree86/os-support/bsd/Imakefile
diff -u -r1.12 Imakefile
--- xfree/xc/programs/Xserver/hw/xfree86/os-support/bsd/Imakefile.orig
+++ xfree/xc/programs/Xserver/hw/xfree86/os-support/bsd/Imakefile
@@ -75,7 +75,7 @@
 MTRRDEFINES = -DHAS_MTRR_BUILTIN
 #endif
 
-#if defined(FreeBSDArchitecture)
+#if defined(FreeBSDArchitecture) || defined(NetBSDArchitecture)
 SYSVIPCDEFINES = -DHAVE_SYSV_IPC
 #endif
 

-- 
Quentin Garnier - cube@cubidou.net
"Feels like I'm fiddling while Rome is burning down.
Should I lay my fiddle down and take a rifle from the ground ?"
Leigh Nash/Sixpence None The Richer, Paralyzed, Divine Discontents, 2002.