diff options
author | Sergei Trofimovich <slyfox@gentoo.org> | 2020-02-17 20:54:43 +0000 |
---|---|---|
committer | Sergei Trofimovich <slyfox@gentoo.org> | 2020-02-17 20:55:10 +0000 |
commit | 58aea9ac1b41958dd4fc578f25eb9b78b16faed8 (patch) | |
tree | 7174334d16d1c127ad65f821d5aed2a2f503b0a7 /net-wireless/hidclient | |
parent | net-ftp/gftp: backport glibc-2.30 fix, bug #692230 (diff) | |
download | gentoo-58aea9ac1b41958dd4fc578f25eb9b78b16faed8.tar.gz gentoo-58aea9ac1b41958dd4fc578f25eb9b78b16faed8.tar.bz2 gentoo-58aea9ac1b41958dd4fc578f25eb9b78b16faed8.zip |
net-wireless/hidclient: tweak for glibc-2.30, bug #692250
Reported-by: Toralf Förster
Closes: https://bugs.gentoo.org/692250
Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to 'net-wireless/hidclient')
-rw-r--r-- | net-wireless/hidclient/files/hidclient-20120728-glibc-2.30.patch | 13 | ||||
-rw-r--r-- | net-wireless/hidclient/hidclient-20120728.ebuild | 5 |
2 files changed, 17 insertions, 1 deletions
diff --git a/net-wireless/hidclient/files/hidclient-20120728-glibc-2.30.patch b/net-wireless/hidclient/files/hidclient-20120728-glibc-2.30.patch new file mode 100644 index 000000000000..7e8376faaed1 --- /dev/null +++ b/net-wireless/hidclient/files/hidclient-20120728-glibc-2.30.patch @@ -0,0 +1,13 @@ +https://bugs.gentoo.org/692250 + +--- a/hidclient.c ++++ b/hidclient.c +@@ -102,7 +102,7 @@ + #include <stdlib.h> + #include <string.h> + #include <unistd.h> +-#include <stropts.h> ++//#include <stropts.h> + #include <sys/stat.h> + #include <sys/time.h> + #include <sys/types.h> diff --git a/net-wireless/hidclient/hidclient-20120728.ebuild b/net-wireless/hidclient/hidclient-20120728.ebuild index f56b4f7737b5..0dc32ee4fc03 100644 --- a/net-wireless/hidclient/hidclient-20120728.ebuild +++ b/net-wireless/hidclient/hidclient-20120728.ebuild @@ -1,8 +1,10 @@ -# Copyright 1999-2013 Gentoo Foundation +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=4 +inherit epatch + DESCRIPTION="Use your machine as a bluetooh keyboard/mouse" HOMEPAGE="http://anselm.hoffmeister.be/computer/hidclient/" SRC_URI="http://anselm.hoffmeister.be/computer/${PN}/${P}.tar.bz2" @@ -19,6 +21,7 @@ RDEPEND="${DEPEND} S="${WORKDIR}" src_prepare() { + epatch "${FILESDIR}"/${P}-glibc-2.30.patch sed -i 's#gcc#$(CC)#' Makefile sed -i 's#-O2#$(CFLAGS) $(LDFLAGS)#' Makefile } |