From 0e534e74aa68cea63302db19e7e39a72d0280b3d Mon Sep 17 00:00:00 2001 From: John Darrington Date: Fri, 24 Jan 2014 15:01:00 +0100 Subject: gnu: Add Aegis. * gnu/packages/version-control.scm (aegis): New variable. * gnu/packages/patches/aegis-constness-error.patch: New file. * gnu/packages/patches/aegis-perl-tempdir1.patch: New file. * gnu/packages/patches/aegis-perl-tempdir2.patch: New file. * gnu/packages/patches/aegis-test-fixup-1.patch: New file. * gnu/packages/patches/aegis-test-fixup-2.patch: New file. --- gnu/packages/patches/aegis-test-fixup-1.patch | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 gnu/packages/patches/aegis-test-fixup-1.patch (limited to 'gnu/packages/patches/aegis-test-fixup-1.patch') diff --git a/gnu/packages/patches/aegis-test-fixup-1.patch b/gnu/packages/patches/aegis-test-fixup-1.patch new file mode 100644 index 0000000000..1ed4dad525 --- /dev/null +++ b/gnu/packages/patches/aegis-test-fixup-1.patch @@ -0,0 +1,15 @@ +This test fails because it expects a MIME type "Content-Type: image/gif" +whereas that provided by libmagic is "Content-Type: image/gif; charset=binary" +Presumably the test was written against a different version. +--- aegis-4.24/test/02/t0228a-matt.sh 2008-03-14 07:19:27.000000000 +0100 ++++ aegis-4.24/test/02/t0228a-matt.sh 2014-01-27 09:43:44.000000000 +0100 +@@ -147,7 +147,8 @@ + SCRIPT_NAME=/cgi-bin/aeget \ + PATH_INFO=icon/rss.gif \ + QUERY_STRING= \ +-$bin/aeget > rss.served.gif 2>&1 ++$bin/aeget \ ++| sed -e 's%^Content-Type: image/gif; charset=binary%Content-Type: image/gif%' > rss.served.gif 2>&1 + if test $? -ne 0 ; then fail; fi + + # Compare the expected and the actual received file. -- cgit v1.2.3