From ecb6290b350a8f99a6613e9c0aae625ce9ca24a5 Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Thu, 12 May 2016 01:23:07 -0300 Subject: kdenetwork-kopete-16.04.1-1.parabola1{,.nonprism1}: updating version --- libre/kdenetwork-kopete/PKGBUILD | 15 ++++++++++----- libre/kdenetwork-kopete/kopete-gcc6.patch | 12 ++++++++++++ nonprism/kdenetwork-kopete/PKGBUILD | 15 ++++++++++----- nonprism/kdenetwork-kopete/kopete-gcc6.patch | 12 ++++++++++++ 4 files changed, 44 insertions(+), 10 deletions(-) create mode 100644 libre/kdenetwork-kopete/kopete-gcc6.patch create mode 100644 nonprism/kdenetwork-kopete/kopete-gcc6.patch 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 # Contributor (Arch): Andrea Scarpino # Maintainer: André Silva 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 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 diff --git a/nonprism/kdenetwork-kopete/PKGBUILD b/nonprism/kdenetwork-kopete/PKGBUILD index 04d5a2be0..fadb2625b 100644 --- a/nonprism/kdenetwork-kopete/PKGBUILD +++ b/nonprism/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 # Contributor (Arch): Andrea Scarpino # Maintainer: André Silva pkgname=kdenetwork-kopete -pkgver=16.04.0 -pkgrel=2.parabola1.nonprism1 +pkgver=16.04.1 +pkgrel=1.parabola1.nonprism1 pkgdesc='Instant Messenger, without nonfree Skype support and support for unsafe and dangerous for privacy protocols' url='http://kde.org/applications/internet/kopete/' arch=('i686' 'x86_64' 'armv7h') @@ -16,9 +16,10 @@ conflicts=(${pkgname}-libre ${pkgname}-libre-nonprism) depends=('kdebase-runtime' 'libotr' 'qimageblitz' 'jsoncpp') makedepends=('cmake' 'automoc4' 'boost' 'mediastreamer') optdepends=('mediastreamer: jingle support') -source=("http://download.kde.org/stable/applications/${pkgver}/src/kopete-${pkgver}.tar.xz" +source=("http://download.kde.org/stable/applications/${pkgver}/src/kopete-${pkgver}.tar.xz" 'kopete-gcc6.patch' 'libre-nonprism.patch') -sha1sums=('929f6b9a4891097c5f08d0cc3d51ba87bd5253a4' +sha1sums=('bbf5c00dbbdc14be87b88757d472f0651040fe7e' + '98bf4a261f5a8097bf9ea6ab4b5ded3d895e2695' 'f0d7b727da1b5160f05952eec4df1bfbefab99cf') prepare() { @@ -36,6 +37,10 @@ prepare() { patch -p1 -i "${srcdir}"/libre-nonprism.patch cd .. mkdir -p build + +# Fix build with GCC 6 (Fedora) + cd kopete-$pkgver + patch -p1 -i ../kopete-gcc6.patch } build() { diff --git a/nonprism/kdenetwork-kopete/kopete-gcc6.patch b/nonprism/kdenetwork-kopete/kopete-gcc6.patch new file mode 100644 index 000000000..3c816340f --- /dev/null +++ b/nonprism/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 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 -- cgit v1.2.3