[arch-commits] Commit in libgadu/repos (4 files)
Lukas Fleischer
lfleischer at archlinux.org
Fri May 29 18:29:22 UTC 2020
Date: Friday, May 29, 2020 @ 18:29:21
Author: lfleischer
Revision: 387856
db-move: moved libgadu from [staging] to [testing] (x86_64)
Added:
libgadu/repos/testing-x86_64/
libgadu/repos/testing-x86_64/PKGBUILD
(from rev 387855, libgadu/repos/staging-x86_64/PKGBUILD)
libgadu/repos/testing-x86_64/gcc10.patch
(from rev 387855, libgadu/repos/staging-x86_64/gcc10.patch)
Deleted:
libgadu/repos/staging-x86_64/
-------------+
PKGBUILD | 40 ++++++++++++++++++++++++++++++++++++++++
gcc10.patch | 42 ++++++++++++++++++++++++++++++++++++++++++
2 files changed, 82 insertions(+)
Copied: libgadu/repos/testing-x86_64/PKGBUILD (from rev 387855, libgadu/repos/staging-x86_64/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2020-05-29 18:29:21 UTC (rev 387856)
@@ -0,0 +1,40 @@
+# Maintainer: Evangelos Foutras <evangelos at foutrelis.com>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+# Contributor: Mateusz Herych <heniekk at gmail.com>
+
+pkgname=libgadu
+pkgver=1.12.2
+pkgrel=13
+pkgdesc="Client-side library for the Gadu-Gadu protocol"
+arch=('x86_64')
+url="https://libgadu.net/"
+license=('LGPL2.1')
+depends=('gnutls' 'protobuf-c')
+source=($pkgname-$pkgver.tar.gz::https://github.com/wojtekka/libgadu/archive/$pkgver.tar.gz
+ gcc10.patch)
+sha256sums=('f53e703d7ad93ce222dbf7fc0cec77f62813af38817a3678e799e91f1c69c94d'
+ '2dae59d29aa2eb0905cc3c220041d5cfd95183276d684f36c9dc955c24080382')
+
+prepare() {
+ cd $pkgname-$pkgver
+ patch -Np1 -i ../gcc10.patch
+ NOCONFIGURE=1 ./autogen.sh
+}
+
+build() {
+ cd $pkgname-$pkgver
+ ./configure --prefix=/usr --disable-static
+ make
+}
+
+check() {
+ cd $pkgname-$pkgver
+ make check
+}
+
+package() {
+ cd $pkgname-$pkgver
+ make DESTDIR="$pkgdir" install
+}
+
+# vim:set ts=2 sw=2 et:
Copied: libgadu/repos/testing-x86_64/gcc10.patch (from rev 387855, libgadu/repos/staging-x86_64/gcc10.patch)
===================================================================
--- testing-x86_64/gcc10.patch (rev 0)
+++ testing-x86_64/gcc10.patch 2020-05-29 18:29:21 UTC (rev 387856)
@@ -0,0 +1,42 @@
+From b6453a73f2651621fc2be591acf12952dfd3b15e Mon Sep 17 00:00:00 2001
+From: Maciej Mrozowski <reavertm at gmail.com>
+Date: Sun, 9 Feb 2020 03:33:09 +0100
+Subject: [PATCH] Fix compilation with -fno-common
+
+Fix compilation with -fno-common, default in upcoming gcc-10
+Also see https://bugs.gentoo.org/708686
+---
+ test/manual/userconfig.h | 20 ++++++++++----------
+ 1 file changed, 10 insertions(+), 10 deletions(-)
+
+diff --git a/test/manual/userconfig.h b/test/manual/userconfig.h
+index 70043e32..5be80c6f 100644
+--- a/test/manual/userconfig.h
++++ b/test/manual/userconfig.h
+@@ -19,16 +19,16 @@
+ #ifndef USERCONFIG_H
+ #define USERCONFIG_H
+
+-unsigned int config_uin;
+-char *config_password;
+-unsigned int config_peer;
+-char *config_file;
+-char *config_dir;
+-unsigned int config_size;
+-unsigned long config_ip;
+-unsigned int config_port;
+-char *config_server;
+-char *config_proxy;
++extern unsigned int config_uin;
++extern char *config_password;
++extern unsigned int config_peer;
++extern char *config_file;
++extern char *config_dir;
++extern unsigned int config_size;
++extern unsigned long config_ip;
++extern unsigned int config_port;
++extern char *config_server;
++extern char *config_proxy;
+
+ int config_read(void);
+ void config_free(void);
More information about the arch-commits
mailing list