From: Paul Eggleton <paul.eggleton@linux.intel.com>
To: openembedded-core@lists.openembedded.org
Subject: [PATCH 3/3] ghostscript: fix patch failure with some versions of patch
Date: Tue, 2 Jul 2013 15:02:41 +0100 [thread overview]
Message-ID: <6f10b6f7efcda0ef8232572033b703241f10adcd.1372773662.git.paul.eggleton@linux.intel.com> (raw)
In-Reply-To: <cover.1372773662.git.paul.eggleton@linux.intel.com>
In-Reply-To: <cover.1372773662.git.paul.eggleton@linux.intel.com>
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@linux.intel.com>
---
.../ghostscript/ghostscript/ghostscript-9.05-NOT-check-endian.patch | 4 ++--
1 file 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@windriver.com>
Signed-off-by: Sen Zhang <sen.zhang@windriver.com>
Signed-off-by: Wenzong Fan <wenzong.fan@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])
--
1.8.1.2
prev parent reply other threads:[~2013-07-02 14:02 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-02 14:02 [PATCH 0/3] Fixes for autobuilder failures Paul Eggleton
2013-07-02 14:02 ` [PATCH 1/3] rpm: add wrapper for debugedit executable Paul Eggleton
2013-07-02 14:02 ` [PATCH 2/3] classes/package: print command output when commands fail Paul Eggleton
2013-07-02 14:02 ` Paul Eggleton [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=6f10b6f7efcda0ef8232572033b703241f10adcd.1372773662.git.paul.eggleton@linux.intel.com \
--to=paul.eggleton@linux.intel.com \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox