summaryrefslogtreecommitdiffstats
path: root/x11-servers
diff options
context:
space:
mode:
authorglewis <glewis@FreeBSD.org>2004-02-21 21:40:01 +0000
committerglewis <glewis@FreeBSD.org>2004-02-21 21:40:01 +0000
commit316394caa49099d123bc08af895d0bbbaad867f5 (patch)
treeb44bebe295cd121bccf779ce1b4fdbffdb8e187c /x11-servers
parente35a32d2d4d9e8e53a3469b2a099b7f754518849 (diff)
downloadFreeBSD-ports-316394caa49099d123bc08af895d0bbbaad867f5.zip
FreeBSD-ports-316394caa49099d123bc08af895d0bbbaad867f5.tar.gz
. Use the correct prototype for sysarch(2). Should fix the build on
CURRENT/alpha. Submitted by: bento via kris
Diffstat (limited to 'x11-servers')
-rw-r--r--x11-servers/XFree86-4-Server/files/patch-alpha_video.c13
1 files changed, 11 insertions, 2 deletions
diff --git a/x11-servers/XFree86-4-Server/files/patch-alpha_video.c b/x11-servers/XFree86-4-Server/files/patch-alpha_video.c
index 741664e..13490c5 100644
--- a/x11-servers/XFree86-4-Server/files/patch-alpha_video.c
+++ b/x11-servers/XFree86-4-Server/files/patch-alpha_video.c
@@ -1,5 +1,5 @@
---- programs/Xserver/hw/xfree86/os-support/bsd/alpha_video.c.orig Tue Oct 29 15:19:13 2002
-+++ programs/Xserver/hw/xfree86/os-support/bsd/alpha_video.c Tue Mar 4 16:28:04 2003
+--- programs/Xserver/hw/xfree86/os-support/bsd/alpha_video.c.orig Tue Oct 29 16:19:13 2002
++++ programs/Xserver/hw/xfree86/os-support/bsd/alpha_video.c Sat Feb 21 00:26:25 2004
@@ -33,7 +33,10 @@
#include <sys/param.h>
#ifndef __NetBSD__
@@ -33,3 +33,12 @@
}
void
+@@ -475,7 +480,7 @@
+ writeSparse32(int Value, pointer Base, register unsigned long Offset);
+
+ #ifdef __FreeBSD__
+-extern int sysarch(int, char *);
++extern int sysarch(int, void *);
+ #endif
+
+ struct parms {
OpenPOWER on IntegriCloud