From 56c897d8d0a31aba4c887eacdd3dbe1ee2d368a1 Mon Sep 17 00:00:00 2001 From: Jingdong Lu Date: Sat, 25 Sep 2010 15:04:47 +0800 Subject: texinfo: Add new package Texinfo is a documentation system that can produce both online information and printed output from a single source file. Signed-off-by: Jingdong Lu --- .../texinfo/texinfo-4.13a/texinfo-4.13a-powerpc.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 meta/recipes-extended/texinfo/texinfo-4.13a/texinfo-4.13a-powerpc.patch (limited to 'meta/recipes-extended/texinfo/texinfo-4.13a/texinfo-4.13a-powerpc.patch') diff --git a/meta/recipes-extended/texinfo/texinfo-4.13a/texinfo-4.13a-powerpc.patch b/meta/recipes-extended/texinfo/texinfo-4.13a/texinfo-4.13a-powerpc.patch new file mode 100644 index 0000000000..b6c046e792 --- /dev/null +++ b/meta/recipes-extended/texinfo/texinfo-4.13a/texinfo-4.13a-powerpc.patch @@ -0,0 +1,12 @@ +diff -up texinfo-4.13/install-info/install-info.c.patch texinfo-4.13/install-info/install-info.c +--- texinfo-4.13/install-info/install-info.c.patch 2010-01-11 14:46:32.000000000 +0100 ++++ texinfo-4.13/install-info/install-info.c 2010-01-11 14:48:47.162152695 +0100 +@@ -772,7 +772,7 @@ open_possibly_compressed_file (char *fil + } + else + { /* It's a plain file, seek back over the magic bytes. */ +- if (gzseek (f, 0, SEEK_SET) < 0) ++ if (gzseek (f, 0, SEEK_SET) == -1) + pfatal_with_name (*opened_filename); + #if 0 && O_BINARY + /* Since this is a text file, and we opened it in binary mode, -- cgit v1.2.3-54-g00ecf