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