diff options
author | Ziusudra | 2022-12-04 23:04:10 -0700 |
---|---|---|
committer | Ziusudra | 2022-12-04 23:04:10 -0700 |
commit | aae247126e1cd6b3c96dae5c078bca6103833dc8 (patch) | |
tree | cc828d93b7975650fa831141e184f65e93270949 /Wno-restrict-plugins.patch | |
parent | bae742b2b4ba6470b0010cf4520b78f55907f7f7 (diff) | |
download | aur-dfhack.tar.gz |
dfhack-0.47.05-r8 +updated patches
Diffstat (limited to 'Wno-restrict-plugins.patch')
-rw-r--r-- | Wno-restrict-plugins.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Wno-restrict-plugins.patch b/Wno-restrict-plugins.patch new file mode 100644 index 000000000000..79a8a5d28742 --- /dev/null +++ b/Wno-restrict-plugins.patch @@ -0,0 +1,12 @@ +diff --unified --recursive --text dfhack/plugins/Plugins.cmake dfhack.new/plugins/Plugins.cmake +--- dfhack/plugins/Plugins.cmake 2022-12-04 19:58:58.989881762 -0700 ++++ dfhack.new/plugins/Plugins.cmake 2022-12-04 20:01:02.600600673 -0700 +@@ -140,7 +140,7 @@ + else() + set(PLUGIN_COMPILE_FLAGS "${PLUGIN_COMPILE_FLAGS} ${PLUGIN_COMPILE_FLAGS_MSVC}") + endif() +- set_target_properties(${PLUGIN_NAME} PROPERTIES COMPILE_FLAGS "${PLUGIN_COMPILE_FLAGS}") ++ set_target_properties(${PLUGIN_NAME} PROPERTIES COMPILE_FLAGS "${PLUGIN_COMPILE_FLAGS} -Wno-restrict") + + if(APPLE) + set_target_properties(${PLUGIN_NAME} PROPERTIES SUFFIX .plug.dylib PREFIX "") |