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,19 @@
|
|||
Index: grantlee-5.1.0/templates/lib/engine.cpp
|
||||
===================================================================
|
||||
--- grantlee-5.1.0.orig/templates/lib/engine.cpp
|
||||
+++ grantlee-5.1.0/templates/lib/engine.cpp
|
||||
@@ -48,6 +48,14 @@ Engine::Engine(QObject *parent)
|
||||
|
||||
d_ptr->m_pluginDirs = QCoreApplication::instance()->libraryPaths();
|
||||
d_ptr->m_pluginDirs << QString::fromLocal8Bit(GRANTLEE_PLUGIN_PATH);
|
||||
+
|
||||
+ // Add library paths derived from NIX_PROFILES.
|
||||
+ const QByteArrayList profiles = qgetenv("NIX_PROFILES").split(' ');
|
||||
+ for (const QByteArray &profile: profiles) {
|
||||
+ if (!profile.isEmpty()) {
|
||||
+ d_ptr->m_pluginDirs << (QFile::decodeName(profile) + QStringLiteral("/lib"));
|
||||
+ }
|
||||
+ }
|
||||
}
|
||||
|
||||
Engine::~Engine()
|
||||
Loading…
Add table
Add a link
Reference in a new issue