[Midnightbsd-cvs] mports [23933] trunk/x11-drivers/xf86-video-sunffb: readd

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Sun Aug 26 17:44:23 EDT 2018


Revision: 23933
          http://svnweb.midnightbsd.org/mports/?rev=23933
Author:   laffer1
Date:     2018-08-26 17:44:22 -0400 (Sun, 26 Aug 2018)
Log Message:
-----------
readd

Added Paths:
-----------
    trunk/x11-drivers/xf86-video-sunffb/
    trunk/x11-drivers/xf86-video-sunffb/Makefile
    trunk/x11-drivers/xf86-video-sunffb/distinfo
    trunk/x11-drivers/xf86-video-sunffb/files/
    trunk/x11-drivers/xf86-video-sunffb/files/patch-VISmoveImage.s
    trunk/x11-drivers/xf86-video-sunffb/files/patch-src_ffb__driver.c
    trunk/x11-drivers/xf86-video-sunffb/pkg-descr
    trunk/x11-drivers/xf86-video-sunffb/pkg-plist

Added: trunk/x11-drivers/xf86-video-sunffb/Makefile
===================================================================
--- trunk/x11-drivers/xf86-video-sunffb/Makefile	                        (rev 0)
+++ trunk/x11-drivers/xf86-video-sunffb/Makefile	2018-08-26 21:44:22 UTC (rev 23933)
@@ -0,0 +1,19 @@
+# $MidnightBSD$
+# $FreeBSD: head/x11-drivers/xf86-video-sunffb/Makefile 441503 2017-05-23 05:03:14Z rezny $
+
+PORTNAME=	xf86-video-sunffb
+PORTVERSION=	1.2.2
+PORTREVISION=	8
+CATEGORIES=	x11-drivers
+
+MAINTAINER=	ports at MidnightBSD.org
+COMMENT=	X.Org sunffb display driver
+
+LICENSE=	mit
+
+USE_GL=		gl
+XORG_CAT=	driver
+
+ONLY_FOR_ARCHS=	sparc64
+
+.include <bsd.port.mk>


Property changes on: trunk/x11-drivers/xf86-video-sunffb/Makefile
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/x11-drivers/xf86-video-sunffb/distinfo
===================================================================
--- trunk/x11-drivers/xf86-video-sunffb/distinfo	                        (rev 0)
+++ trunk/x11-drivers/xf86-video-sunffb/distinfo	2018-08-26 21:44:22 UTC (rev 23933)
@@ -0,0 +1,2 @@
+SHA256 (xorg/driver/xf86-video-sunffb-1.2.2.tar.bz2) = fa545f2c10732c2b7b37e8891315b05e645aec21ba5e849f244d3ceee2b3e31f
+SIZE (xorg/driver/xf86-video-sunffb-1.2.2.tar.bz2) = 334827


Property changes on: trunk/x11-drivers/xf86-video-sunffb/distinfo
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/x11-drivers/xf86-video-sunffb/files/patch-VISmoveImage.s
===================================================================
--- trunk/x11-drivers/xf86-video-sunffb/files/patch-VISmoveImage.s	                        (rev 0)
+++ trunk/x11-drivers/xf86-video-sunffb/files/patch-VISmoveImage.s	2018-08-26 21:44:22 UTC (rev 23933)
@@ -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


Property changes on: trunk/x11-drivers/xf86-video-sunffb/files/patch-VISmoveImage.s
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/x11-drivers/xf86-video-sunffb/files/patch-src_ffb__driver.c
===================================================================
--- trunk/x11-drivers/xf86-video-sunffb/files/patch-src_ffb__driver.c	                        (rev 0)
+++ trunk/x11-drivers/xf86-video-sunffb/files/patch-src_ffb__driver.c	2018-08-26 21:44:22 UTC (rev 23933)
@@ -0,0 +1,33 @@
+From 181b60190c1f81fc9b9b5deb07d536b78f2536ab Mon Sep 17 00:00:00 2001
+From: Matthieu Herrb <matthieu.herrb at laas.fr>
+Date: Mon, 10 Jun 2013 21:51:08 +0200
+Subject: Unbreak when XAA is not present.
+
+Turn accel off if loading XAA fails.
+
+Signed-off-by: Matthieu Herrb <matthieu.herrb at laas.fr>
+Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
+
+diff --git a/src/ffb_driver.c b/src/ffb_driver.c
+index af13484..7f17d64 100644
+--- src/ffb_driver.c
++++ src/ffb_driver.c
+@@ -413,9 +413,12 @@ FFBPreInit(ScrnInfoPtr pScrn, int flags)
+ 	return FALSE;
+     }
+ 
+-    if (xf86LoadSubModule(pScrn, "xaa") == NULL) {
+-	FFBFreeRec(pScrn);
+-	return FALSE;
++    if (!pFfb->NoAccel) {
++        if (xf86LoadSubModule(pScrn, "xaa") == NULL) {
++            xf86DrvMsg(pScrn->scrnIndex, X_INFO,
++                       "Loading XAA failed, acceleration disabled\n");
++            pFfb->NoAccel = TRUE;
++        }
+     }
+ 
+     if (pFfb->HWCursor && xf86LoadSubModule(pScrn, "ramdac") == NULL) {
+-- 
+cgit v0.10.2
+


Property changes on: trunk/x11-drivers/xf86-video-sunffb/files/patch-src_ffb__driver.c
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/x11-drivers/xf86-video-sunffb/pkg-descr
===================================================================
--- trunk/x11-drivers/xf86-video-sunffb/pkg-descr	                        (rev 0)
+++ trunk/x11-drivers/xf86-video-sunffb/pkg-descr	2018-08-26 21:44:22 UTC (rev 23933)
@@ -0,0 +1,3 @@
+This package contains the X.Org xf86-video-sunffb driver.
+
+WWW: https://www.x.org/


Property changes on: trunk/x11-drivers/xf86-video-sunffb/pkg-descr
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/x11-drivers/xf86-video-sunffb/pkg-plist
===================================================================
--- trunk/x11-drivers/xf86-video-sunffb/pkg-plist	                        (rev 0)
+++ trunk/x11-drivers/xf86-video-sunffb/pkg-plist	2018-08-26 21:44:22 UTC (rev 23933)
@@ -0,0 +1,2 @@
+lib/xorg/modules/drivers/sunffb_drv.so
+man/man4/sunffb.4x.gz


Property changes on: trunk/x11-drivers/xf86-video-sunffb/pkg-plist
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property


More information about the Midnightbsd-cvs mailing list