mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-util/usb-robot: build fix for newer autoconf
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
This commit is contained in:
15
dev-util/usb-robot/files/usb-robot-0.2.0-configure.patch
Normal file
15
dev-util/usb-robot/files/usb-robot-0.2.0-configure.patch
Normal 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)
|
||||
|
||||
@@ -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)"
|
||||
|
||||
Reference in New Issue
Block a user