pkgsrc-WIP-changes archive

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

coreclr-git: Improve patch for checking for BSD uuid.h



Module Name:	pkgsrc-wip
Committed By:	Kamil Rytarowski <n54%gmx.com@localhost>
Pushed By:	kamil
Date:		Sun Feb 14 16:05:19 2016 +0100
Changeset:	f2350ccaa8f3192fdebbb4ddd8eb6193bd153c0a

Modified Files:
	coreclr-git/distinfo
Added Files:
	coreclr-git/patches/patch-src_pal_src_configure.cmake

Log Message:
coreclr-git: Improve patch for checking for BSD uuid.h

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

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_configure.cmake      | 29 ++++++++++++++++++++++
 2 files changed, 30 insertions(+)

diffs:
diff --git a/coreclr-git/distinfo b/coreclr-git/distinfo
index 0d56585..3c98d69 100644
--- a/coreclr-git/distinfo
+++ b/coreclr-git/distinfo
@@ -6,6 +6,7 @@ SHA1 (patch-src_dlls_mscordac_CMakeLists.txt) = b6cb6eccb95906cc937528aa665ec883
 SHA1 (patch-src_dlls_mscordbi_CMakeLists.txt) = e426383ed88d49d127b4f2a1180e72356a3906f7
 SHA1 (patch-src_dlls_mscoree_coreclr_CMakeLists.txt) = 50339aa1e75d76ef1e9d24c149bc8749c2bea240
 SHA1 (patch-src_pal_inc_pal.h) = b2cf698debe62fb081ecfd54d97c3a1328f7621d
+SHA1 (patch-src_pal_src_configure.cmake) = 8bef58a1772396f810a20cd5d987c53c34c4d0b0
 SHA1 (patch-src_pal_src_cruntime_misc.cpp) = cbef115e6bcbd9166105b25362d7f64729676dcf
 SHA1 (patch-src_pal_src_include_pal_misc.h) = 08ebba414b6579c2ca62b04dccb78d388dd9641a
 SHA1 (patch-src_pal_src_include_pal_palinternal.h) = 9bb986f199ff3d761ae98c8df4f6c60c4ceb9261
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..f95d4ab
--- /dev/null
+++ b/coreclr-git/patches/patch-src_pal_src_configure.cmake
@@ -0,0 +1,29 @@
+$NetBSD$
+
+--- src/pal/src/configure.cmake.orig	2016-02-13 00:18:27.000000000 +0000
++++ src/pal/src/configure.cmake
+@@ -35,7 +35,6 @@ check_include_files(libunwind.h HAVE_LIB
+ check_include_files(runetype.h HAVE_RUNETYPE_H)
+ check_include_files(lttng/tracepoint.h HAVE_LTTNG_TRACEPOINT_H)
+ check_include_files(uuid/uuid.h HAVE_LIBUUID_H)
+-check_include_files(uuid.h HAVE_BSD_UUID_H)
+ 
+ check_function_exists(kqueue HAVE_KQUEUE)
+ check_function_exists(getpwuid_r HAVE_GETPWUID_R)
+@@ -111,6 +110,16 @@ check_cxx_symbol_exists(_SC_PHYS_PAGES u
+ check_cxx_symbol_exists(_SC_AVPHYS_PAGES unistd.h HAVE__SC_AVPHYS_PAGES)
+ 
+ check_cxx_source_runs("
++#include <uuid.h>
++
++int main(void) {
++  uuid_t uuid;
++  uint32_t status;
++  uuid_create(&uuid, &status);
++  exit(0);
++}" HAVE_BSD_UUID_H)
++
++check_cxx_source_runs("
+ #include <sys/param.h>
+ #include <stdlib.h>
+ 


Home | Main Index | Thread Index | Old Index