diff options
author | Maciej Mrozowski <reavertm@gentoo.org> | 2020-02-09 03:25:58 +0100 |
---|---|---|
committer | Maciej Mrozowski <reavertm@gentoo.org> | 2020-02-09 03:28:23 +0100 |
commit | c399566a3b87b5e8cb2341e3d3c0c0368ce01f13 (patch) | |
tree | 8b28077ab365c9aeb65f05e92099d83b6ac92eb8 /net-libs/libgadu | |
parent | app-emulation/skopeo: Bump to version 0.1.41 (diff) | |
download | gentoo-c399566a3b87b5e8cb2341e3d3c0c0368ce01f13.tar.gz gentoo-c399566a3b87b5e8cb2341e3d3c0c0368ce01f13.tar.bz2 gentoo-c399566a3b87b5e8cb2341e3d3c0c0368ce01f13.zip |
net-libs/libgadu: Fix building with -fno-common
Closes: https://bugs.gentoo.org/708686
Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Maciej Mrozowski <reavertm@gentoo.org>
Diffstat (limited to 'net-libs/libgadu')
-rw-r--r-- | net-libs/libgadu/files/libgadu-1.12.2-fno-common.patch | 30 | ||||
-rw-r--r-- | net-libs/libgadu/libgadu-1.12.2-r1.ebuild | 4 |
2 files changed, 34 insertions, 0 deletions
diff --git a/net-libs/libgadu/files/libgadu-1.12.2-fno-common.patch b/net-libs/libgadu/files/libgadu-1.12.2-fno-common.patch new file mode 100644 index 000000000000..2eafd3748ee4 --- /dev/null +++ b/net-libs/libgadu/files/libgadu-1.12.2-fno-common.patch @@ -0,0 +1,30 @@ +diff -ruN libgadu-1.12.2/test/manual/userconfig.h my-libgadu/test/manual/userconfig.h +--- libgadu-1.12.2/test/manual/userconfig.h 2017-01-21 18:57:03.000000000 +0100 ++++ my-libgadu/test/manual/userconfig.h 2020-02-09 03:18:29.040560145 +0100 +@@ -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); diff --git a/net-libs/libgadu/libgadu-1.12.2-r1.ebuild b/net-libs/libgadu/libgadu-1.12.2-r1.ebuild index f48750979fe1..87d39897c0d9 100644 --- a/net-libs/libgadu/libgadu-1.12.2-r1.ebuild +++ b/net-libs/libgadu/libgadu-1.12.2-r1.ebuild @@ -33,6 +33,10 @@ RDEPEND="${DEPEND}" BUILD_DIR="${S}" +PATCHES=( + "${FILESDIR}/${P}-fno-common.patch" +) + DOCS=( AUTHORS ChangeLog NEWS README ) src_prepare() { |