pkgsrc-WIP-changes archive

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

coreclr-git: Set library path for NetBSD.



Module Name:	pkgsrc-wip
Committed By:	jasonwilliams200ok <necmon%yahoo.com@localhost>
Pushed By:	danglingpointer
Date:		Sun Feb 7 00:29:37 2016 +0000
Changeset:	9d971437a775e2d939de9b1c0414b3162ad25f1c

Modified Files:
	coreclr-git/distinfo
	coreclr-git/patches/patch-src_pal_inc_pal__char16.h
	coreclr-git/patches/patch-src_pal_src_debug_debug.cpp
	coreclr-git/patches/patch-src_pal_src_exception_signal.cpp
	coreclr-git/patches/patch-src_pal_src_thread_context.cpp
Added Files:
	coreclr-git/patches/patch-src_pal_src_CMakeLists.txt
	coreclr-git/patches/patch-src_pal_src_configure.cmake

Log Message:
coreclr-git: Set library path for NetBSD.

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

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

diffstat:
 coreclr-git/distinfo                                       | 12 ++++++------
 coreclr-git/patches/patch-src_pal_inc_pal__char16.h        |  2 +-
 coreclr-git/patches/patch-src_pal_src_CMakeLists.txt       | 12 ++++++++++++
 coreclr-git/patches/patch-src_pal_src_configure.cmake      | 13 +++++++++++++
 coreclr-git/patches/patch-src_pal_src_debug_debug.cpp      |  2 +-
 coreclr-git/patches/patch-src_pal_src_exception_signal.cpp |  2 +-
 coreclr-git/patches/patch-src_pal_src_thread_context.cpp   |  2 +-
 7 files changed, 35 insertions(+), 10 deletions(-)

diffs:
diff --git a/coreclr-git/distinfo b/coreclr-git/distinfo
index fd49a30..49711e9 100644
--- a/coreclr-git/distinfo
+++ b/coreclr-git/distinfo
@@ -1,8 +1,8 @@
 $NetBSD$
 
-SHA1 (patch-src_pal_inc_pal__char16.h) = 205f6a8533838c192b36bbb00155da1b02e0f629
-SHA1 (patch-src_pal_src_CMakeLists.txt) = 1a8b4d357578a851306c6930f8de1b7e64eeab0a
-SHA1 (patch-src_pal_src_debug_debug.cpp) = 0d6bee5d2896de64effafa01d2e2989de82c76fc
-SHA1 (patch-src_pal_src_exception_seh-unwind.cpp) = 3a0c587cf9a4f00a0da2cd7a7a59a24b330e1f3d
-SHA1 (patch-src_pal_src_exception_signal.cpp) = ba0cabad71792a0108ffd9ec29254751f1e95997
-SHA1 (patch-src_pal_src_thread_context.cpp) = c982763c5b6c9905fd1f14b1271baae5a2fbf052
+SHA1 (patch-src_pal_inc_pal__char16.h) = ca743d8330802f1a626b1c335461c733eb2a6325
+SHA1 (patch-src_pal_src_CMakeLists.txt) = 70b48ae972cf214c9e38119f376a6b6c83079fe9
+SHA1 (patch-src_pal_src_configure.cmake) = 3c43cd68dffab48a1ab8a6997a681197ddacaac4
+SHA1 (patch-src_pal_src_debug_debug.cpp) = ef966aebe05933b671ed77aba7ca8b0db59f20e3
+SHA1 (patch-src_pal_src_exception_signal.cpp) = 65015ec62b45d65a9b96742faa606e7b094e8662
+SHA1 (patch-src_pal_src_thread_context.cpp) = eb0c789e9fd6ac4ec5b20bee09a8d6ea2076fb6e
diff --git a/coreclr-git/patches/patch-src_pal_inc_pal__char16.h b/coreclr-git/patches/patch-src_pal_inc_pal__char16.h
index 349876e..e9c1a2e 100644
--- a/coreclr-git/patches/patch-src_pal_inc_pal__char16.h
+++ b/coreclr-git/patches/patch-src_pal_inc_pal__char16.h
@@ -1,6 +1,6 @@
 $NetBSD$
 
---- src/pal/inc/pal_char16.h.orig	2016-01-28 19:04:13.000000000 +0000
+--- src/pal/inc/pal_char16.h.orig	2016-02-06 09:37:43.000000000 +0000
 +++ src/pal/inc/pal_char16.h
 @@ -29,6 +29,8 @@ This file is used to define the wchar_t 
  #ifndef PAL_STDCPP_COMPAT
diff --git a/coreclr-git/patches/patch-src_pal_src_CMakeLists.txt b/coreclr-git/patches/patch-src_pal_src_CMakeLists.txt
new file mode 100644
index 0000000..eb6dd17
--- /dev/null
+++ b/coreclr-git/patches/patch-src_pal_src_CMakeLists.txt
@@ -0,0 +1,12 @@
+$NetBSD$
+
+--- src/pal/src/CMakeLists.txt.orig	2016-02-06 09:37:43.000000000 +0000
++++ src/pal/src/CMakeLists.txt
+@@ -263,6 +263,7 @@ if(CMAKE_SYSTEM_NAME STREQUAL Linux)
+ endif(CMAKE_SYSTEM_NAME STREQUAL Linux)
+ 
+ if(CMAKE_SYSTEM_NAME STREQUAL NetBSD)
++  include_directories(SYSTEM /usr/pkg/include)
+   find_library(UNWIND unwind)
+   find_library(INTL intl)
+   target_link_libraries(coreclrpal
diff --git a/coreclr-git/patches/patch-src_pal_src_configure.cmake b/coreclr-git/patches/patch-src_pal_src_configure.cmake
new file mode 100644
index 0000000..f75a55b
--- /dev/null
+++ b/coreclr-git/patches/patch-src_pal_src_configure.cmake
@@ -0,0 +1,13 @@
+$NetBSD$
+
+--- src/pal/src/configure.cmake.orig	2016-02-06 09:37:43.000000000 +0000
++++ src/pal/src/configure.cmake
+@@ -9,6 +9,8 @@ include(CheckLibraryExists)
+ 
+ if(CMAKE_SYSTEM_NAME STREQUAL FreeBSD)
+   set(CMAKE_REQUIRED_INCLUDES /usr/local/include)
++elseif(CMAKE_SYSTEM_NAME STREQUAL NetBSD)
++  set(CMAKE_REQUIRED_INCLUDES /usr/pkg/include)
+ elseif(CMAKE_SYSTEM_NAME STREQUAL SunOS)
+   set(CMAKE_REQUIRED_INCLUDES /opt/local/include)
+ endif()
diff --git a/coreclr-git/patches/patch-src_pal_src_debug_debug.cpp b/coreclr-git/patches/patch-src_pal_src_debug_debug.cpp
index aa8a09d..6454b5c 100644
--- a/coreclr-git/patches/patch-src_pal_src_debug_debug.cpp
+++ b/coreclr-git/patches/patch-src_pal_src_debug_debug.cpp
@@ -1,6 +1,6 @@
 $NetBSD$
 
---- src/pal/src/debug/debug.cpp.orig	2016-01-28 19:04:13.000000000 +0000
+--- src/pal/src/debug/debug.cpp.orig	2016-02-06 09:37:43.000000000 +0000
 +++ src/pal/src/debug/debug.cpp
 @@ -146,7 +146,8 @@ FlushInstructionCache(
  
diff --git a/coreclr-git/patches/patch-src_pal_src_exception_signal.cpp b/coreclr-git/patches/patch-src_pal_src_exception_signal.cpp
index af832dc..8347aae 100644
--- a/coreclr-git/patches/patch-src_pal_src_exception_signal.cpp
+++ b/coreclr-git/patches/patch-src_pal_src_exception_signal.cpp
@@ -1,6 +1,6 @@
 $NetBSD$
 
---- src/pal/src/exception/signal.cpp.orig	2016-01-28 19:04:13.000000000 +0000
+--- src/pal/src/exception/signal.cpp.orig	2016-02-06 09:37:43.000000000 +0000
 +++ src/pal/src/exception/signal.cpp
 @@ -45,7 +45,7 @@ using namespace CorUnix;
  
diff --git a/coreclr-git/patches/patch-src_pal_src_thread_context.cpp b/coreclr-git/patches/patch-src_pal_src_thread_context.cpp
index 1dfdc70..d191514 100644
--- a/coreclr-git/patches/patch-src_pal_src_thread_context.cpp
+++ b/coreclr-git/patches/patch-src_pal_src_thread_context.cpp
@@ -1,6 +1,6 @@
 $NetBSD$
 
---- src/pal/src/thread/context.cpp.orig	2016-02-02 22:59:18.000000000 +0000
+--- src/pal/src/thread/context.cpp.orig	2016-02-06 09:37:43.000000000 +0000
 +++ src/pal/src/thread/context.cpp
 @@ -19,6 +19,8 @@ Abstract:
  


Home | Main Index | Thread Index | Old Index