From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Feb 8 03:30:13 2012 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 8F33910656E3 for ; Wed, 8 Feb 2012 03:30:13 +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 46ED68FC12 for ; Wed, 8 Feb 2012 03:30:13 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q183UDq7098979 for ; Wed, 8 Feb 2012 03:30:13 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q183UDBX098978; Wed, 8 Feb 2012 03:30:13 GMT (envelope-from gnats) Resent-Date: Wed, 8 Feb 2012 03:30:13 GMT Resent-Message-Id: <201202080330.q183UDBX098978@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, Brandon Gooch Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5A38A10656F2 for ; Wed, 8 Feb 2012 03:20:35 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 447FC8FC0C for ; Wed, 8 Feb 2012 03:20:35 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id q183KZ1U095266 for ; Wed, 8 Feb 2012 03:20:35 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id q183KYBI095265; Wed, 8 Feb 2012 03:20:34 GMT (envelope-from nobody) Message-Id: <201202080320.q183KYBI095265@red.freebsd.org> Date: Wed, 8 Feb 2012 03:20:34 GMT From: Brandon Gooch To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/164893: conky build fails with clang X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Feb 2012 03:30:13 -0000 >Number: 164893 >Category: ports >Synopsis: conky build fails with clang >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: Wed Feb 08 03:30:12 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Brandon Gooch >Release: 9-STABLE >Organization: >Environment: FreeBSD m6500.local 9.0-STABLE FreeBSD 9.0-STABLE #0: Mon Feb 6 01:03:44 CST 2012 root@m6500.local:/usr/obj/usr/src_stable_9/sys/DELL_M6500 amd64 >Description: With llvm/clang as the default compiler, sysutils/conky doesn't build. The problems are with a C pre-processor directive and a faulty include of a spurious header. >How-To-Repeat: Attempt to build sysutils/conky with clang. >Fix: Replace the files in the conky port directory with the attached. Example: $ sh patch-src-conky.shar && cp patch-src-* /usr/ports/sysutils/conky/files/ Patch attached with submission follows: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # conky-patch-src.shar # patch-src-conky.c # patch-src-freebsd.c # echo x - conky-patch-src.shar sed 's/^X//' >conky-patch-src.shar << 'f123970f698d999091fff62e010eafae' >Release-Note: >Audit-Trail: >Unformatted: