https://bugs.kde.org/show_bug.cgi?id=485257

--- Comment #1 from Jonathan L Hanmann <jhanm...@ca.rr.com> ---
Below is the patch I made to libsnapd-qt-2-1 (version 1.64-0ubuntu5 from the
Ubuntu Noble source package. This enabled me to build discover but I don't know
enough to determine if my change could be part of the problem so I thought to
be thorough on this.

Index: snapd-glib-1.64/snapd-qt/auth-data.cpp
===================================================================
--- snapd-glib-1.64.orig/snapd-qt/auth-data.cpp
+++ snapd-glib-1.64/snapd-qt/auth-data.cpp
@@ -15,7 +15,7 @@ QSnapdAuthData::QSnapdAuthData (void *sn

 QSnapdAuthData::QSnapdAuthData (QObject *parent) : QSnapdWrappedObject
(snapd_auth_data_new ("", NULL), g_object_unref, parent) {}

-QSnapdAuthData::QSnapdAuthData (const QString& macaroon, const QStringList&
discharges, QObject *parent) : QSnapdWrappedObject (NULL, g_object_unref,
parent)
+QSnapdAuthData::QSnapdAuthData (const QString& macaroon, const QList<QString>&
discharges, QObject *parent) : QSnapdWrappedObject (NULL, g_object_unref,
parent)
 {
     g_auto(GStrv) strv = g_new (gchar *, discharges.size () + 1);
     int i;
Index: snapd-glib-1.64/snapd-qt/Snapd/auth-data.h
===================================================================
--- snapd-glib-1.64.orig/snapd-qt/Snapd/auth-data.h
+++ snapd-glib-1.64/snapd-qt/Snapd/auth-data.h
@@ -22,7 +22,7 @@ class Q_DECL_EXPORT QSnapdAuthData : pub

 public:
     explicit QSnapdAuthData (void *snapd_object, QObject* parent = 0);
-    explicit QSnapdAuthData (const QString& macaroon, const QStringList&
discharges, QObject* parent = 0);
+    explicit QSnapdAuthData (const QString& macaroon, const QList<QString>&
discharges, QObject* parent = 0);
     explicit QSnapdAuthData (QObject* parent = 0);

     QString macaroon () const;

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to