pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
clang-netbsd: Fix patch
Module Name: pkgsrc-wip
Committed By: Kamil Rytarowski <n54%gmx.com@localhost>
Pushed By: kamil
Date: Fri Dec 8 23:14:41 2017 +0100
Changeset: fa918d2be992d714b8b2a60c475b7df428fcf7d6
Modified Files:
clang-netbsd/distinfo
clang-netbsd/patches/patch-lib_Basic_Targets_OSTargets.h
Log Message:
clang-netbsd: Fix patch
Sponsored by <The NetBSD Foundation>
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=fa918d2be992d714b8b2a60c475b7df428fcf7d6
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
clang-netbsd/distinfo | 2 +-
clang-netbsd/patches/patch-lib_Basic_Targets_OSTargets.h | 9 ++++-----
2 files changed, 5 insertions(+), 6 deletions(-)
diffs:
diff --git a/clang-netbsd/distinfo b/clang-netbsd/distinfo
index e73e843ea5..d81acd4899 100644
--- a/clang-netbsd/distinfo
+++ b/clang-netbsd/distinfo
@@ -1,6 +1,6 @@
$NetBSD: distinfo,v 1.35 2015/09/11 01:21:57 tnn Exp $
-SHA1 (patch-lib_Basic_Targets_OSTargets.h) = 6af7531d9cdc39037d8b0fb0c734cfba75922fc7
+SHA1 (patch-lib_Basic_Targets_OSTargets.h) = 9d229074c8e36be37176349971667817b227eaa5
SHA1 (patch-lib_Driver_ToolChains_Gnu.cpp) = 241c603172fffe6bc8ef3a3733bd3f42c19abbf1
SHA1 (patch-test_Sema_128bitfloat.cpp) = cc11582dd9495b603a22ef73609ab04f65324da2
SHA1 (patch-tools_clang-format_CMakeLists.txt) = f119d2a94cbfb8c00a285d1aa7789ed26f8309cf
diff --git a/clang-netbsd/patches/patch-lib_Basic_Targets_OSTargets.h b/clang-netbsd/patches/patch-lib_Basic_Targets_OSTargets.h
index b4cdf8adf1..1df572ab81 100644
--- a/clang-netbsd/patches/patch-lib_Basic_Targets_OSTargets.h
+++ b/clang-netbsd/patches/patch-lib_Basic_Targets_OSTargets.h
@@ -1,17 +1,16 @@
$NetBSD$
---- lib/Basic/Targets/OSTargets.h.orig 2017-07-24 13:42:56.662132868 +0000
+--- lib/Basic/Targets/OSTargets.h.orig 2017-12-08 22:12:36.236521252 +0000
+++ lib/Basic/Targets/OSTargets.h
-@@ -365,6 +365,8 @@ protected:
+@@ -358,12 +358,23 @@ protected:
Builder.defineMacro("__ELF__");
if (Opts.POSIXThreads)
Builder.defineMacro("_REENTRANT");
+ if (this->HasFloat128)
+ Builder.defineMacro("__FLOAT128__");
+ }
- switch (Triple.getArch()) {
- default:
-@@ -382,6 +384,15 @@ public:
+ public:
NetBSDTargetInfo(const llvm::Triple &Triple, const TargetOptions &Opts)
: OSTargetInfo<Target>(Triple, Opts) {
this->MCountName = "_mcount";
Home |
Main Index |
Thread Index |
Old Index