summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Barć <xgqt@gentoo.org>2022-12-15 18:45:34 +0100
committerMaciej Barć <xgqt@gentoo.org>2022-12-15 19:45:31 +0100
commit6f12da135603cb2c16bebca18c220486ccac0b2e (patch)
tree35dddb4c43786e061f4cee7996083f225c0962ec /dev-scheme/scm
parentsys-kernel/installkernel-gentoo: add github upstream metadata (diff)
downloadgentoo-6f12da135603cb2c16bebca18c220486ccac0b2e.tar.gz
gentoo-6f12da135603cb2c16bebca18c220486ccac0b2e.tar.bz2
gentoo-6f12da135603cb2c16bebca18c220486ccac0b2e.zip
dev-scheme/scm: curses -> ncurses
Closes: https://bugs.gentoo.org/838034 Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'dev-scheme/scm')
-rw-r--r--dev-scheme/scm/files/scm-5.5.6-ncurses.patch11
-rw-r--r--dev-scheme/scm/scm-5.5.6-r4.ebuild7
2 files changed, 16 insertions, 2 deletions
diff --git a/dev-scheme/scm/files/scm-5.5.6-ncurses.patch b/dev-scheme/scm/files/scm-5.5.6-ncurses.patch
new file mode 100644
index 000000000000..59b353ebd88e
--- /dev/null
+++ b/dev-scheme/scm/files/scm-5.5.6-ncurses.patch
@@ -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") ())
+
diff --git a/dev-scheme/scm/scm-5.5.6-r4.ebuild b/dev-scheme/scm/scm-5.5.6-r4.ebuild
index 0a286fe7cd04..dc33b24afff3 100644
--- a/dev-scheme/scm/scm-5.5.6-r4.ebuild
+++ b/dev-scheme/scm/scm-5.5.6-r4.ebuild
@@ -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