pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/lang/clang



Module Name:    pkgsrc
Committed By:   marino
Date:           Thu Nov 22 22:45:15 UTC 2012

Modified Files:
        pkgsrc/lang/clang: Makefile distinfo
        pkgsrc/lang/clang/patches: patch-ac patch-ad
Added Files:
        pkgsrc/lang/clang/patches: patch-tools_clang_lib_Driver_ToolChains.cpp
            patch-tools_clang_lib_Driver_Tools.cpp

Log Message:
lang/clang: Fix binary generation on latest DragonFly

Clang was hardwired to search for crt* stuff and libstdc++ at
/usr/lib/gcc41.  This worked for most people even when DragonFly
moved to gcc 4.4 as the primary base compiler since gcc 4.1 was
usually also on the system.

With the release of DragonFly 3.2, gcc 4.7 replaced gcc 4.1 and
clang stopped compiling due to not being able to find libraries and
crt* objects.  The new patches make clang driver first look for
gcc 4.7 and failing to find that: gcc 4.4.

The other patches were "de-fuzzed".
Revision bump was necessary because clang did build, it just didn't
work.

Patches submitted upstream:
http://llvm.org/bugs/show_bug.cgi?id=14417


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 pkgsrc/lang/clang/Makefile
cvs rdiff -u -r1.11 -r1.12 pkgsrc/lang/clang/distinfo
cvs rdiff -u -r1.4 -r1.5 pkgsrc/lang/clang/patches/patch-ac
cvs rdiff -u -r1.3 -r1.4 pkgsrc/lang/clang/patches/patch-ad
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/lang/clang/patches/patch-tools_clang_lib_Driver_ToolChains.cpp \
    pkgsrc/lang/clang/patches/patch-tools_clang_lib_Driver_Tools.cpp

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index