summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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