uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
|
|
@ -0,0 +1,32 @@
|
|||
From 4f93027de0e9b825c4b7853d583e9b02a0443c6b Mon Sep 17 00:00:00 2001
|
||||
From: Thomas Tuegel <ttuegel@mailbox.org>
|
||||
Date: Tue, 17 Sep 2019 05:37:04 -0500
|
||||
Subject: [PATCH 11/12] qtbase-assert
|
||||
|
||||
---
|
||||
src/testlib/qtestassert.h | 7 +++++--
|
||||
1 file changed, 5 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/src/testlib/qtestassert.h b/src/testlib/qtestassert.h
|
||||
index 6498ea84ef..d821ced7fc 100644
|
||||
--- a/src/testlib/qtestassert.h
|
||||
+++ b/src/testlib/qtestassert.h
|
||||
@@ -44,10 +44,13 @@
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
|
||||
-
|
||||
+#if defined(QT_NO_DEBUG) && !defined(QT_FORCE_ASSERTS)
|
||||
+#define QTEST_ASSERT(cond) do { } while ((false) && (cond))
|
||||
+#define QTEST_ASSERT_X(cond, where, what) do { } while ((false) && (cond))
|
||||
+#else
|
||||
#define QTEST_ASSERT(cond) do { if (!(cond)) qt_assert(#cond,__FILE__,__LINE__); } while (false)
|
||||
-
|
||||
#define QTEST_ASSERT_X(cond, where, what) do { if (!(cond)) qt_assert_x(where, what,__FILE__,__LINE__); } while (false)
|
||||
+#endif
|
||||
|
||||
QT_END_NAMESPACE
|
||||
|
||||
--
|
||||
2.23.GIT
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue