ports/183304: [patch] graphics/dri on armv6
Matthieu Volat
mazhe at alkumuna.eu
Fri Oct 25 17:30:01 UTC 2013
>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 at 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:
More information about the freebsd-ports-bugs
mailing list