aboutsummaryrefslogtreecommitdiffstats
path: root/x11-drivers
diff options
context:
space:
mode:
Diffstat (limited to 'x11-drivers')
-rw-r--r--x11-drivers/xf86-video-sunffb/Makefile1
-rw-r--r--x11-drivers/xf86-video-sunffb/files/patch-VISmoveImage.s26
2 files changed, 27 insertions, 0 deletions
diff --git a/x11-drivers/xf86-video-sunffb/Makefile b/x11-drivers/xf86-video-sunffb/Makefile
index 9c91c51d7ae1..3ea3dcc88abf 100644
--- a/x11-drivers/xf86-video-sunffb/Makefile
+++ b/x11-drivers/xf86-video-sunffb/Makefile
@@ -7,6 +7,7 @@
PORTNAME= xf86-video-sunffb
PORTVERSION= 1.2.0
+PORTREVISION= 1
CATEGORIES= x11-drivers
MAINTAINER= x11@FreeBSD.org
diff --git a/x11-drivers/xf86-video-sunffb/files/patch-VISmoveImage.s b/x11-drivers/xf86-video-sunffb/files/patch-VISmoveImage.s
new file mode 100644
index 000000000000..f58ddad51523
--- /dev/null
+++ b/x11-drivers/xf86-video-sunffb/files/patch-VISmoveImage.s
@@ -0,0 +1,26 @@
+--- src/VISmoveImage.s.orig 2008-08-15 19:49:00.000000000 +0000
++++ src/VISmoveImage.s 2009-03-29 14:08:42.000000000 +0000
+@@ -779,7 +779,11 @@
+ sub %tmp3, %rightw, %curw
+
+ return: return %i7+8
++#if defined(__FreeBSD__)
++ nop
++#else
+ wr %g0, 0, %fprs
++#endif
+
+ narrowst:
+ and %leftw, 0x38, %tmp1
+@@ -2174,7 +2178,11 @@
+ sub %curw, %rightw, %curw
+
+ rreturn:return %i7+8
++#if defined(__FreeBSD__)
++ nop
++#else
+ wr %g0, 0, %fprs
++#endif
+
+ narrowstr:
+ cmp %rightw, 64