Skip to content

Commit 006c899

Browse files
committed
[pagmo2] Minimize patch.
1 parent 817cbd0 commit 006c899

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

Diff for: ports/pagmo2/disable-werror.patch

+3-5
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,20 @@
11
diff --git a/cmake_modules/yacma/YACMACompilerLinkerSettings.cmake b/cmake_modules/yacma/YACMACompilerLinkerSettings.cmake
2-
index 7d7aa1b..21613a2 100644
2+
index 7d7aa1b..81c8bf6 100644
33
--- a/cmake_modules/yacma/YACMACompilerLinkerSettings.cmake
44
+++ b/cmake_modules/yacma/YACMACompilerLinkerSettings.cmake
5-
@@ -95,7 +95,7 @@ if(NOT _YACMACompilerLinkerSettingsRun)
5+
@@ -95,7 +95,6 @@ if(NOT _YACMACompilerLinkerSettingsRun)
66
# NOTE: enable unconditionally, as it seems like the CMake
77
# machinery for detecting this fails. Perhaps the source code
88
# used for checking the flag emits warnings?
99
- list(APPEND _YACMA_CXX_FLAGS_DEBUG "-Werror")
10-
+ #list(APPEND _YACMA_CXX_FLAGS_DEBUG "-Werror")
1110
# New warnings in clang 8.
1211
# NOTE: a few issues with macros here, let's disable for now.
1312
# _YACMA_CHECK_ENABLE_DEBUG_CXX_FLAG(-Wextra-semi-stmt)
14-
@@ -180,7 +180,7 @@ if(NOT _YACMACompilerLinkerSettingsRun)
13+
@@ -180,7 +179,6 @@ if(NOT _YACMACompilerLinkerSettingsRun)
1514
# Enable higher warning level than usual.
1615
_YACMA_CHECK_ENABLE_DEBUG_CXX_FLAG(/W4)
1716
# Treat warnings as errors.
1817
- _YACMA_CHECK_ENABLE_DEBUG_CXX_FLAG(/WX)
19-
+ #_YACMA_CHECK_ENABLE_DEBUG_CXX_FLAG(/WX)
2018
endif()
2119

2220
# Set the cache variables.

Diff for: versions/p-/pagmo2.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"versions": [
33
{
4-
"git-tree": "bfe0d03585b15c5b5d21f60bb3e8ef89f4fe23ee",
4+
"git-tree": "fa28deef736ea34bcc41143a960e8be97653ba1d",
55
"version": "2.18.0",
66
"port-version": 0
77
},

0 commit comments

Comments
 (0)