aboutsummaryrefslogtreecommitdiff
path: root/x11-servers/xorg-server/files
diff options
context:
space:
mode:
authorDejan Lesjak <lesi@FreeBSD.org>2004-09-02 21:46:08 +0000
committerDejan Lesjak <lesi@FreeBSD.org>2004-09-02 21:46:08 +0000
commitab67e24779f1c2d8463a49a78ef3f0910f1423d6 (patch)
tree9d0f69f69b5dbd2f613cee26ecf50a83fcabcfb6 /x11-servers/xorg-server/files
parent9f6c874fa1cfaa72a87804bb6250236d171d3c79 (diff)
downloadports-ab67e24779f1c2d8463a49a78ef3f0910f1423d6.tar.gz
ports-ab67e24779f1c2d8463a49a78ef3f0910f1423d6.zip
Notes
Diffstat (limited to 'x11-servers/xorg-server/files')
-rw-r--r--x11-servers/xorg-server/files/patch-alpha_video.c11
-rw-r--r--x11-servers/xorg-server/files/patch-xf86fbman.c17
2 files changed, 28 insertions, 0 deletions
diff --git a/x11-servers/xorg-server/files/patch-alpha_video.c b/x11-servers/xorg-server/files/patch-alpha_video.c
new file mode 100644
index 000000000000..15ff05b7c4a0
--- /dev/null
+++ b/x11-servers/xorg-server/files/patch-alpha_video.c
@@ -0,0 +1,11 @@
+--- programs/Xserver/hw/xfree86/os-support/bsd/alpha_video.c.orig Wed Sep 1 21:05:09 2004
++++ programs/Xserver/hw/xfree86/os-support/bsd/alpha_video.c Wed Sep 1 21:06:52 2004
+@@ -487,7 +487,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 {
diff --git a/x11-servers/xorg-server/files/patch-xf86fbman.c b/x11-servers/xorg-server/files/patch-xf86fbman.c
new file mode 100644
index 000000000000..1d6fcc88f041
--- /dev/null
+++ b/x11-servers/xorg-server/files/patch-xf86fbman.c
@@ -0,0 +1,17 @@
+--- programs/Xserver/hw/xfree86/common/xf86fbman.c.orig Wed Nov 26 23:48:58 2003
++++ programs/Xserver/hw/xfree86/common/xf86fbman.c Wed Sep 1 21:15:58 2004
+@@ -1095,12 +1095,10 @@
+
+ *size = 0;
+
+- if (!offman->LinearAreas) return FALSE;
+-
+ pLink = offman->LinearAreas;
+- pLinkRet = pLink;
+
+- if (!pLink->area) {
++ if (pLink && !pLink->area) {
++ pLinkRet = pLink;
+ while (pLink) {
+ if (pLink->free) {
+ if (pLink->linear.size > pLinkRet->linear.size)