Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Jan 2011 06:09:34 GMT
From:      Matthew Rezny <mrezny@hexaneinc.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/153644: patch for Xorg on powerpc needs to also be applied for powerpc64
Message-ID:  <201101030609.p0369Yb7020032@red.freebsd.org>
Resent-Message-ID: <201101030610.p036AAce092262@freefall.freebsd.org>

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

>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@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:



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