From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Apr 25 23:10:01 2009 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5C73F106567D for ; Sat, 25 Apr 2009 23:10:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 313368FC0A for ; Sat, 25 Apr 2009 23:10:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n3PNA1NI013451 for ; Sat, 25 Apr 2009 23:10:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n3PNA1nM013450; Sat, 25 Apr 2009 23:10:01 GMT (envelope-from gnats) Resent-Date: Sat, 25 Apr 2009 23:10:01 GMT Resent-Message-Id: <200904252310.n3PNA1nM013450@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Boris Samorodov Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6A586106566C for ; Sat, 25 Apr 2009 23:00:23 +0000 (UTC) (envelope-from bsam@bb.ipt.ru) Received: from bb.ipt.ru (bb.ipt.ru [194.62.233.89]) by mx1.freebsd.org (Postfix) with ESMTP id F2C548FC13 for ; Sat, 25 Apr 2009 23:00:22 +0000 (UTC) (envelope-from bsam@bb.ipt.ru) Received: from bb.ipt.ru (localhost [127.0.0.1]) by bb.ipt.ru (8.14.3/8.14.3) with ESMTP id n3PN0TQU087596 for ; Sun, 26 Apr 2009 03:00:29 +0400 (MSD) (envelope-from bsam@bb.ipt.ru) Received: (from bsam@localhost) by bb.ipt.ru (8.14.3/8.14.3/Submit) id n3PN0T3l087595; Sun, 26 Apr 2009 03:00:29 +0400 (MSD) (envelope-from bsam) Message-Id: <200904252300.n3PN0T3l087595@bb.ipt.ru> Date: Sun, 26 Apr 2009 03:00:29 +0400 (MSD) From: Boris Samorodov To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/134008: [patch] x11-drivers/xf86-video-radeonhd: add glproto as a build dependency to enable DRI support at compile time X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Boris Samorodov List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Apr 2009 23:10:01 -0000 >Number: 134008 >Category: ports >Synopsis: [patch] x11-drivers/xf86-video-radeonhd: add glproto as a build dependency to enable DRI support at compile time >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Sat Apr 25 23:10:00 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Boris Samorodov >Release: FreeBSD 8.0-CURRENT i386 >Organization: InPharmTech, Co. >Environment: System: FreeBSD bb.ipt.ru 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Mon Apr 6 21:04:24 MSD 2009 root@bb.ipt.ru:/usr/obj/usr/src/sys/BB i386 >Description: Glproto is not defined as build dependency for the port. Packaging systems like pointyhat or tinderbox produce packages without DRI support compiled in. Here is the diff of "make configure" output before and after applying the patch: ===== --- configure.log.nodri 2009-04-26 01:08:01.000000000 +0400 +++ configure.log.dri 2009-04-26 01:03:35.000000000 +0400 @@ -5,6 +5,7 @@ => SHA256 Checksum OK for xorg/driver/xf86-video-radeonhd-1.2.5.tar.bz2. ===> Patching for xf86-video-radeonhd-1.2.5 ===> xf86-video-radeonhd-1.2.5 depends on file: /usr/local/libdata/pkgconfig/damageproto.pc - found +===> xf86-video-radeonhd-1.2.5 depends on file: /usr/local/libdata/pkgconfig/glproto.pc - found ===> xf86-video-radeonhd-1.2.5 depends on file: /usr/local/libdata/pkgconfig/videoproto.pc - found ===> xf86-video-radeonhd-1.2.5 depends on file: /usr/local/libdata/pkgconfig/xextproto.pc - found ===> xf86-video-radeonhd-1.2.5 depends on file: /usr/local/libdata/pkgconfig/xf86driproto.pc - found @@ -107,8 +108,11 @@ checking for xf86RandR12.h... yes checking whether to enable RandR1.2 support... yes checking whether XF86DRI is declared... yes -checking for DRI... no -checking whether to enable DRI support... no +checking for DRI... yes +checking GL/gl.h usability... yes +checking GL/gl.h presence... yes +checking for GL/gl.h... yes +checking whether to enable DRI support... yes checking for /usr/local/include/xorg/damage.h... yes checking /usr/local/include/xorg/xf86_ansic.h usability... no checking /usr/local/include/xorg/xf86_ansic.h presence... no @@ -152,6 +156,3 @@ config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands - -NOTE: DRI support is disabled - ===== Those who build/install programms via ports (and thus have x11/glproto installed) are not affected. >How-To-Repeat: Install a package via "pkg_add -r" or build a package at tinderbox and install it. Then look at /var/log/Xorg.0.log: ===== (WW) RADEONHD(0): DRI support has been disabled at compile time ===== >Fix: NOTE1: seems that driver/xf86-video-radeonhd-devel should be patched either. I didn't use that port though. NOTE2: driver/xf86-video-radeonhd-devel conflicts with xf86-video-ati-[0-9]*. May be the current port should be marked as well. --- xf86-video-radeonhd.diff begins here --- Index: Makefile =================================================================== RCS file: /home/pcvs/ports/x11-drivers/xf86-video-radeonhd/Makefile,v retrieving revision 1.11 diff -u -r1.11 Makefile --- Makefile 9 Apr 2009 16:37:21 -0000 1.11 +++ Makefile 25 Apr 2009 21:22:13 -0000 @@ -7,6 +7,7 @@ PORTNAME= xf86-video-radeonhd PORTVERSION= 1.2.5 +PORTREVISION= 1 CATEGORIES= x11-drivers MAINTAINER= x11@FreeBSD.org @@ -15,7 +16,7 @@ OPTIONS= UTILS "Install rhd_conntest and rhd_dump utilities" off XORG_CAT= driver -USE_XORG= damageproto videoproto xextproto xf86driproto +USE_XORG= damageproto glproto videoproto xextproto xf86driproto CONFIGURE_ARGS= --enable-exa CONFLICTS= xf86-video-radeonhd-devel-[0-9]* --- xf86-video-radeonhd.diff ends here --- WBR -- bsam >Release-Note: >Audit-Trail: >Unformatted: