aboutsummaryrefslogtreecommitdiffstats
path: root/games/0ad
diff options
context:
space:
mode:
authormadpilot <madpilot@FreeBSD.org>2015-04-29 14:47:37 +0800
committermadpilot <madpilot@FreeBSD.org>2015-04-29 14:47:37 +0800
commite477c4d0fd444096276c821188d0d4a77ea7603b (patch)
tree91860ac116b785b1cd787f4708811b38d3138b57 /games/0ad
parent16293b65306aecf0b49bfd484501f62accecaa97 (diff)
downloadfreebsd-ports-gnome-e477c4d0fd444096276c821188d0d4a77ea7603b.tar.gz
freebsd-ports-gnome-e477c4d0fd444096276c821188d0d4a77ea7603b.tar.zst
freebsd-ports-gnome-e477c4d0fd444096276c821188d0d4a77ea7603b.zip
Fix build after const removal from iconv.
Reported by: ajtiM <lumiwa at gmail.com> (via email)
Diffstat (limited to 'games/0ad')
-rw-r--r--games/0ad/files/patch-build__premake__extern_libs4.lua13
1 files changed, 11 insertions, 2 deletions
diff --git a/games/0ad/files/patch-build__premake__extern_libs4.lua b/games/0ad/files/patch-build__premake__extern_libs4.lua
index 59d76aaadc89..33280e8f0153 100644
--- a/games/0ad/files/patch-build__premake__extern_libs4.lua
+++ b/games/0ad/files/patch-build__premake__extern_libs4.lua
@@ -1,6 +1,6 @@
---- build/premake/extern_libs4.lua.orig 2014-09-24 10:05:27 UTC
+--- build/premake/extern_libs4.lua.orig 2015-02-20 05:52:18 UTC
+++ build/premake/extern_libs4.lua
-@@ -237,7 +237,7 @@
+@@ -237,7 +237,7 @@ extern_lib_defs = {
end
-- TODO: This actually applies to most libraries we use on BSDs, make this a global setting.
if os.is("bsd") then
@@ -9,3 +9,12 @@
end
end,
link_settings = function()
+@@ -346,8 +346,6 @@ extern_lib_defs = {
+ elseif os.is("macosx") then
+ add_default_include_paths("iconv")
+ defines { "LIBICONV_STATIC" }
+- elseif os.getversion().description == "FreeBSD" then
+- defines { "HAVE_ICONV_CONST" }
+ end
+ end,
+ link_settings = function()