commit:     6f03b9bdc192df4c569cde7d951bb648f1bb4e7a
Author:     Akinori Hattori <hattya <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 27 07:07:50 2024 +0000
Commit:     Akinori Hattori <hattya <AT> gentoo <DOT> org>
CommitDate: Sat Jan 27 07:08:32 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6f03b9bd

app-editors/shed: fix build

Closes: https://bugs.gentoo.org/922987
Signed-off-by: Akinori Hattori <hattya <AT> gentoo.org>

 app-editors/shed/files/shed-1.16-tinfo.patch | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/app-editors/shed/files/shed-1.16-tinfo.patch 
b/app-editors/shed/files/shed-1.16-tinfo.patch
new file mode 100644
index 000000000000..840b17f1f875
--- /dev/null
+++ b/app-editors/shed/files/shed-1.16-tinfo.patch
@@ -0,0 +1,13 @@
+--- a/configure.ac
++++ b/configure.ac
+@@ -42,9 +42,8 @@
+ fi
+ 
+ ERR="Required package missing!"
+-AC_CHECK_HEADER(ncurses.h,:,AC_MSG_ERROR([$ERR]))
++PKG_CHECK_MODULES(ncurses,ncurses,[LIBS="$LIBS 
$ncurses_LIBS"],AC_MSG_ERROR([$ERR]))
+ AC_CHECK_HEADER(getopt.h,:,AC_MSG_ERROR([$ERR]))
+-AC_CHECK_LIB(ncurses,initscr)
+ AC_CHECK_LIB(m,pow)
+ AC_CONFIG_FILES([Makefile])
+ AC_OUTPUT

Reply via email to