Skip to content

Commit

Permalink
dev-scheme/scm: curses -> ncurses
Browse files Browse the repository at this point in the history
Closes: https://bugs.gentoo.org/838034
Signed-off-by: Maciej Barć <[email protected]>
  • Loading branch information
xgqt committed Dec 15, 2022
1 parent b90de3d commit 6f12da1
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
11 changes: 11 additions & 0 deletions dev-scheme/scm/files/scm-5.5.6-ncurses.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
--- a/build.scm
+++ b/build.scm
@@ -565,7 +565,7 @@
(regex linux "" "" #f () ())
(graphics linux "-I/usr/include/X11 -DX11" "-L/usr/X11R6/lib -lX11"
"/usr/X11R6/lib/libX11.so" () ())
- (curses linux "" "-lcurses" "/lib/libncurses.so" () ())
+ (curses linux "" "-lncurses" "/lib/libncurses.so" () ())
(nostart linux "" "" #f () ())
(dump linux "" "" #f ("unexelf.c" "gmalloc.c") ())

7 changes: 5 additions & 2 deletions dev-scheme/scm/scm-5.5.6-r4.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,11 @@ DEPEND=">=dev-scheme/slib-3.1.5
readline? ( sys-libs/libtermcap-compat )"
RDEPEND="${DEPEND}"

PATCHES=( "${FILESDIR}/${P}-multiplefixes.patch"
"${FILESDIR}/${P}-respect-ldflags.patch" )
PATCHES=(
"${FILESDIR}"/${P}-multiplefixes.patch
"${FILESDIR}"/${P}-ncurses.patch
"${FILESDIR}"/${P}-respect-ldflags.patch
)

src_prepare() {
default
Expand Down

0 comments on commit 6f12da1

Please sign in to comment.