summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/texinfo/texinfo-4.13a/texinfo-4.13a-powerpc.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-extended/texinfo/texinfo-4.13a/texinfo-4.13a-powerpc.patch')
-rw-r--r--meta/recipes-extended/texinfo/texinfo-4.13a/texinfo-4.13a-powerpc.patch12
1 files changed, 12 insertions, 0 deletions
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 @@
1diff -up texinfo-4.13/install-info/install-info.c.patch texinfo-4.13/install-info/install-info.c
2--- texinfo-4.13/install-info/install-info.c.patch 2010-01-11 14:46:32.000000000 +0100
3+++ texinfo-4.13/install-info/install-info.c 2010-01-11 14:48:47.162152695 +0100
4@@ -772,7 +772,7 @@ open_possibly_compressed_file (char *fil
5 }
6 else
7 { /* It's a plain file, seek back over the magic bytes. */
8- if (gzseek (f, 0, SEEK_SET) < 0)
9+ if (gzseek (f, 0, SEEK_SET) == -1)
10 pfatal_with_name (*opened_filename);
11 #if 0 && O_BINARY
12 /* Since this is a text file, and we opened it in binary mode,