aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2014-06-16 21:46:27 +0200
committerLudovic Courtès <ludo@gnu.org>2014-06-16 21:46:27 +0200
commitc4e52354c6716bf3630e96c3f142fe6fe6d2896a (patch)
treea8cb3ef652aca6ce8b535e0b8dba1096203c9e1b /gnu
parent1319cfe9466da6fcc8b2bad5db7fbb1f9c9ea8cc (diff)
downloadgnu-guix-c4e52354c6716bf3630e96c3f142fe6fe6d2896a.tar
gnu-guix-c4e52354c6716bf3630e96c3f142fe6fe6d2896a.tar.gz
gnu: guile-ncurses: Work around missing test files.
* gnu/packages/patches/guile-ncurses-tests.patch: New file. * gnu/packages/guile.scm (guile-ncurses)[source]: Use it. * gnu-system.am (dist_patch_DATA): Add it.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/guile.scm3
-rw-r--r--gnu/packages/patches/guile-ncurses-tests.patch15
2 files changed, 17 insertions, 1 deletions
diff --git a/gnu/packages/guile.scm b/gnu/packages/guile.scm
index 4c42d82345..173365f635 100644
--- a/gnu/packages/guile.scm
+++ b/gnu/packages/guile.scm
@@ -242,7 +242,8 @@ many readers as needed).")
version ".tar.gz"))
(sha256
(base32
- "070wl664lsm14hb6y9ch97x9q6cns4k6nxgdzbdzi5byixn74899"))))
+ "070wl664lsm14hb6y9ch97x9q6cns4k6nxgdzbdzi5byixn74899"))
+ (patches (list (search-patch "guile-ncurses-tests.patch")))))
(build-system gnu-build-system)
(inputs `(("ncurses" ,ncurses)
("guile" ,guile-2.0)))
diff --git a/gnu/packages/patches/guile-ncurses-tests.patch b/gnu/packages/patches/guile-ncurses-tests.patch
new file mode 100644
index 0000000000..483b05a4ef
--- /dev/null
+++ b/gnu/packages/patches/guile-ncurses-tests.patch
@@ -0,0 +1,15 @@
+The wide test files are missing from the tarball, so ignore them.
+Reported at <https://lists.gnu.org/archive/html/bug-guile-ncurses/2014-06/msg00000.html>.
+
+--- guile-ncurses-1.4/test/Makefile.in 2013-04-27 17:55:19.000000000 +0200
++++ guile-ncurses-1.4/test/Makefile.in 2014-06-16 21:39:40.000000000 +0200
+@@ -258,8 +258,7 @@ m011_menu_options.test slk_001_init.test
+ slk_003_init.test slk_004_init.test slk_005_demo.test \
+ slk_006_attributes.test
+
+-WIDETESTS = r037_border_set.test r038_get_wch.test r039_get_wstr.test \
+-r040_term_attrs.test
++WIDETESTS =
+
+ TESTS = $(NOTERMTESTS) $(am__append_1) $(am__append_2)
+ EXTRA_DIST = $(TESTLIB) $(TESTS)