1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-18 00:10:04 +00:00
freebsd-ports/x11/XFree86/files/patch-09
Jean-Marc Zucconi cd7d36b7f3 Upgrade to version 3.3.6
patch-4 has been split into several parts (patch-0?); one patch per
modified file
2000-01-12 03:49:50 +00:00

35 lines
975 B
Plaintext

diff -ur /usr/ports/x11/XFree86/work/xc/programs/Xserver/hw/xfree86/common_hw/SlowBcopy.c programs/Xserver/hw/xfree86/common_hw/SlowBcopy.c
--- /usr/ports/x11/XFree86/work/xc/programs/Xserver/hw/xfree86/common_hw/SlowBcopy.c Sun Jan 5 11:58:24 1997
+++ programs/Xserver/hw/xfree86/common_hw/SlowBcopy.c Tue Dec 8 10:05:56 1998
@@ -37,7 +37,12 @@
* Martin Ostermann (ost@comnets.rwth-aachen.de) - Apr.-Sep. 1996
*/
+#ifdef linux
unsigned long _bus_base(void);
+#define isJensen() (!_bus_base())
+#else
+#define isJensen() 0
+#endif
#ifdef TEST_JENSEN_CODE /* define to test the Sparse addressing on a non-Jensen */
#define SPARSE (5)
@@ -50,7 +55,7 @@
unsigned char *src, *dst;
int count;
{
- if (!_bus_base()) /* Jensen */
+ if (isJensen())
{
unsigned long addr;
long result;
@@ -74,7 +79,7 @@
unsigned char *src, *dst;
int count;
{
- if (!_bus_base()) /* Jensen */
+ if (isJensen())
{
unsigned long addr;