ghostscript: fix patch failure with some versions of patch
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Tue, 2 Jul 2013 13:46:48 +0000 (14:46 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 2 Jul 2013 21:26:58 +0000 (22:26 +0100)
commitc3b3cc72db23f54a4a7430bc38084f6bd289b65a
tree8234df9ae7d483628e97bce17672d43254f69d52
parente4204bfe940e8ae13e86d373670a26c6862964c5
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>
meta/recipes-extended/ghostscript/ghostscript/ghostscript-9.05-NOT-check-endian.patch