pkgsrc/x11/xorg-libs/patches/patch-an

17 lines
596 B
Text
Raw Normal View History

$NetBSD: patch-an,v 1.4 2006/01/18 23:53:06 xtraeme Exp $
--- programs/Xserver/hw/xfree86/loader/Imakefile.orig 2004-08-13 12:39:57.000000000 +0900
+++ programs/Xserver/hw/xfree86/loader/Imakefile 2005-02-21 10:38:49.000000000 +0900
@@ -40,6 +40,11 @@
ARCHDEFINES = -DDoMMAPedMerge -DMmapPageAlign
#endif
+#if defined(NetBSDArchitecture) && defined(AMD64Architecture) && \
+ defined(PassHintToMMAP)
+ARCHDEFINES = -DUseMMAP -DPassHintToMMAP
+#endif
+
DEFINES = $(DBMALLOCDEFINE) $(DLOPENDEFINES) $(OS_DEFINES) $(COMPAT_DEFINES) \
$(SHM_DEFINES) $(FONTCACHE_DEFINES) $(ARCHDEFINES)