pkgsrc-WIP-changes archive

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

coreclr-git: Eliminate local patches, merged upstream



Module Name:	pkgsrc-wip
Committed By:	Kamil Rytarowski <n54%gmx.com@localhost>
Pushed By:	kamil
Date:		Fri Jan 22 00:51:39 2016 +0100
Changeset:	d2aaa54fdd46af2b4aeafb5f6cb7406a36d7e7d8

Modified Files:
	coreclr-git/Makefile
	coreclr-git/distinfo
Removed Files:
	coreclr-git/patches/patch-build.sh
	coreclr-git/patches/patch-run-cppcheck.sh
	coreclr-git/patches/patch-src_pal_src_configure.cmake
	coreclr-git/patches/patch-src_pal_src_loader_module.cpp

Log Message:
coreclr-git: Eliminate local patches, merged upstream

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

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

diffstat:
 coreclr-git/Makefile                               |  7 +---
 coreclr-git/distinfo                               |  4 ---
 coreclr-git/patches/patch-build.sh                 | 13 --------
 coreclr-git/patches/patch-run-cppcheck.sh          | 20 ------------
 .../patches/patch-src_pal_src_configure.cmake      | 38 ----------------------
 .../patches/patch-src_pal_src_loader_module.cpp    | 13 --------
 6 files changed, 1 insertion(+), 94 deletions(-)

diffs:
diff --git a/coreclr-git/Makefile b/coreclr-git/Makefile
index 8125c5b..33ad5d1 100644
--- a/coreclr-git/Makefile
+++ b/coreclr-git/Makefile
@@ -18,13 +18,8 @@ USE_LANGUAGES=	c c++
 USE_TOOLS+=	bash
 REPLACE_BASH+=	build.sh
 
-SUBST_CLASSES+=		python
-SUBST_STAGE.python=	pre-configure
-SUBST_FILES.python=	build.sh
-SUBST_SED.python=	-e 's,python ,${PYTHONBIN} ,'
-
 do-build:
-		${RUN} cd ${WRKSRC} && ./build.sh
+		${RUN} cd ${WRKSRC} && PYTHON=${PYTHONBIN} ./build.sh
 
 .include "../../wip/llvm-git/buildlink3.mk"
 .include "../../wip/lldb-git/buildlink3.mk"
diff --git a/coreclr-git/distinfo b/coreclr-git/distinfo
index 793bfe3..afc7651 100644
--- a/coreclr-git/distinfo
+++ b/coreclr-git/distinfo
@@ -1,6 +1,2 @@
 $NetBSD$
 
-SHA1 (patch-build.sh) = 6489403b0a2ab39d718ff249e93872297c591f95
-SHA1 (patch-run-cppcheck.sh) = 0fc41126112b23aca159bea1c2474e90a6eef322
-SHA1 (patch-src_pal_src_configure.cmake) = ce7fcf8da51c43cf1aba677809a3027f2cab9573
-SHA1 (patch-src_pal_src_loader_module.cpp) = 820de87ead31396d54d5523dd9bc0d6bc210ee4d
diff --git a/coreclr-git/patches/patch-build.sh b/coreclr-git/patches/patch-build.sh
deleted file mode 100644
index 8bbed61..0000000
--- a/coreclr-git/patches/patch-build.sh
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD$
-
---- build.sh.orig	2016-01-21 18:24:09.000000000 +0000
-+++ build.sh
-@@ -129,6 +129,8 @@ build_coreclr()
-     # processors available to a single process.
-     if [ `uname` = "FreeBSD" ]; then
-         NumProc=`sysctl hw.ncpu | awk '{ print $2+1 }'`
-+    elif [ `uname` = "NetBSD" ]; then
-+        NumProc=$(($(getconf NPROCESSORS_ONLN)+1))
-     else
-         NumProc=$(($(getconf _NPROCESSORS_ONLN)+1))
-     fi
diff --git a/coreclr-git/patches/patch-run-cppcheck.sh b/coreclr-git/patches/patch-run-cppcheck.sh
deleted file mode 100644
index c602b3c..0000000
--- a/coreclr-git/patches/patch-run-cppcheck.sh
+++ /dev/null
@@ -1,20 +0,0 @@
-$NetBSD$
-
---- run-cppcheck.sh.orig	2016-01-18 21:51:38.000000000 +0000
-+++ run-cppcheck.sh
-@@ -41,6 +41,8 @@ SloccountOutput="sloccount.sc"
- # processors available to a single process.
- if [ `uname` = "FreeBSD" ]; then
- NumProc=`sysctl hw.ncpu | awk '{ print $2+1 }'`
-+elif [ `uname` = "NetBSD" ]; then
-+NumProc=$(($(getconf NPROCESSORS_ONLN)+1))
- else
- NumProc=$(($(getconf _NPROCESSORS_ONLN)+1))
- fi
-@@ -114,4 +116,4 @@ then
- fi
- 
- echo Check finished.  Results can be found in: $CppCheckOutputs $SlocCountOutputs
--exit 0
-\ No newline at end of file
-+exit 0
diff --git a/coreclr-git/patches/patch-src_pal_src_configure.cmake b/coreclr-git/patches/patch-src_pal_src_configure.cmake
deleted file mode 100644
index 7bc1f41..0000000
--- a/coreclr-git/patches/patch-src_pal_src_configure.cmake
+++ /dev/null
@@ -1,38 +0,0 @@
-$NetBSD$
-
---- src/pal/src/configure.cmake.orig	2016-01-18 21:51:39.000000000 +0000
-+++ src/pal/src/configure.cmake
-@@ -943,7 +943,27 @@ elseif(CMAKE_SYSTEM_NAME STREQUAL FreeBS
-   else()
-     message(FATAL_ERROR "Cannot find libc on this system.")
-   endif()
--  
-+
-+elseif(CMAKE_SYSTEM_NAME STREQUAL NetBSD)
-+  if(NOT HAVE_LIBUNWIND_H)
-+    unset(HAVE_LIBUNWIND_H CACHE)
-+    message(WARNING "Cannot find libunwind. Try installing libunwind8 and libunwind8-dev (or the appropriate packages for your platform)")
-+  endif()
-+  if(NOT HAVE_BSD_UUID_H)
-+    unset(HAVE_BSD_UUID_H CACHE)
-+    message(FATAL_ERROR "Cannot find uuid.h")
-+  endif()
-+  set(DEADLOCK_WHEN_THREAD_IS_SUSPENDED_WHILE_BLOCKED_ON_MUTEX 0)
-+  set(PAL_PTRACE "ptrace((cmd), (pid), (void*)(addr), (data))")
-+  set(PAL_PT_ATTACH PT_ATTACH)
-+  set(PAL_PT_DETACH PT_DETACH)
-+  set(PAL_PT_READ_D PT_READ_D)
-+  set(PAL_PT_WRITE_D PT_WRITE_D)
-+  set(JA_JP_LOCALE_NAME ja_JP_LOCALE_NOT_FOUND)
-+  set(KO_KR_LOCALE_NAME ko_KR_LOCALE_NOT_FOUND)
-+  set(ZH_TW_LOCALE_NAME zh_TW_LOCALE_NOT_FOUND)
-+  set(HAS_FTRUNCATE_LENGTH_ISSUE 0)
-+
- elseif(CMAKE_SYSTEM_NAME STREQUAL SunOS)
-   if(NOT HAVE_LIBUNWIND_H)
-     unset(HAVE_LIBUNWIND_H CACHE)
-@@ -989,4 +1009,3 @@ else() # Anything else is Linux
- endif(CMAKE_SYSTEM_NAME STREQUAL Darwin)
- 
- configure_file(${CMAKE_CURRENT_SOURCE_DIR}/config.h.in ${CMAKE_CURRENT_BINARY_DIR}/config.h)
--
diff --git a/coreclr-git/patches/patch-src_pal_src_loader_module.cpp b/coreclr-git/patches/patch-src_pal_src_loader_module.cpp
deleted file mode 100644
index 2560b3b..0000000
--- a/coreclr-git/patches/patch-src_pal_src_loader_module.cpp
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD$
-
---- src/pal/src/loader/module.cpp.orig	2016-01-18 21:51:39.000000000 +0000
-+++ src/pal/src/loader/module.cpp
-@@ -1621,6 +1621,8 @@ static HMODULE LOADLoadLibrary(LPCSTR sh
-         shortAsciiName = "libc.dylib";
- #elif defined(__FreeBSD__)
-         shortAsciiName = FREEBSD_LIBC;
-+#elif defined(__NetBSD__)
-+        shortAsciiName = "libc.so";
- #else
-         shortAsciiName = LIBC_SO;
- #endif


Home | Main Index | Thread Index | Old Index