pkgsrc-WIP-changes archive

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

mono-git: Add patch-eglib_src_giconv.c



Module Name:	pkgsrc-wip
Committed By:	Kamil Rytarowski <n54%gmx.com@localhost>
Pushed By:	kamil
Date:		Mon Aug 8 22:39:36 2016 +0200
Changeset:	ad34bf5a82f4679b42ec4825a5ef160d6e3d5149

Modified Files:
	mono-git/distinfo
Added Files:
	mono-git/patches/patch-eglib_src_giconv.c

Log Message:
mono-git: Add patch-eglib_src_giconv.c

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

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

diffstat:
 mono-git/distinfo                         |  1 +
 mono-git/patches/patch-eglib_src_giconv.c | 17 +++++++++++++++++
 2 files changed, 18 insertions(+)

diffs:
diff --git a/mono-git/distinfo b/mono-git/distinfo
index 8373ed4..5d50337 100644
--- a/mono-git/distinfo
+++ b/mono-git/distinfo
@@ -5,5 +5,6 @@ RMD160 (mono-4.4.0.122.tar.bz2) = 41d58720d7cb4f510cad64c1dbecdd9a6c9d19a1
 SHA512 (mono-4.4.0.122.tar.bz2) = 264b3779fc94e40c44f8cc637169d7f3a6367ead75b932069bc0498d53c13ea62ef5711784d1bc0767b85e0cb04424b9eee0ce7ed10772076902b55210097a10
 Size (mono-4.4.0.122.tar.bz2) = 84904723 bytes
 SHA1 (patch-eglib_configure.ac) = e9cac305765024018f01271786ed80ee7c44b814
+SHA1 (patch-eglib_src_giconv.c) = b56e6d328f614d7f70e156a2458b11b36b439f28
 SHA1 (patch-mono_utils_Makefile.am) = b3bf378d1576c98262dce0a1b08bf45d013fa323
 SHA1 (patch-mono_utils_mono-threads-netbsd.c) = 244d88cd407bc28f498bb2e35b44304a7c911325
diff --git a/mono-git/patches/patch-eglib_src_giconv.c b/mono-git/patches/patch-eglib_src_giconv.c
new file mode 100644
index 0000000..00eefe0
--- /dev/null
+++ b/mono-git/patches/patch-eglib_src_giconv.c
@@ -0,0 +1,17 @@
+$NetBSD$
+
+--- eglib/src/giconv.c.orig	2016-05-07 13:14:32.000000000 +0000
++++ eglib/src/giconv.c
+@@ -199,8 +199,11 @@ g_iconv (GIConv cd, gchar **inbytes, gsi
+ 		} else {
+ 			outleftptr = NULL;
+ 		}
+-		
++#if defined(__NetBSD__)
++		return iconv (cd->cd, (const gchar **)inbytes, inleftptr, outbytes, outleftptr);
++#else
+ 		return iconv (cd->cd, inbytes, inleftptr, outbytes, outleftptr);
++#endif
+ 	}
+ #endif
+ 	


Home | Main Index | Thread Index | Old Index