summaryrefslogtreecommitdiff
path: root/libre/kdenetwork-kopete
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2016-05-12 01:23:07 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2016-05-12 01:23:07 -0300
commitecb6290b350a8f99a6613e9c0aae625ce9ca24a5 (patch)
treed30be7f4ac5c1413144beb07c3475a45a787b655 /libre/kdenetwork-kopete
parent0f5bdbf5a80bbb3a0298faf34f51b932c7709fd6 (diff)
downloadabslibre-ecb6290b350a8f99a6613e9c0aae625ce9ca24a5.tar.gz
abslibre-ecb6290b350a8f99a6613e9c0aae625ce9ca24a5.tar.bz2
abslibre-ecb6290b350a8f99a6613e9c0aae625ce9ca24a5.zip
kdenetwork-kopete-16.04.1-1.parabola1{,.nonprism1}: updating version
Diffstat (limited to 'libre/kdenetwork-kopete')
-rw-r--r--libre/kdenetwork-kopete/PKGBUILD15
-rw-r--r--libre/kdenetwork-kopete/kopete-gcc6.patch12
2 files changed, 22 insertions, 5 deletions
diff --git a/libre/kdenetwork-kopete/PKGBUILD b/libre/kdenetwork-kopete/PKGBUILD
index 9cece485c..0c017d821 100644
--- a/libre/kdenetwork-kopete/PKGBUILD
+++ b/libre/kdenetwork-kopete/PKGBUILD
@@ -1,11 +1,11 @@
-# $Id: PKGBUILD 266422 2016-04-28 07:59:01Z fyan $
+# $Id: PKGBUILD 267780 2016-05-11 07:07:02Z arojas $
# Maintainer (Arch): Felix Yan <felixonmars@archlinux.org>
# Contributor (Arch): Andrea Scarpino <andrea@archlinux.org>
# Maintainer: André Silva <emulatorman@parabola.nu>
pkgname=kdenetwork-kopete
-pkgver=16.04.0
-pkgrel=2.parabola1
+pkgver=16.04.1
+pkgrel=1.parabola1
pkgdesc='Instant Messenger, without nonfree Skype support'
url='http://kde.org/applications/internet/kopete/'
arch=('i686' 'x86_64' 'armv7h')
@@ -16,8 +16,9 @@ conflicts=(${pkgname}-libre)
depends=('kdebase-runtime' 'libotr' 'qimageblitz' 'jsoncpp')
makedepends=('cmake' 'automoc4' 'boost' 'mediastreamer' 'libgadu')
optdepends=('mediastreamer: jingle support' 'libgadu: Gadu-Gadu protocol')
-source=("http://download.kde.org/stable/applications/${pkgver}/src/kopete-${pkgver}.tar.xz")
-sha1sums=('929f6b9a4891097c5f08d0cc3d51ba87bd5253a4')
+source=("http://download.kde.org/stable/applications/${pkgver}/src/kopete-${pkgver}.tar.xz" 'kopete-gcc6.patch')
+sha1sums=('bbf5c00dbbdc14be87b88757d472f0651040fe7e'
+ '98bf4a261f5a8097bf9ea6ab4b5ded3d895e2695')
prepare() {
cd kopete-${pkgver}
@@ -26,6 +27,10 @@ prepare() {
sed 's/, Skype//' -i doc/index.docbook
cd ..
mkdir -p build
+
+# Fix build with GCC 6 (Fedora)
+ cd kopete-$pkgver
+ patch -p1 -i ../kopete-gcc6.patch
}
build() {
diff --git a/libre/kdenetwork-kopete/kopete-gcc6.patch b/libre/kdenetwork-kopete/kopete-gcc6.patch
new file mode 100644
index 000000000..3c816340f
--- /dev/null
+++ b/libre/kdenetwork-kopete/kopete-gcc6.patch
@@ -0,0 +1,12 @@
+diff -up kopete-15.12.2/plugins/history2/history2logger.h.than kopete-15.12.2/plugins/history2/history2logger.h
+--- kopete-15.12.2/plugins/history2/history2logger.h.than 2016-02-16 23:43:48.245204675 +0100
++++ kopete-15.12.2/plugins/history2/history2logger.h 2016-02-16 23:46:49.042349833 +0100
+@@ -94,7 +94,7 @@ public:
+ * from Kopete::Contact @param c in the given @param sens
+ */
+ QList<Kopete::Message> readMessages(int lines,
+- int offset=0, const Kopete::MetaContact *c=false, bool reverseOrder=true);
++ int offset=0, const Kopete::MetaContact *c=0, bool reverseOrder=true);
+
+ /**
+ * Same as the following, but for one date. I did'nt reuse the above function