Sun Sep 20 12:04:01 2009 UTC ()
fix to build on FreeBSD7-STABE/amd64


(sno)
diff -r1.51 -r1.52 pkgsrc/x11/modular-xorg-server/Makefile
diff -r1.37 -r1.38 pkgsrc/x11/modular-xorg-server/distinfo
diff -r1.2 -r1.3 pkgsrc/x11/modular-xorg-server/patches/patch-sa

cvs diff -r1.51 -r1.52 pkgsrc/x11/modular-xorg-server/Makefile (expand / switch to context diff)
--- pkgsrc/x11/modular-xorg-server/Makefile 2009/08/01 15:33:46 1.51
+++ pkgsrc/x11/modular-xorg-server/Makefile 2009/09/20 12:04:01 1.52
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.51 2009/08/01 15:33:46 tnn Exp $
+# $NetBSD: Makefile,v 1.52 2009/09/20 12:04:01 sno Exp $
 #
 
 DISTNAME=	xorg-server-1.6.3
@@ -45,6 +45,9 @@
 .if ${OPSYS} == "NetBSD"
 CONFIGURE_ARGS+=	--with-builder-addr="tech-x11@NetBSD.org"
 CONFIGURE_ARGS+=	--with-os-vendor="The NetBSD Foundation"
+.endif
+.if ${OPSYS} == "FreeBSD"
+CONFIGURE_ARGS+=	--without-dtrace
 .endif
 CONFIGURE_ARGS+=	--with-os-name=${MACHINE_PLATFORM:Q}
 CONFIGURE_ARGS+=	--with-vendor-web="http://www.pkgsrc.org/"

cvs diff -r1.37 -r1.38 pkgsrc/x11/modular-xorg-server/distinfo (expand / switch to context diff)
--- pkgsrc/x11/modular-xorg-server/distinfo 2009/08/01 11:06:23 1.37
+++ pkgsrc/x11/modular-xorg-server/distinfo 2009/09/20 12:04:01 1.38
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.37 2009/08/01 11:06:23 hasso Exp $
+$NetBSD: distinfo,v 1.38 2009/09/20 12:04:01 sno Exp $
 
 SHA1 (xorg-server-1.6.3.tar.bz2) = 1f28e8723e110e5c1a1adf3bc89325a81a526184
 RMD160 (xorg-server-1.6.3.tar.bz2) = 5b9ddfeb9fb7082ef600e368ada8abbb006fe418
@@ -10,7 +10,7 @@
 SHA1 (patch-ak) = df6d3b2172254e1f9d44eb40144cad5ed29a7d1d
 SHA1 (patch-al) = cb1fb44037f23fb2838ed36aaf2591946264fe53
 SHA1 (patch-am) = be278e6044dfa37b108d2544c82b84f36b6ca9d7
-SHA1 (patch-sa) = a22001b4146dcbcbd5405c9a1ff7b1632ec946b8
+SHA1 (patch-sa) = bdd9209e873f676ee4d0436a94e468b824e80f87
 SHA1 (patch-sb) = 0a064016b16e088d08cd9e290a57cb4efb4f5d26
 SHA1 (patch-sc) = dd93e15253b78395050d65df0f972e57ccf546e0
 SHA1 (patch-sd) = 36d3946217b57416e8d0d3099e48d4e9f957c881

cvs diff -r1.2 -r1.3 pkgsrc/x11/modular-xorg-server/patches/Attic/patch-sa (expand / switch to context diff)
--- pkgsrc/x11/modular-xorg-server/patches/Attic/patch-sa 2009/06/07 11:23:47 1.2
+++ pkgsrc/x11/modular-xorg-server/patches/Attic/patch-sa 2009/09/20 12:04:01 1.3
@@ -1,8 +1,17 @@
-$NetBSD: patch-sa,v 1.2 2009/06/07 11:23:47 wiz Exp $
+$NetBSD: patch-sa,v 1.3 2009/09/20 12:04:01 sno Exp $
 
---- hw/xfree86/common/compiler.h.orig	2009-05-19 14:25:30 +0300
-+++ hw/xfree86/common/compiler.h	2009-05-19 14:26:04 +0300
-@@ -531,7 +531,7 @@ inl(unsigned short port)
+--- hw/xfree86/common/compiler.h.orig	2009-07-07 19:48:58.000000000 +0200
++++ hw/xfree86/common/compiler.h	2009-09-20 11:51:51.000000000 +0200
+@@ -465,7 +465,7 @@
+ extern unsigned int inw(unsigned long port);
+ extern unsigned int inl(unsigned long port);
+  
+-#   elif defined(linux) && defined(__amd64__)
++#   elif (defined(linux) || defined(__FreeBSD__)) && defined(__amd64__)
+  
+ #    include <inttypes.h>
+ 
+@@ -531,7 +531,7 @@
     return ret;
  }