[oe-commits] Paul Eggleton : ghostscript: fix patch failure with some versions of patch

git at git.openembedded.org git at git.openembedded.org
Tue Jul 2 21:20:47 UTC 2013


Module: openembedded-core.git
Branch: master
Commit: 96a009da2456a03c65c198d8dca7d2af8b228f4f
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=96a009da2456a03c65c198d8dca7d2af8b228f4f

Author: Paul Eggleton <paul.eggleton at linux.intel.com>
Date:   Tue Jul  2 14:46:48 2013 +0100

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].

Signed-off-by: Paul Eggleton <paul.eggleton at linux.intel.com>
Signed-off-by: Saul Wold <sgw at linux.intel.com>

---

 .../ghostscript-9.05-NOT-check-endian.patch        |    4 ++--
 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 f78387d..14c036e 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 at windriver.com>
 Signed-off-by: Sen Zhang <sen.zhang at windriver.com>
 Signed-off-by: Wenzong Fan <wenzong.fan at windriver.com>
 
---- base/configure.ac.orig	2013-06-24 03:58:26.224723002 -0400
-+++ base/configure.ac	2013-06-24 04:03:29.730807957 -0400
+--- ghostscript/base/configure.ac.orig	2013-06-24 03:58:26.224723002 -0400
++++ ghostscript/base/configure.ac	2013-06-24 04:03:29.730807957 -0400
 @@ -255,13 +255,13 @@
  
  AC_MSG_CHECKING([for big endian])



More information about the Openembedded-commits mailing list