blob: 40944438d6d7d79527126df982b96667461dc5aa (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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 <ink@rc.ru> */
-#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
|