pmaports/unity8/ubuntu-ui-toolkit/0002-Fix-Missing-sentinel-in-function-call-warning.patch
Luca Weiss 8c2a95dbe2
unity8: initial packaging (!27)
* Mir starts up and is able to display system settings
* x86_64 only for now, because at least ubuntu-app-test did not build
  on aarch64

Based on PureTryOut's work. Getting it to this stage was a huge effort
(as it shows in the package count: 111(!)). See the merge request for
details.

[skip ci]: this won't finish in CI; ollieparanoid made sure that
           everything builds for x86_64.
2019-02-13 21:47:29 +01:00

25 lines
911 B
Diff

From 49fe9d5aaef907d309710577699d788b53bde15c Mon Sep 17 00:00:00 2001
From: Luca Weiss <luca@z3ntu.xyz>
Date: Wed, 3 Oct 2018 17:07:51 +0200
Subject: [PATCH 2/5] Fix "Missing sentinel in function call" warning
---
src/UbuntuToolkit/ucurihandler.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/UbuntuToolkit/ucurihandler.cpp b/src/UbuntuToolkit/ucurihandler.cpp
index ad752f80c..c9f0566c9 100644
--- a/src/UbuntuToolkit/ucurihandler.cpp
+++ b/src/UbuntuToolkit/ucurihandler.cpp
@@ -75,7 +75,7 @@ UCUriHandler::UCUriHandler()
qWarning() << "UCUriHandler: Empty \"APP_ID\" environment variable, ignoring.";
return;
}
- char* path = nih_dbus_path(NULL, "", applicationId.constData(), NULL);
+ char* path = nih_dbus_path(NULL, "", applicationId.constData(), (char *)NULL);
objectPath = QString::fromLocal8Bit(path);
nih_free(path);
--
2.20.1