pkgsrc-WIP-changes archive

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

lldb-git: Readd patches for variadic args usage



Module Name:	pkgsrc-wip
Committed By:	Kamil Rytarowski <n54%gmx.com@localhost>
Pushed By:	kamil
Date:		Sat Sep 10 21:36:56 2016 +0200
Changeset:	a403cf3728f0314d54175d58b0b91b6483010c6d

Modified Files:
	lldb-git/distinfo
	lldb-git/patches/patch-include_lldb_Utility_regcclass.h
	lldb-git/patches/patch-include_lldb_Utility_regcname.h
	lldb-git/patches/patch-include_lldb_Utility_regengine.inc
	lldb-git/patches/patch-include_lldb_Utility_regex2.h
	lldb-git/patches/patch-include_lldb_Utility_regex__impl.h
	lldb-git/patches/patch-include_lldb_Utility_regutils.h
	lldb-git/patches/patch-source_Utility_regcomp.c
	lldb-git/patches/patch-source_Utility_regerror.c
	lldb-git/patches/patch-source_Utility_regexec.c
	lldb-git/patches/patch-source_Utility_regfree.c
	lldb-git/patches/patch-source_Utility_regstrlcpy.c
Added Files:
	lldb-git/patches/patch-tools_lldb-mi_MICmnBase.cpp
	lldb-git/patches/patch-tools_lldb-mi_MICmnBase.h
	lldb-git/patches/patch-tools_lldb-mi_MIDriver.cpp
	lldb-git/patches/patch-tools_lldb-mi_MIUtilString.cpp
	lldb-git/patches/patch-tools_lldb-mi_MIUtilString.h

Log Message:
lldb-git: Readd patches for variadic args usage

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

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

diffstat:
 lldb-git/distinfo                                  | 27 +++++++++++++---------
 .../patches/patch-include_lldb_Utility_regcclass.h |  2 +-
 .../patches/patch-include_lldb_Utility_regcname.h  |  2 +-
 .../patch-include_lldb_Utility_regengine.inc       |  2 +-
 .../patches/patch-include_lldb_Utility_regex2.h    |  2 +-
 .../patch-include_lldb_Utility_regex__impl.h       |  2 +-
 .../patches/patch-include_lldb_Utility_regutils.h  |  2 +-
 lldb-git/patches/patch-source_Utility_regcomp.c    |  2 +-
 lldb-git/patches/patch-source_Utility_regerror.c   |  2 +-
 lldb-git/patches/patch-source_Utility_regexec.c    |  2 +-
 lldb-git/patches/patch-source_Utility_regfree.c    |  2 +-
 lldb-git/patches/patch-source_Utility_regstrlcpy.c |  2 +-
 lldb-git/patches/patch-tools_lldb-mi_MICmnBase.cpp | 13 +++++++++++
 lldb-git/patches/patch-tools_lldb-mi_MICmnBase.h   | 13 +++++++++++
 lldb-git/patches/patch-tools_lldb-mi_MIDriver.cpp  | 13 +++++++++++
 .../patches/patch-tools_lldb-mi_MIUtilString.cpp   | 13 +++++++++++
 .../patches/patch-tools_lldb-mi_MIUtilString.h     | 13 +++++++++++
 17 files changed, 92 insertions(+), 22 deletions(-)

diffs:
diff --git a/lldb-git/distinfo b/lldb-git/distinfo
index 661620b..0da56f0 100644
--- a/lldb-git/distinfo
+++ b/lldb-git/distinfo
@@ -12,16 +12,21 @@ 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_Utility_regcclass.h) = 436b9a115b43b60ffe76bd5c1fc24bb8d77ca22c
-SHA1 (patch-include_lldb_Utility_regcname.h) = 2afb62496e694a119eb8f41c7774743fa24aeefa
-SHA1 (patch-include_lldb_Utility_regengine.inc) = 36f56301680fe47e0965eef88593ef0b602472fa
-SHA1 (patch-include_lldb_Utility_regex2.h) = 174e23d16fb5c7c87cac872200d851e568d9134b
-SHA1 (patch-include_lldb_Utility_regex__impl.h) = 185769c254a47d677966a13102bfc1911a6062b9
-SHA1 (patch-include_lldb_Utility_regutils.h) = 31706d7229ddceecdd265db34bfd2bca9bcbd099
+SHA1 (patch-include_lldb_Utility_regcclass.h) = dcfa59abdf53b7430b3195d3c174d51af975dd1e
+SHA1 (patch-include_lldb_Utility_regcname.h) = 34f3e166b69f6d106e32bb3b15777cadcd36b935
+SHA1 (patch-include_lldb_Utility_regengine.inc) = 4f0ecd16ca2255e2c4a1e911734d10fef0c0e56b
+SHA1 (patch-include_lldb_Utility_regex2.h) = 8e167887528bd2935f4979456b86e69b860ae0ad
+SHA1 (patch-include_lldb_Utility_regex__impl.h) = 0bf37c654f4ff73058e2e87eb49c59f205c6c50a
+SHA1 (patch-include_lldb_Utility_regutils.h) = 2ffee4d0e88c8aea08ac49d727db059fa05cd661
 SHA1 (patch-source_Utility_CMakeLists.txt) = 314b8f2786ca1db8c5fecb8419cbbfa7ee68cbe4
-SHA1 (patch-source_Utility_regcomp.c) = db91a1c5e2428fe553f7afeca701f64255c7e936
-SHA1 (patch-source_Utility_regerror.c) = 19bb4243d4897ab0856a449a94a3c43ba5933450
-SHA1 (patch-source_Utility_regexec.c) = 72f255cf00fa605609df2a4f57efbed0f5911f9e
-SHA1 (patch-source_Utility_regfree.c) = 1ea988740360b2fdc4e7ca827e6b70e84323b79d
-SHA1 (patch-source_Utility_regstrlcpy.c) = 6330e3378eaab68b598fa115f07b8d6f3ffc6c58
+SHA1 (patch-source_Utility_regcomp.c) = 22f48f098c906cc75cc740c3789f373055fc09d3
+SHA1 (patch-source_Utility_regerror.c) = 5b52f549b4769f3a1d9ec45a40790262eb16ce24
+SHA1 (patch-source_Utility_regexec.c) = 08c6db003cf54974ed7a7bef8f8a0633d3750db4
+SHA1 (patch-source_Utility_regfree.c) = fe06618044e484fc5cd3aebb1ff8aa8e659ded6b
+SHA1 (patch-source_Utility_regstrlcpy.c) = fc6c96911457ac2146b82f13c76190f31dbcd1cf
+SHA1 (patch-tools_lldb-mi_MICmnBase.cpp) = 851c82ac61e1241018755fbd7236af00379ac986
+SHA1 (patch-tools_lldb-mi_MICmnBase.h) = f550d5e10bcf02fb46472733acdbb820791f22e5
+SHA1 (patch-tools_lldb-mi_MIDriver.cpp) = bf1b5399e82bcfe54d6d852f64ed155328f2064d
 SHA1 (patch-tools_lldb-mi_MIUtilParse.h) = be869a6c4dd0865611fccf21793fb4ba67c62ea7
+SHA1 (patch-tools_lldb-mi_MIUtilString.cpp) = 200d9712753b5559da79c2e16fa0889fea1e9432
+SHA1 (patch-tools_lldb-mi_MIUtilString.h) = 7e7befec383f88502a97aec509ba39477efde37d
diff --git a/lldb-git/patches/patch-include_lldb_Utility_regcclass.h b/lldb-git/patches/patch-include_lldb_Utility_regcclass.h
index c75fd73..1692bc1 100644
--- a/lldb-git/patches/patch-include_lldb_Utility_regcclass.h
+++ b/lldb-git/patches/patch-include_lldb_Utility_regcclass.h
@@ -1,6 +1,6 @@
 $NetBSD$
 
---- include/lldb/Utility/regcclass.h.orig	2016-09-10 18:58:55.080086916 +0000
+--- include/lldb/Utility/regcclass.h.orig	2016-09-10 19:10:13.229622341 +0000
 +++ include/lldb/Utility/regcclass.h
 @@ -0,0 +1,75 @@
 +/*-
diff --git a/lldb-git/patches/patch-include_lldb_Utility_regcname.h b/lldb-git/patches/patch-include_lldb_Utility_regcname.h
index 02fcc9f..650e4aa 100644
--- a/lldb-git/patches/patch-include_lldb_Utility_regcname.h
+++ b/lldb-git/patches/patch-include_lldb_Utility_regcname.h
@@ -1,6 +1,6 @@
 $NetBSD$
 
---- include/lldb/Utility/regcname.h.orig	2016-09-10 18:58:55.084809897 +0000
+--- include/lldb/Utility/regcname.h.orig	2016-09-10 19:10:13.234408469 +0000
 +++ include/lldb/Utility/regcname.h
 @@ -0,0 +1,144 @@
 +/*-
diff --git a/lldb-git/patches/patch-include_lldb_Utility_regengine.inc b/lldb-git/patches/patch-include_lldb_Utility_regengine.inc
index 962c5fe..8e8a67a 100644
--- a/lldb-git/patches/patch-include_lldb_Utility_regengine.inc
+++ b/lldb-git/patches/patch-include_lldb_Utility_regengine.inc
@@ -1,6 +1,6 @@
 $NetBSD$
 
---- include/lldb/Utility/regengine.inc.orig	2016-09-10 18:58:55.089821866 +0000
+--- include/lldb/Utility/regengine.inc.orig	2016-09-10 19:10:13.239450425 +0000
 +++ include/lldb/Utility/regengine.inc
 @@ -0,0 +1,1034 @@
 +/*-
diff --git a/lldb-git/patches/patch-include_lldb_Utility_regex2.h b/lldb-git/patches/patch-include_lldb_Utility_regex2.h
index c0b16a4..8380645 100644
--- a/lldb-git/patches/patch-include_lldb_Utility_regex2.h
+++ b/lldb-git/patches/patch-include_lldb_Utility_regex2.h
@@ -1,6 +1,6 @@
 $NetBSD$
 
---- include/lldb/Utility/regex2.h.orig	2016-09-10 18:58:55.094735645 +0000
+--- include/lldb/Utility/regex2.h.orig	2016-09-10 19:10:13.244431954 +0000
 +++ include/lldb/Utility/regex2.h
 @@ -0,0 +1,162 @@
 +/*-
diff --git a/lldb-git/patches/patch-include_lldb_Utility_regex__impl.h b/lldb-git/patches/patch-include_lldb_Utility_regex__impl.h
index f048d7f..cd01a96 100644
--- a/lldb-git/patches/patch-include_lldb_Utility_regex__impl.h
+++ b/lldb-git/patches/patch-include_lldb_Utility_regex__impl.h
@@ -1,6 +1,6 @@
 $NetBSD$
 
---- include/lldb/Utility/regex_impl.h.orig	2016-09-10 18:58:55.099440800 +0000
+--- include/lldb/Utility/regex_impl.h.orig	2016-09-10 19:10:13.249235714 +0000
 +++ include/lldb/Utility/regex_impl.h
 @@ -0,0 +1,108 @@
 +/*-
diff --git a/lldb-git/patches/patch-include_lldb_Utility_regutils.h b/lldb-git/patches/patch-include_lldb_Utility_regutils.h
index ee71fa1..98feae2 100644
--- a/lldb-git/patches/patch-include_lldb_Utility_regutils.h
+++ b/lldb-git/patches/patch-include_lldb_Utility_regutils.h
@@ -1,6 +1,6 @@
 $NetBSD$
 
---- include/lldb/Utility/regutils.h.orig	2016-09-10 18:58:55.104081376 +0000
+--- include/lldb/Utility/regutils.h.orig	2016-09-10 19:10:13.253949266 +0000
 +++ include/lldb/Utility/regutils.h
 @@ -0,0 +1,58 @@
 +/*-
diff --git a/lldb-git/patches/patch-source_Utility_regcomp.c b/lldb-git/patches/patch-source_Utility_regcomp.c
index 6becac1..bd34633 100644
--- a/lldb-git/patches/patch-source_Utility_regcomp.c
+++ b/lldb-git/patches/patch-source_Utility_regcomp.c
@@ -1,6 +1,6 @@
 $NetBSD$
 
---- source/Utility/regcomp.c.orig	2016-09-10 18:58:55.113868439 +0000
+--- source/Utility/regcomp.c.orig	2016-09-10 19:10:13.263672940 +0000
 +++ source/Utility/regcomp.c
 @@ -0,0 +1,1574 @@
 +/*-
diff --git a/lldb-git/patches/patch-source_Utility_regerror.c b/lldb-git/patches/patch-source_Utility_regerror.c
index de8bdbd..b8fd80b 100644
--- a/lldb-git/patches/patch-source_Utility_regerror.c
+++ b/lldb-git/patches/patch-source_Utility_regerror.c
@@ -1,6 +1,6 @@
 $NetBSD$
 
---- source/Utility/regerror.c.orig	2016-09-10 18:58:55.118973843 +0000
+--- source/Utility/regerror.c.orig	2016-09-10 19:10:13.268727771 +0000
 +++ source/Utility/regerror.c
 @@ -0,0 +1,135 @@
 +/*-
diff --git a/lldb-git/patches/patch-source_Utility_regexec.c b/lldb-git/patches/patch-source_Utility_regexec.c
index ad896cb..33ab381 100644
--- a/lldb-git/patches/patch-source_Utility_regexec.c
+++ b/lldb-git/patches/patch-source_Utility_regexec.c
@@ -1,6 +1,6 @@
 $NetBSD$
 
---- source/Utility/regexec.c.orig	2016-09-10 18:58:55.123743061 +0000
+--- source/Utility/regexec.c.orig	2016-09-10 19:10:13.273448592 +0000
 +++ source/Utility/regexec.c
 @@ -0,0 +1,162 @@
 +/*-
diff --git a/lldb-git/patches/patch-source_Utility_regfree.c b/lldb-git/patches/patch-source_Utility_regfree.c
index f6b9d83..2a2ab07 100644
--- a/lldb-git/patches/patch-source_Utility_regfree.c
+++ b/lldb-git/patches/patch-source_Utility_regfree.c
@@ -1,6 +1,6 @@
 $NetBSD$
 
---- source/Utility/regfree.c.orig	2016-09-10 18:58:55.128475693 +0000
+--- source/Utility/regfree.c.orig	2016-09-10 19:10:13.278146465 +0000
 +++ source/Utility/regfree.c
 @@ -0,0 +1,72 @@
 +/*-
diff --git a/lldb-git/patches/patch-source_Utility_regstrlcpy.c b/lldb-git/patches/patch-source_Utility_regstrlcpy.c
index dbd1491..b6e8044 100644
--- a/lldb-git/patches/patch-source_Utility_regstrlcpy.c
+++ b/lldb-git/patches/patch-source_Utility_regstrlcpy.c
@@ -1,6 +1,6 @@
 $NetBSD$
 
---- source/Utility/regstrlcpy.c.orig	2016-09-10 18:58:55.133201813 +0000
+--- source/Utility/regstrlcpy.c.orig	2016-09-10 19:10:13.282794397 +0000
 +++ source/Utility/regstrlcpy.c
 @@ -0,0 +1,52 @@
 +/*
diff --git a/lldb-git/patches/patch-tools_lldb-mi_MICmnBase.cpp b/lldb-git/patches/patch-tools_lldb-mi_MICmnBase.cpp
new file mode 100644
index 0000000..f30ad21
--- /dev/null
+++ b/lldb-git/patches/patch-tools_lldb-mi_MICmnBase.cpp
@@ -0,0 +1,13 @@
+$NetBSD$
+
+--- tools/lldb-mi/MICmnBase.cpp.orig	2016-09-10 17:36:23.000000000 +0000
++++ tools/lldb-mi/MICmnBase.cpp
+@@ -122,7 +122,7 @@ void CMICmnBase::ClrErrorDescription() c
+ // Return:  None.
+ // Throws:  None.
+ //--
+-void CMICmnBase::SetErrorDescriptionn(const CMIUtilString vFormat, ...) const {
++void CMICmnBase::SetErrorDescriptionn(const char *vFormat, ...) const {
+   va_list args;
+   va_start(args, vFormat);
+   CMIUtilString strResult = CMIUtilString::FormatValist(vFormat, args);
diff --git a/lldb-git/patches/patch-tools_lldb-mi_MICmnBase.h b/lldb-git/patches/patch-tools_lldb-mi_MICmnBase.h
new file mode 100644
index 0000000..6212245
--- /dev/null
+++ b/lldb-git/patches/patch-tools_lldb-mi_MICmnBase.h
@@ -0,0 +1,13 @@
+$NetBSD$
+
+--- tools/lldb-mi/MICmnBase.h.orig	2016-09-10 17:36:23.000000000 +0000
++++ tools/lldb-mi/MICmnBase.h
+@@ -28,7 +28,7 @@ public:
+   bool HaveErrorDescription() const;
+   const CMIUtilString &GetErrorDescription() const;
+   void SetErrorDescription(const CMIUtilString &vrTxt) const;
+-  void SetErrorDescriptionn(const CMIUtilString vFormat, ...) const;
++  void SetErrorDescriptionn(const char *vFormat, ...) const;
+   void SetErrorDescriptionNoLog(const CMIUtilString &vrTxt) const;
+   void ClrErrorDescription() const;
+ 
diff --git a/lldb-git/patches/patch-tools_lldb-mi_MIDriver.cpp b/lldb-git/patches/patch-tools_lldb-mi_MIDriver.cpp
new file mode 100644
index 0000000..a96e7fa
--- /dev/null
+++ b/lldb-git/patches/patch-tools_lldb-mi_MIDriver.cpp
@@ -0,0 +1,13 @@
+$NetBSD$
+
+--- tools/lldb-mi/MIDriver.cpp.orig	2016-09-10 17:36:23.000000000 +0000
++++ tools/lldb-mi/MIDriver.cpp
+@@ -509,7 +509,7 @@ bool CMIDriver::StartWorkerThreads() {
+     const CMIUtilString errMsg = CMIUtilString::Format(
+         MIRSRC(IDS_THREADMGR_ERR_THREAD_FAIL_CREATE),
+         CMICmnThreadMgrStd::Instance().GetErrorDescription().c_str());
+-    SetErrorDescriptionn(errMsg);
++    SetErrorDescriptionn(errMsg.c_str());
+     return MIstatus::failure;
+   }
+ 
diff --git a/lldb-git/patches/patch-tools_lldb-mi_MIUtilString.cpp b/lldb-git/patches/patch-tools_lldb-mi_MIUtilString.cpp
new file mode 100644
index 0000000..2df0237
--- /dev/null
+++ b/lldb-git/patches/patch-tools_lldb-mi_MIUtilString.cpp
@@ -0,0 +1,13 @@
+$NetBSD$
+
+--- tools/lldb-mi/MIUtilString.cpp.orig	2016-09-10 17:36:23.000000000 +0000
++++ tools/lldb-mi/MIUtilString.cpp
+@@ -156,7 +156,7 @@ CMIUtilString CMIUtilString::FormatPriv(
+ // Return:  CMIUtilString - Number of splits found in the string data.
+ // Throws:  None.
+ //--
+-CMIUtilString CMIUtilString::Format(const CMIUtilString vFormating, ...) {
++CMIUtilString CMIUtilString::Format(const char *vFormating, ...) {
+   va_list args;
+   va_start(args, vFormating);
+   CMIUtilString strResult = CMIUtilString::FormatPriv(vFormating, args);
diff --git a/lldb-git/patches/patch-tools_lldb-mi_MIUtilString.h b/lldb-git/patches/patch-tools_lldb-mi_MIUtilString.h
new file mode 100644
index 0000000..c352662
--- /dev/null
+++ b/lldb-git/patches/patch-tools_lldb-mi_MIUtilString.h
@@ -0,0 +1,13 @@
+$NetBSD$
+
+--- tools/lldb-mi/MIUtilString.h.orig	2016-09-10 17:36:23.000000000 +0000
++++ tools/lldb-mi/MIUtilString.h
+@@ -30,7 +30,7 @@ public:
+ 
+   // Static method:
+ public:
+-  static CMIUtilString Format(const CMIUtilString vFormating, ...);
++  static CMIUtilString Format(const char *vFormating, ...);
+   static CMIUtilString FormatBinary(const MIuint64 vnDecimal);
+   static CMIUtilString FormatValist(const CMIUtilString &vrFormating,
+                                     va_list vArgs);


Home | Main Index | Thread Index | Old Index