pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
coreclr-git: Backport patch by @juergenhoetzel to fix cmake
Module Name: pkgsrc-wip
Committed By: Kamil Rytarowski <n54%gmx.com@localhost>
Pushed By: kamil
Date: Sun Feb 21 14:32:51 2016 +0100
Changeset: 8689bc527b7d2d8dc23531da8053df88fa045872
Modified Files:
coreclr-git/distinfo
Added Files:
coreclr-git/patches/patch-src_pal_tools_gen-buildsys-clang.sh
Log Message:
coreclr-git: Backport patch by @juergenhoetzel to fix cmake
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=8689bc527b7d2d8dc23531da8053df88fa045872
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
coreclr-git/distinfo | 1 +
.../patch-src_pal_tools_gen-buildsys-clang.sh | 28 ++++++++++++++++++++++
2 files changed, 29 insertions(+)
diffs:
diff --git a/coreclr-git/distinfo b/coreclr-git/distinfo
index b1a90a0..fa48ece 100644
--- a/coreclr-git/distinfo
+++ b/coreclr-git/distinfo
@@ -6,3 +6,4 @@ SHA1 (patch-src_pal_src_cruntime_printf.cpp) = 8a86c57e1fe3953d158e1860f04bd19d7
SHA1 (patch-src_pal_src_cruntime_printfcpp.cpp) = 4d1ba5fea45402259c67428506f39d9c3128ecbd
SHA1 (patch-src_pal_src_cruntime_silent__printf.cpp) = 0922321ad05a90cc3b87b1e2663ff4d0b2e4717e
SHA1 (patch-src_pal_tests_palsuite_threading_GetProcessTimes_test2_test2.c) = 2e99bd2f7775fe8ddfef2b6a171b40623474befe
+SHA1 (patch-src_pal_tools_gen-buildsys-clang.sh) = a495e13ad919aaeaa0963795ff9a76a2f52983fa
diff --git a/coreclr-git/patches/patch-src_pal_tools_gen-buildsys-clang.sh b/coreclr-git/patches/patch-src_pal_tools_gen-buildsys-clang.sh
new file mode 100644
index 0000000..c97f988
--- /dev/null
+++ b/coreclr-git/patches/patch-src_pal_tools_gen-buildsys-clang.sh
@@ -0,0 +1,28 @@
+$NetBSD$
+
+--- src/pal/tools/gen-buildsys-clang.sh.orig 2016-02-15 22:52:17.000000000 +0000
++++ src/pal/tools/gen-buildsys-clang.sh
+@@ -1,6 +1,6 @@
+ #!/usr/bin/env bash
+ #
+-# This file invokes cmake and generates the build system for gcc.
++# This file invokes cmake and generates the build system for Clang.
+ #
+
+ if [ $# -lt 4 -o $# -gt 8 ]
+@@ -61,7 +61,7 @@ for i in "${@:5}"; do
+ generator=Ninja
+ ;;
+ *)
+- __UnprocessedCMakeArgs="$__UnprocessedCMakeArgs $i"
++ __UnprocessedCMakeArgs="${__UnprocessedCMakeArgs}${__UnprocessedCMakeArgs:+ }$i"
+ esac
+ done
+
+@@ -147,5 +147,5 @@ cmake \
+ "-DCMAKE_EXPORT_COMPILE_COMMANDS=1 " \
+ "-DCLR_CMAKE_BUILD_TESTS=$build_tests" \
+ $cmake_extra_defines \
+- "$__UnprocessedCMakeArgs" \
++ $__UnprocessedCMakeArgs \
+ "$1"
Home |
Main Index |
Thread Index |
Old Index