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>
--- /dev/null
+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>
-# 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"
S="${WORKDIR}"
src_prepare() {
+ epatch "${FILESDIR}"/${P}-glibc-2.30.patch
sed -i 's#gcc#$(CC)#' Makefile
sed -i 's#-O2#$(CFLAGS) $(LDFLAGS)#' Makefile
}