Skip to content
Permalink
Browse files

widelands-devel: bump to 20190422 (r9059)

needs a patch to disable a clang Werror
  • Loading branch information
kencu committed Apr 23, 2019
1 parent 1f81564 commit 68a770232df0af46fce7d740a0f02d1bfa2cfb85
Showing with 17 additions and 2 deletions.
  1. +4 −2 games/widelands/Portfile
  2. +13 −0 games/widelands/files/patch-widelands-disable-werror-deprecated.diff
@@ -57,8 +57,8 @@ if {${subport} eq ${name}} {
fetch.type bzr
bzr.url lp:widelands

version 20180719
bzr.revision 8759
version 20190422
bzr.revision 9059

# older systems don't build ASAN
if {${os.platform} eq "darwin" && ${os.major} < 11} {
@@ -68,6 +68,8 @@ if {${subport} eq ${name}} {
bzr.revision -1
}

patchfiles patch-widelands-disable-werror-deprecated.diff

conflicts ${name}

long_description ${description}: \
@@ -0,0 +1,13 @@
diff --git CMakeLists.txt.orig CMakeLists.txt
index 5c5ca8a..13c29b8 100644
--- CMakeLists.txt.orig
+++ CMakeLists.txt
@@ -210,7 +210,7 @@ if("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")
wl_add_flag(WL_COMPILE_DIAGNOSTICS "-Wno-unreachable-code")
wl_add_flag(WL_COMPILE_DIAGNOSTICS "-Wno-documentation")

- wl_add_flag(WL_COMPILE_DIAGNOSTICS "-Werror=deprecated")
+ # wl_add_flag(WL_COMPILE_DIAGNOSTICS "-Werror=deprecated")
wl_add_flag(WL_COMPILE_DIAGNOSTICS "-Werror=non-pod-varargs")

wl_add_flag(WL_COMPILE_DIAGNOSTICS "-Qunused-arguments")

0 comments on commit 68a7702

Please sign in to comment.
You can’t perform that action at this time.