grep: Add patch for texinfo 5.1
authorSaul Wold <sgw@linux.intel.com>
Fri, 2 Aug 2013 01:30:59 +0000 (18:30 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 3 Aug 2013 09:33:14 +0000 (10:33 +0100)
(From OE-Core rev: bc6258f88705b0e7989089a8666ac5e5d2355823)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-extended/grep/grep-2.5.1a/fix-for-texinfo-5.1.patch [new file with mode: 0644]
meta/recipes-extended/grep/grep_2.5.1a.bb

diff --git a/meta/recipes-extended/grep/grep-2.5.1a/fix-for-texinfo-5.1.patch b/meta/recipes-extended/grep/grep-2.5.1a/fix-for-texinfo-5.1.patch
new file mode 100644 (file)
index 0000000..02dbd20
--- /dev/null
@@ -0,0 +1,13 @@
+Index: grep-2.5.1a/doc/grep.texi
+===================================================================
+--- grep-2.5.1a.orig/doc/grep.texi
++++ grep-2.5.1a/doc/grep.texi
+@@ -288,7 +288,7 @@ This version number should be included i
+ Print a usage message briefly summarizing these command-line options
+ and the bug-reporting address, then exit.
+-@itemx --binary-files=@var{type}
++@item --binary-files=@var{type}
+ @opindex --binary-files
+ @cindex binary files
+ If the first few bytes of a file indicate that the file contains binary
index 247c837..088959c 100644 (file)
@@ -14,6 +14,7 @@ SRC_URI = "${GNU_MIRROR}/grep/grep-${PV}.tar.bz2 \
            file://fix64-int-to-pointer.patch \
            file://Makevars \
            file://grep-CVE-2012-5667.patch \
+           file://fix-for-texinfo-5.1.patch \
           "
 
 SRC_URI[md5sum] = "52202fe462770fa6be1bb667bd6cf30c"