SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
32
devel/cmake/patches/patch-Source_cmMessenger_cxx
Normal file
32
devel/cmake/patches/patch-Source_cmMessenger_cxx
Normal file
|
@ -0,0 +1,32 @@
|
|||
Index: Source/cmMessenger.cxx
|
||||
--- Source/cmMessenger.cxx.orig
|
||||
+++ Source/cmMessenger.cxx
|
||||
@@ -62,7 +62,7 @@ static bool printMessagePreamble(MessageType t, std::o
|
||||
if (t == MessageType::FATAL_ERROR) {
|
||||
msg << "CMake Error";
|
||||
} else if (t == MessageType::INTERNAL_ERROR) {
|
||||
- msg << "CMake Internal Error (please report a bug)";
|
||||
+ msg << "CMake Internal Error";
|
||||
} else if (t == MessageType::LOG) {
|
||||
msg << "CMake Debug Log";
|
||||
} else if (t == MessageType::DEPRECATION_ERROR) {
|
||||
@@ -115,19 +115,6 @@ static void displayMessage(MessageType t, std::ostring
|
||||
|
||||
// Add a terminating blank line.
|
||||
msg << "\n";
|
||||
-
|
||||
-#if !defined(CMAKE_BOOTSTRAP)
|
||||
- // Add a C++ stack trace to internal errors.
|
||||
- if (t == MessageType::INTERNAL_ERROR) {
|
||||
- std::string stack = cmsys::SystemInformation::GetProgramStack(0, 0);
|
||||
- if (!stack.empty()) {
|
||||
- if (cmHasLiteralPrefix(stack, "WARNING:")) {
|
||||
- stack = "Note:" + stack.substr(8);
|
||||
- }
|
||||
- msg << stack << "\n";
|
||||
- }
|
||||
- }
|
||||
-#endif
|
||||
|
||||
// Output the message.
|
||||
cmMessageMetadata md;
|
Loading…
Add table
Add a link
Reference in a new issue