[arch-commits] Commit in libmm-qt/trunk (PKGBUILD fix-build.patch)

Andrea Scarpino andrea at nymeria.archlinux.org
Sat Feb 15 13:37:08 UTC 2014


    Date: Saturday, February 15, 2014 @ 14:37:08
  Author: andrea
Revision: 205992

upgpkg: libmm-qt 1.0.1-1

Upstream release

Added:
  libmm-qt/trunk/fix-build.patch
Modified:
  libmm-qt/trunk/PKGBUILD

-----------------+
 PKGBUILD        |   11 ++++++++---
 fix-build.patch |   22 ++++++++++++++++++++++
 2 files changed, 30 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2014-02-15 13:23:00 UTC (rev 205991)
+++ PKGBUILD	2014-02-15 13:37:08 UTC (rev 205992)
@@ -2,7 +2,7 @@
 # Maintainer: Andrea Scarpino <andrea at archlinux.org>
 
 pkgname=libmm-qt
-pkgver=1.0.0
+pkgver=1.0.1
 pkgrel=1
 pkgdesc='Qt-only wrapper for ModemManager DBus API'
 arch=('i686' 'x86_64')
@@ -10,11 +10,16 @@
 license=('LGPL')
 depends=('qt4' 'modemmanager')
 makedepends=('cmake' 'doxygen')
-source=("http://download.kde.org/unstable/modemmanager-qt/${pkgver}/src/${pkgname}-${pkgver}.tar.xz")
-md5sums=('421dc7ebe8439fabc9d24da46ca0cfa7')
+source=("http://download.kde.org/unstable/modemmanager-qt/${pkgver}/src/${pkgname}-${pkgver}.tar.xz"
+        'fix-build.patch')
+md5sums=('73cf04d0e71d75ce343d791968a7c460'
+         '265fd2e32a5e350c1703612d29268748')
 
 prepare() {
   mkdir -p build
+
+  cd ${pkgname}-${pkgver}
+  patch -p1 -i "${srcdir}"/fix-build.patch
 }
 
 build() {

Added: fix-build.patch
===================================================================
--- fix-build.patch	                        (rev 0)
+++ fix-build.patch	2014-02-15 13:37:08 UTC (rev 205992)
@@ -0,0 +1,22 @@
+From: David Faure <faure at kde.org>
+Date: Thu, 09 Jan 2014 19:41:48 +0000
+Subject: modem.cpp:169:1: error: no return statement in function returning non-void [-Werror=return-type]
+X-Git-Tag: v1.0.1
+X-Git-Url: http://quickgit.kde.org/?p=libmm-qt.git&a=commitdiff&h=1d7f3e5d5eb4bb4fba741736049c229b48b6815c
+---
+modem.cpp:169:1: error: no return statement in function returning non-void [-Werror=return-type]
+---
+
+
+--- a/modem.cpp
++++ b/modem.cpp
+@@ -165,7 +165,7 @@
+ QString ModemManager::Modem::command(const QString &cmd, uint timeout)
+ {
+     Q_D(Modem);
+-    d->modemIface.Command(cmd, timeout);
++    return d->modemIface.Command(cmd, timeout);
+ }
+ 
+ QString ModemManager::Modem::simPath() const
+




More information about the arch-commits mailing list