pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
coreclr-git: Add kludge to unblock building for NetBSD
Module Name: pkgsrc-wip
Committed By: Kamil Rytarowski <n54%gmx.com@localhost>
Pushed By: kamil
Date: Sun Jan 24 04:50:58 2016 +0100
Changeset: 8723b343d3cb7a4dd9e027e25685f24999fb8dc7
Modified Files:
coreclr-git/distinfo
Added Files:
coreclr-git/patches/patch-src_pal_src_cruntime_file.cpp
Log Message:
coreclr-git: Add kludge to unblock building for NetBSD
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=8723b343d3cb7a4dd9e027e25685f24999fb8dc7
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_pal_src_cruntime_file.cpp | 22 ++++++++++++++++++++++
2 files changed, 23 insertions(+)
diffs:
diff --git a/coreclr-git/distinfo b/coreclr-git/distinfo
index afc7651..28824ed 100644
--- a/coreclr-git/distinfo
+++ b/coreclr-git/distinfo
@@ -1,2 +1,3 @@
$NetBSD$
+SHA1 (patch-src_pal_src_cruntime_file.cpp) = aefeb45ffc205d9c1f8893c8699b1a948ee24dad
diff --git a/coreclr-git/patches/patch-src_pal_src_cruntime_file.cpp b/coreclr-git/patches/patch-src_pal_src_cruntime_file.cpp
new file mode 100644
index 0000000..c8dff6f
--- /dev/null
+++ b/coreclr-git/patches/patch-src_pal_src_cruntime_file.cpp
@@ -0,0 +1,22 @@
+$NetBSD$
+
+--- src/pal/src/cruntime/file.cpp.orig 2016-01-18 21:51:39.000000000 +0000
++++ src/pal/src/cruntime/file.cpp
+@@ -841,7 +841,7 @@ PAL_fgetpos (
+ PAL_fpos_t *pos
+ )
+ {
+-#ifdef __LINUX__
++#if defined(__LINUX__) || defined(__NetBSD__)
+ // TODO: implement for Linux if required
+ ASSERT(FALSE);
+ return -1;
+@@ -887,7 +887,7 @@ PAL_fsetpos (
+ const PAL_fpos_t *pos
+ )
+ {
+-#ifdef __LINUX__
++#if defined(__LINUX__) || defined(__NetBSD__)
+ // TODO: implement for Linux if required
+ ASSERT(FALSE);
+ return -1;
Home |
Main Index |
Thread Index |
Old Index