diff options
| author | Alexey Shvetsov <alexxy@gentoo.org> | 2013-10-12 03:37:48 +0400 |
|---|---|---|
| committer | Alexey Shvetsov <alexxy@gentoo.org> | 2013-10-12 03:37:48 +0400 |
| commit | 66df97284c6a1846df7ca18c3e9abd5fb86de735 (patch) | |
| tree | 222e7f514bbee756bac33f4da1bac8cce948e347 | |
| parent | 553fe03548763bbba92ed01245d0f8e9900f6368 (diff) | |
| download | kde-66df97284c6a1846df7ca18c3e9abd5fb86de735.tar.gz kde-66df97284c6a1846df7ca18c3e9abd5fb86de735.tar.bz2 kde-66df97284c6a1846df7ca18c3e9abd5fb86de735.zip | |
[net-im/ktp-accounts-kcm] Fix ftbfs due to libmm-qt api change
Package-Manager: portage-2.2.7
| -rw-r--r-- | net-im/ktp-accounts-kcm/files/ktp-accounts-kcm-0.6.80-libmm-qt-api-fix.patch | 32 | ||||
| -rw-r--r-- | net-im/ktp-accounts-kcm/ktp-accounts-kcm-0.6.80.ebuild | 5 |
2 files changed, 37 insertions, 0 deletions
diff --git a/net-im/ktp-accounts-kcm/files/ktp-accounts-kcm-0.6.80-libmm-qt-api-fix.patch b/net-im/ktp-accounts-kcm/files/ktp-accounts-kcm-0.6.80-libmm-qt-api-fix.patch new file mode 100644 index 00000000000..47e6adb62c8 --- /dev/null +++ b/net-im/ktp-accounts-kcm/files/ktp-accounts-kcm-0.6.80-libmm-qt-api-fix.patch @@ -0,0 +1,32 @@ +--- a/plugins/pintxo/modem-combobox.cpp ++++ b/plugins/pintxo/modem-combobox.cpp +@@ -33,8 +33,8 @@ + Q_FOREACH(ModemManager::ModemInterface::Ptr modem, modems) { + ModemManager::ModemGsmCardInterface::Ptr simCard = ModemManager::findModemInterface(modem->udi(), ModemManager::ModemInterface::GsmCard).objectCast<ModemManager::ModemGsmCardInterface>(); + if(!simCard.isNull()) { +- QString simIdent = simCard->getSimIdentifier(); +- QDBusReply<QString> spn = simCard->getSpn(); ++ QString simIdent = simCard->simIdentifier(); ++ QDBusReply<QString> spn = simCard->serviceProviderName(); + addItem(spn.isValid() ? spn.value() : QLatin1String("Unknown modem")); + } + } +@@ -51,7 +51,7 @@ + if(!modem.isNull()){ + ModemManager::ModemGsmCardInterface::Ptr simCard = ModemManager::findModemInterface(modems.at(currentIndex())->udi(), ModemManager::ModemInterface::GsmCard).objectCast<ModemManager::ModemGsmCardInterface>(); + if(!simCard.isNull()) { +- return simCard->getSimIdentifier(); ++ return simCard->simIdentifier(); + } + } + return QString(); +@@ -64,7 +64,7 @@ + Q_FOREACH(ModemManager::ModemInterface::Ptr modem, modems) { + ModemManager::ModemGsmCardInterface::Ptr simCard = ModemManager::findModemInterface(modem->udi(), ModemManager::ModemInterface::GsmCard).objectCast<ModemManager::ModemGsmCardInterface>(); + if(!simCard.isNull()) { +- QString simIdent = simCard->getSimIdentifier(); ++ QString simIdent = simCard->simIdentifier(); + if (simIdent == selectedSimIdentifier) { + setCurrentIndex(i); + return; + diff --git a/net-im/ktp-accounts-kcm/ktp-accounts-kcm-0.6.80.ebuild b/net-im/ktp-accounts-kcm/ktp-accounts-kcm-0.6.80.ebuild index 0c76b1dffd3..b5fd834a70a 100644 --- a/net-im/ktp-accounts-kcm/ktp-accounts-kcm-0.6.80.ebuild +++ b/net-im/ktp-accounts-kcm/ktp-accounts-kcm-0.6.80.ebuild @@ -31,3 +31,8 @@ DEPEND=" " RDEPEND="${DEPEND} " + +PATCHES=( + "${FILESDIR}/${P}-libmm-qt-api-fix.patch" +) + |
