Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Oct 2013 17:24:06 GMT
From:      Matthieu Volat <mazhe@alkumuna.eu>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/183304: [patch] graphics/dri on armv6
Message-ID:  <201310251724.r9PHO6nS085150@oldred.freebsd.org>
Resent-Message-ID: <201310251730.r9PHU0dj065607@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         183304
>Category:       ports
>Synopsis:       [patch] graphics/dri on armv6
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Oct 25 17:30:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Matthieu Volat
>Release:        10.0-BETA1
>Organization:
>Environment:
FreeBSD providence.alkumuna.eu 10.0-BETA1 FreeBSD 10.0-BETA1 #1: Sun Oct 20 16:57:47 CEST 2013     mazhe@freedom.alkumuna.eu:/home/mazhe/Devel/cross/raspberry-pi/obj/arm.armv6/home/mazhe/Devel/cross/raspberry-pi/src/sys/RPI-B  arm
>Description:
graphics/dri installation will fail on armv6 architecture because DRI_DRIVERS variable is left empty.
>How-To-Repeat:
# cd /usr/ports/graphics/dri
# make build
# make install 
=> failure
>Fix:
The following patch define one dri backend (the software one) to solve the problem :

--- Makefile.orig       2013-10-25 17:18:51.000000000 +0000
+++ Makefile    2013-10-25 17:19:24.000000000 +0000
@@ -67,7 +67,7 @@
 . if ${ARCH} == powerpc || ${ARCH} == ia64
 DRI_DRIVERS=   RADEON SWRAST
 . endif
-. if ${ARCH} == sparc64
+. if ${ARCH} == armv6 || ${ARCH} == sparc64
 DRI_DRIVERS=   SWRAST
 . endif
 .else # !defined(WITH_NEW_XORG)
@@ -75,6 +75,8 @@
 DRI_DRIVERS=   MACH64 RADEON SWRAST TDFX
 . elif ${ARCH} == sparc64
 DRI_DRIVERS=   MACH64 RADEON SWRAST
+. elif ${ARCH} == armv6
+DRI_DRIVERS=   SWRAST
 . endif
 .endif # defined(WITH_NEW_XORG)

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201310251724.r9PHO6nS085150>