pkgsrc-WIP-changes archive

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

coreclr-git: Try to improve patch for _vsnprintf



Module Name:	pkgsrc-wip
Committed By:	Kamil Rytarowski <n54%gmx.com@localhost>
Pushed By:	kamil
Date:		Wed Apr 13 00:03:55 2016 +0200
Changeset:	2ac908fabd46fde7f9cf1ef70c3f3497ae9416bb

Modified Files:
	coreclr-git/distinfo
Added Files:
	coreclr-git/patches/patch-src_ToolBox_SOS_Strike_strike.h

Log Message:
coreclr-git: Try to improve patch for _vsnprintf

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

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

diffstat:
 coreclr-git/distinfo                                   |  1 +
 .../patches/patch-src_ToolBox_SOS_Strike_strike.h      | 18 ++++++++++++++++++
 2 files changed, 19 insertions(+)

diffs:
diff --git a/coreclr-git/distinfo b/coreclr-git/distinfo
index 6fbbbcc..c9e89d8 100644
--- a/coreclr-git/distinfo
+++ b/coreclr-git/distinfo
@@ -1,5 +1,6 @@
 $NetBSD$
 
+SHA1 (patch-src_ToolBox_SOS_Strike_strike.h) = 3c92ad66bb589d01957da754534d25ad7fba91c1
 SHA1 (patch-src_coreclr_hosts_unixcoreruncommon_coreruncommon.cpp) = 146372d15f157088d450d4cd37cd2aac590e6d06
 SHA1 (patch-src_pal_inc_pal.h) = 7d3ef148af8b1b24067ba4cb5efc12581ebc6881
 SHA1 (patch-src_pal_src_cruntime_printf.cpp) = 8a86c57e1fe3953d158e1860f04bd19d7df1fe08
diff --git a/coreclr-git/patches/patch-src_ToolBox_SOS_Strike_strike.h b/coreclr-git/patches/patch-src_ToolBox_SOS_Strike_strike.h
new file mode 100644
index 0000000..af3ae64
--- /dev/null
+++ b/coreclr-git/patches/patch-src_ToolBox_SOS_Strike_strike.h
@@ -0,0 +1,18 @@
+$NetBSD$
+
+--- src/ToolBox/SOS/Strike/strike.h.orig	2016-04-08 23:29:23.000000000 +0000
++++ src/ToolBox/SOS/Strike/strike.h
+@@ -42,8 +42,13 @@
+ #define _wcscspn    wcscspn
+ #define _wcscat     wcscat
+ #define _wcsstr     wcsstr
++#define _wcsstr     wcsstr
+ #endif // !PAL_STDCPP_COMPAT
+ 
++#ifdef PLATFORM_UNIX
++#define  _vsnprintf vsnprintf
++#endif
++
+ #define ___in       _SAL1_Source_(__in, (), _In_)
+ #define ___out      _SAL1_Source_(__out, (), _Out_)
+ 


Home | Main Index | Thread Index | Old Index