From 91a7f729bb1d883db4a8e87b627d0a7e2fa12c82 Mon Sep 17 00:00:00 2001 From: Steve Price Date: Sun, 5 Sep 1999 16:27:18 +0000 Subject: Quick fix so this builds again on FreeBSD/Alpha. --- x11/XFree86/files/patch-7 | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 x11/XFree86/files/patch-7 (limited to 'x11') diff --git a/x11/XFree86/files/patch-7 b/x11/XFree86/files/patch-7 new file mode 100644 index 000000000000..40944438d6d7 --- /dev/null +++ b/x11/XFree86/files/patch-7 @@ -0,0 +1,20 @@ +--- lib/Xxf86dga/XF86DGA.c.orig Sun Sep 5 10:53:57 1999 ++++ lib/Xxf86dga/XF86DGA.c Sun Sep 5 10:56:20 1999 +@@ -30,7 +30,7 @@ + + /* Alpha Patch by Georg Acher, acher@in.tum.de + modified by Ivan Kokshaysky */ +-#ifdef __alpha__ ++#if defined(__alpha__) && !defined(__FreeBSD__) + extern unsigned long _bus_base(void); + #endif + +@@ -571,7 +571,7 @@ + HFILE hfd; + #endif + +-#ifdef __alpha__ ++#if defined(__alpha__) && !defined(__FreeBSD__) + off_t bus_base_addr = _bus_base(); + + /* DGA would be broken on Jensen anyway due to the lack of -- cgit v1.2.3