pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

0ad: Add patch



Module Name:	pkgsrc-wip
Committed By:	Michael Baeuerle <micha%NetBSD.org@localhost>
Pushed By:	micha
Date:		Wed Dec 15 11:22:47 2021 +0100
Changeset:	3d58c9b8a4b6cb2ed1a31621790b15dc7c31c694

Modified Files:
	0ad/distinfo
Added Files:
	0ad/patches/patch-build_premake_extern__libs5.lua

Log Message:
0ad: Add patch

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=3d58c9b8a4b6cb2ed1a31621790b15dc7c31c694

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 0ad/distinfo                                      |  1 +
 0ad/patches/patch-build_premake_extern__libs5.lua | 13 +++++++++++++
 2 files changed, 14 insertions(+)

diffs:
diff --git a/0ad/distinfo b/0ad/distinfo
index b28d78d7dc..f6009d71d7 100644
--- a/0ad/distinfo
+++ b/0ad/distinfo
@@ -4,6 +4,7 @@ SHA1 (0ad-0.0.25b-alpha-unix-build.tar.xz) = 130444c15e29c7fa1333b8719ae7c7da367
 RMD160 (0ad-0.0.25b-alpha-unix-build.tar.xz) = 295ad0f386df10cc95cee7dea889ccd43224dd1e
 SHA512 (0ad-0.0.25b-alpha-unix-build.tar.xz) = e8069897b97b381099ab5ec5868d27e96c699105b3307054d1bc7bf9236a537f02625ba9034892d91f3e951b4f95c9ce5fb75ed0a7c14b8a294882482fd9c1b4
 Size (0ad-0.0.25b-alpha-unix-build.tar.xz) = 75579956 bytes
+SHA1 (patch-build_premake_extern__libs5.lua) = 4a0c97a89945d0818fcb22ab09aa329160e727e8
 SHA1 (patch-build_workspaces_clean-workspaces.sh) = fed7e867eb8e24e37860599269f9feb4d30c5a43
 SHA1 (patch-build_workspaces_update-workspaces.sh) = 3e92f823e3204451522055a5f4cd2ee1d5819b2f
 SHA1 (patch-libraries_source_fcollada_include_FCDocument_FCDocument.h) = 96aef76c02ae4a3f47fdb7c31bf7d11490ba5d09
diff --git a/0ad/patches/patch-build_premake_extern__libs5.lua b/0ad/patches/patch-build_premake_extern__libs5.lua
new file mode 100644
index 0000000000..de40e0227b
--- /dev/null
+++ b/0ad/patches/patch-build_premake_extern__libs5.lua
@@ -0,0 +1,13 @@
+$NetBSD$
+
+--- build/premake/extern_libs5.lua.orig	2016-03-12 18:15:04.000000000 +0000
++++ build/premake/extern_libs5.lua
+@@ -347,7 +347,7 @@ extern_lib_defs = {
+ 			elseif os.is("macosx") then
+ 				add_default_include_paths("iconv")
+ 				defines { "LIBICONV_STATIC" }
+-			elseif os.getversion().description == "FreeBSD" then
++			elseif os.getversion().description == "NetBSD" then
+ 				defines { "HAVE_ICONV_CONST" }
+ 				defines { "ICONV_CONST=const" }
+ 			end


Home | Main Index | Thread Index | Old Index