ports/164893: conky build fails with clang
Brandon Gooch
jamesbrandongooch at gmail.com
Wed Feb 8 03:30:13 UTC 2012
>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 at 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:
More information about the freebsd-ports-bugs
mailing list