summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkinori Hattori <hattya@gentoo.org>2024-01-27 16:07:50 +0900
committerAkinori Hattori <hattya@gentoo.org>2024-01-27 16:08:32 +0900
commit6f03b9bdc192df4c569cde7d951bb648f1bb4e7a (patch)
tree7c0f3772b68e679ba81f6f4334fd6aa8b27df93e
parentapp-text/calibre: Stabilize 7.2.0 amd64, #922452 (diff)
downloadgentoo-6f03b9bdc192df4c569cde7d951bb648f1bb4e7a.tar.gz
gentoo-6f03b9bdc192df4c569cde7d951bb648f1bb4e7a.tar.bz2
gentoo-6f03b9bdc192df4c569cde7d951bb648f1bb4e7a.zip
app-editors/shed: fix build
Closes: https://bugs.gentoo.org/922987 Signed-off-by: Akinori Hattori <hattya@gentoo.org>
-rw-r--r--app-editors/shed/files/shed-1.16-tinfo.patch13
1 files changed, 13 insertions, 0 deletions
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