pkgsrc/graphics/MesaLib/patches/patch-ai
tv 924b25bc16 Create template config file for Interix 3.x.
As part of this, do something special for xmesaP.h:  Because XShm.h does
exist on the Interix platform, and Mesa binaries were already buildable,
preserve the ABI by including XShm.h there and keeping the XShmSegmentInfo
field (with -DUSE_XSHM_HDRONLY) -- thus avoiding both flag day and revbump
sweep.  However, all XShm-using code remains turned off (no -DUSE_XSHM)
so that libGL will work.

Bump PKGREVISION of MesaLib only.
2005-11-08 16:41:30 +00:00

15 lines
390 B
Text

$NetBSD: patch-ai,v 1.1 2005/11/08 16:41:30 tv Exp $
--- /dev/null 2004-10-25 16:57:21.000000000 +0000
+++ configs/interix3
@@ -0,0 +1,9 @@
+# Configuration for Interix 3.x
+
+include $(TOP)/configs/default
+
+CONFIG_NAME = pkgsrc
+
+# Compiler and flags
+CFLAGS+= -DUSE_XSHM_HDRONLY -DPTHREADS
+APP_LIB_DEPS = -L$(LIB_DIR) -L${PREFIX}/lib -L${X11PREFIX}/lib -lXext -lXmu -lXi -lX11 -lm
+