summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2013-07-02 14:46:48 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-07-02 22:26:58 +0100
commit61bfb25241cc5f906e517ffd80223969054b8934 (patch)
tree52ce60e6abe6aaefe53fc054e211cb3866cf22f3
parent74a1426551c7451d2a990fa0eb5225dc02251764 (diff)
downloadpoky-61bfb25241cc5f906e517ffd80223969054b8934.tar.gz
ghostscript: fix patch failure with some versions of patch
Some versions of patch (e.g. 2.6.1.136-31a7 on OpenSUSE 12.2) will refuse to patch a file via a symlink (probably a fairly sensible security precaution). The "base/" subdirectory specified within the ghostscript-9.05-NOT-check-endian.patch file was being lost by the default application with -p1, but this was not caught on most systems due to the symlink. Fix the path so that we always patch the file directly. Fixes [YOCTO #4773]. (From OE-Core rev: 96a009da2456a03c65c198d8dca7d2af8b228f4f) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-extended/ghostscript/ghostscript/ghostscript-9.05-NOT-check-endian.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-extended/ghostscript/ghostscript/ghostscript-9.05-NOT-check-endian.patch b/meta/recipes-extended/ghostscript/ghostscript/ghostscript-9.05-NOT-check-endian.patch
index f78387dc02..14c036e5c5 100644
--- a/meta/recipes-extended/ghostscript/ghostscript/ghostscript-9.05-NOT-check-endian.patch
+++ b/meta/recipes-extended/ghostscript/ghostscript/ghostscript-9.05-NOT-check-endian.patch
@@ -7,8 +7,8 @@ Signed-off-by: Kang Kai <kai.kang@windriver.com>
7Signed-off-by: Sen Zhang <sen.zhang@windriver.com> 7Signed-off-by: Sen Zhang <sen.zhang@windriver.com>
8Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com> 8Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
9 9
10--- base/configure.ac.orig 2013-06-24 03:58:26.224723002 -0400 10--- ghostscript/base/configure.ac.orig 2013-06-24 03:58:26.224723002 -0400
11+++ base/configure.ac 2013-06-24 04:03:29.730807957 -0400 11+++ ghostscript/base/configure.ac 2013-06-24 04:03:29.730807957 -0400
12@@ -255,13 +255,13 @@ 12@@ -255,13 +255,13 @@
13 13
14 AC_MSG_CHECKING([for big endian]) 14 AC_MSG_CHECKING([for big endian])