Date: Wed, 8 Feb 2012 03:20:34 GMT From: Brandon Gooch <jamesbrandongooch@gmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/164893: conky build fails with clang Message-ID: <201202080320.q183KYBI095265@red.freebsd.org> Resent-Message-ID: <201202080330.q183UDBX098978@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201202080320.q183KYBI095265>