ports/153644: patch for Xorg on powerpc needs to also be applied for powerpc64
Matthew Rezny
mrezny at hexaneinc.com
Mon Jan 3 06:10:10 UTC 2011
>Number: 153644
>Category: ports
>Synopsis: patch for Xorg on powerpc needs to also be applied for powerpc64
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Mon Jan 03 06:10:09 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator: Matthew Rezny
>Release: 9.0-CURRENT-20110102
>Organization:
>Environment:
FreeBSD heresy.lan 9.0-CURRENT FreeBSD 9.0-CURRENT #1: Sun Jan 2 22:00:21 EET 2011 root at heresy.lan:/usr/obj/usr/src/sys/GENERIC64 powerpc
>Description:
The xorg-server port includes a file ppc_video.c which required a patch for FreeBSD as detailed in PR ports/118851. This patch should be applied to all PowerPC builds.
When building xorg-server-1.7.5,1 for powerpc64, a compilation error and subsequent linking error occurs in that file, halting the build. The Makefile applies the patch only when ARCH==powerpc, but it should apply the patch when (ARCH==powerpc || ARCH==powerpc64).
>How-To-Repeat:
cd /usr/ports/x11-servers/xorg-server && make install clean
>Fix:
In the Makefile, change the first line of the following code fragment
.if ${ARCH} == powerpc
PLIST_SUB+= PPC_NA="@comment "
MAN4+= nv.4x
EXTRA_PATCHES= ${.CURDIR}/files/extra-arch-powerpc
.else
PLIST_SUB+= PPC_NA=""
.endif
to instead be
.if ${ARCH} == powerpc || ${ARCH} == powerpc64
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list