Skip to content

Commit

Permalink
[pagmo2] Minimize patch.
Browse files Browse the repository at this point in the history
  • Loading branch information
BillyONeal committed Sep 19, 2022
1 parent 817cbd0 commit 006c899
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
8 changes: 3 additions & 5 deletions ports/pagmo2/disable-werror.patch
Original file line number Diff line number Diff line change
@@ -1,22 +1,20 @@
diff --git a/cmake_modules/yacma/YACMACompilerLinkerSettings.cmake b/cmake_modules/yacma/YACMACompilerLinkerSettings.cmake
index 7d7aa1b..21613a2 100644
index 7d7aa1b..81c8bf6 100644
--- a/cmake_modules/yacma/YACMACompilerLinkerSettings.cmake
+++ b/cmake_modules/yacma/YACMACompilerLinkerSettings.cmake
@@ -95,7 +95,7 @@ if(NOT _YACMACompilerLinkerSettingsRun)
@@ -95,7 +95,6 @@ if(NOT _YACMACompilerLinkerSettingsRun)
# NOTE: enable unconditionally, as it seems like the CMake
# machinery for detecting this fails. Perhaps the source code
# used for checking the flag emits warnings?
- list(APPEND _YACMA_CXX_FLAGS_DEBUG "-Werror")
+ #list(APPEND _YACMA_CXX_FLAGS_DEBUG "-Werror")
# New warnings in clang 8.
# NOTE: a few issues with macros here, let's disable for now.
# _YACMA_CHECK_ENABLE_DEBUG_CXX_FLAG(-Wextra-semi-stmt)
@@ -180,7 +180,7 @@ if(NOT _YACMACompilerLinkerSettingsRun)
@@ -180,7 +179,6 @@ if(NOT _YACMACompilerLinkerSettingsRun)
# Enable higher warning level than usual.
_YACMA_CHECK_ENABLE_DEBUG_CXX_FLAG(/W4)
# Treat warnings as errors.
- _YACMA_CHECK_ENABLE_DEBUG_CXX_FLAG(/WX)
+ #_YACMA_CHECK_ENABLE_DEBUG_CXX_FLAG(/WX)
endif()

# Set the cache variables.
2 changes: 1 addition & 1 deletion versions/p-/pagmo2.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"versions": [
{
"git-tree": "bfe0d03585b15c5b5d21f60bb3e8ef89f4fe23ee",
"git-tree": "fa28deef736ea34bcc41143a960e8be97653ba1d",
"version": "2.18.0",
"port-version": 0
},
Expand Down

0 comments on commit 006c899

Please sign in to comment.