pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
lldb-git: Resurrect build on NetBSD-7.0
Module Name: pkgsrc-wip
Committed By: Kamil Rytarowski <n54%gmx.com@localhost>
Pushed By: kamil
Date: Fri May 13 00:06:40 2016 +0200
Changeset: e1d701d97f789eaf773253ad69cad0091f1c0fba
Modified Files:
lldb-git/distinfo
Added Files:
lldb-git/patches/patch-include_lldb_Host_Editline.h
Log Message:
lldb-git: Resurrect build on NetBSD-7.0
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=e1d701d97f789eaf773253ad69cad0091f1c0fba
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
lldb-git/distinfo | 1 +
.../patches/patch-include_lldb_Host_Editline.h | 29 ++++++++++++++++++++++
2 files changed, 30 insertions(+)
diffs:
diff --git a/lldb-git/distinfo b/lldb-git/distinfo
index 1fc170f..968b2f6 100644
--- a/lldb-git/distinfo
+++ b/lldb-git/distinfo
@@ -12,6 +12,7 @@ Size (libcxx-3.6.2.src.tar.xz) = 944020 bytes
SHA1 (llvm-3.6.2.src.tar.xz) = 7a00257eb2bc9431e4c77c3a36b033072c54bc7e
RMD160 (llvm-3.6.2.src.tar.xz) = 521cbc5fe2925ea3c6e90c7a31f752a04045c972
Size (llvm-3.6.2.src.tar.xz) = 12802380 bytes
+SHA1 (patch-include_lldb_Host_Editline.h) = c220b7adf57c18c414638d19c166930c3ae82cce
SHA1 (patch-include_lldb_Utility_regcclass.h) = 9ed649e8deb5924feaf82a6e675f5c596367b3d6
SHA1 (patch-include_lldb_Utility_regcname.h) = b67145f0437d3c09adc33a925d49267cd9ba4fd7
SHA1 (patch-include_lldb_Utility_regengine.inc) = a031c43a63acab80a97cfb7727326d610d4ad9ab
diff --git a/lldb-git/patches/patch-include_lldb_Host_Editline.h b/lldb-git/patches/patch-include_lldb_Host_Editline.h
new file mode 100644
index 0000000..7c4cc77
--- /dev/null
+++ b/lldb-git/patches/patch-include_lldb_Host_Editline.h
@@ -0,0 +1,29 @@
+$NetBSD$
+
+--- include/lldb/Host/Editline.h.orig 2016-05-12 20:11:40.000000000 +0000
++++ include/lldb/Host/Editline.h
+@@ -23,6 +23,15 @@
+
+ #ifndef liblldb_Editline_h_
+ #define liblldb_Editline_h_
++
++#if defined(__NetBSD__)
++#include <sys/param.h>
++#if __NetBSD_Prereq__(7,99,28)
++#define NETBSD_USE_WCHAR
++#endif
++#endif
++
++
+ #if defined(__cplusplus)
+
+ #include <sstream>
+@@ -32,7 +41,7 @@
+ // components needed to handle wide characters ( <codecvt>, codecvt_utf8, libedit built with '--enable-widec' )
+ // are available on some platforms. The wchar_t versions of libedit functions will only be
+ // used in cases where this is true. This is a compile time dependecy, for now selected per target Platform
+-#if defined (__APPLE__) || defined(__NetBSD__)
++#if defined (__APPLE__) || defined(NETBSD_USE_WCHAR)
+ #define LLDB_EDITLINE_USE_WCHAR 1
+ #include <codecvt>
+ #else
Home |
Main Index |
Thread Index |
Old Index