]> git.ipfire.org Git - people/ms/ipfire-3.x.git/commitdiff
texinfo: Fix error in testsuite.
authorStefan Schantl <stefan.schantl@ipfire.org>
Wed, 27 Jul 2011 18:28:29 +0000 (20:28 +0200)
committerStefan Schantl <stefan.schantl@ipfire.org>
Wed, 27 Jul 2011 18:28:29 +0000 (20:28 +0200)
Fixes #222

pkgs/texinfo/patches/texinfo-4.13a-testsuite_fix.patch [new file with mode: 0644]
pkgs/texinfo/texinfo.nm

diff --git a/pkgs/texinfo/patches/texinfo-4.13a-testsuite_fix.patch b/pkgs/texinfo/patches/texinfo-4.13a-testsuite_fix.patch
new file mode 100644 (file)
index 0000000..5286e7d
--- /dev/null
@@ -0,0 +1,13 @@
+diff -Nur a/makeinfo/tests/accentenc b/makeinfo/tests/accentenc
+--- a/makeinfo/tests/accentenc 2004-04-11 19:56:47.000000000 +0200
++++ b/makeinfo/tests/accentenc 2011-07-27 20:24:36.603237061 +0200
+@@ -1,7 +1,8 @@
+ #!/bin/sh
+ # Test encoded accent info output.
+-unset TEXINFO_OUTPUT
++unset TEXINFO_OUTPUT LANG LANGUAGE
++LC_ALL=POSIX; export LC_ALL
+ : ${srcdir=.}
+ input=`basename $0`.txi
+ output=`basename $0`.info
index 99cea53c6f204f4e41778cea285334d0c21a9ee7..04ea3eb293e9be0f7a699fcf69ef7dd77cc1aa59 100644 (file)
@@ -26,7 +26,7 @@ include $(PKGROOT)/Include
 
 PKG_NAME       = texinfo
 PKG_VER        = 4.13a
-PKG_REL        = 1
+PKG_REL        = 2
 
 PKG_MAINTAINER =
 PKG_GROUPS     = Applications/Publishing
@@ -46,7 +46,6 @@ PKG_TARBALL    = $(THISAPP).tar.gz
 
 DIR_APP        = $(DIR_SRC)/$(PKG_NAME)-4.13
 
-# XXX testsuite fails and needs to be fixed.
-#define STAGE_TEST
-#        cd $(DIR_APP) && make check
-#endef
+define STAGE_TEST
+        cd $(DIR_APP) && make check
+endef