dev-util/usb-robot: build fix for newer autoconf

Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
This commit is contained in:
Robin H. Johnson
2024-11-17 14:49:57 -08:00
parent 76de0a6f53
commit 3e42fe583f
2 changed files with 22 additions and 1 deletions

View File

@@ -0,0 +1,15 @@
--- usb-robot-0.2.0.orig/configure.in 2001-02-22 21:02:39.000000000 -0800
+++ usb-robot-0.2.0/configure.in 2024-11-17 14:39:08.090396454 -0800
@@ -19,11 +19,7 @@
dnl Check for libraries
-AC_CHECK_LIB(ncurses,tgetent,,
-AC_CHECK_LIB(termcap,tgetent,,
-AC_CHECK_LIB(curses,tgetent,,
- AC_MSG_WARN([could not find a curses library - readline might not work]))))
-
+AC_CHECK_LIB(ncurses,tgetent)
AC_CHECK_LIB(readline,readline)
AC_CHECK_LIB(history,add_history)

View File

@@ -3,7 +3,7 @@
EAPI=8
inherit toolchain-funcs
inherit toolchain-funcs autotools
DESCRIPTION="USB Reverse engineering tools"
HOMEPAGE="https://usb-robot.sourceforge.net/"
@@ -16,6 +16,12 @@ KEYWORDS="amd64 ppc x86"
DEPEND="virtual/libusb:0
sys-libs/readline:="
RDEPEND="${DEPEND}"
PATCHES=( "${FILESDIR}/usb-robot-0.2.0-configure.patch" )
src_prepare() {
default
eautoreconf
}
src_compile() {
emake CC="$(tc-getCC)"