public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Mike Frysinger" <vapier@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-arch/cpio/, app-arch/cpio/files/
Date: Fri, 11 Sep 2015 05:33:54 +0000 (UTC)	[thread overview]
Message-ID: <1441949627.34b312a4274fa1fe232cd72f080070fec4b13e9c.vapier@gentoo> (raw)

commit:     34b312a4274fa1fe232cd72f080070fec4b13e9c
Author:     Mike Frysinger <vapier <AT> gentoo <DOT> org>
AuthorDate: Fri Sep 11 05:32:48 2015 +0000
Commit:     Mike Frysinger <vapier <AT> gentoo <DOT> org>
CommitDate: Fri Sep 11 05:33:47 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=34b312a4

app-arch/cpio: add upstream fix for symlink-bad-length test failure #554760

 app-arch/cpio/cpio-2.11-r3.ebuild                  |  1 +
 .../files/cpio-2.11-symlink-bad-length-test.patch  | 39 ++++++++++++++++++++++
 2 files changed, 40 insertions(+)

diff --git a/app-arch/cpio/cpio-2.11-r3.ebuild b/app-arch/cpio/cpio-2.11-r3.ebuild
index d234da8..c389789 100644
--- a/app-arch/cpio/cpio-2.11-r3.ebuild
+++ b/app-arch/cpio/cpio-2.11-r3.ebuild
@@ -20,6 +20,7 @@ src_prepare() {
 	epatch "${FILESDIR}"/${P}-no-gets.patch #424974
 	epatch "${FILESDIR}"/${P}-non-gnu-compilers.patch #275295
 	epatch "${FILESDIR}"/${P}-security.patch #530512 #536010
+	epatch "${FILESDIR}"/${P}-symlink-bad-length-test.patch #554760
 	eautoreconf
 }
 

diff --git a/app-arch/cpio/files/cpio-2.11-symlink-bad-length-test.patch b/app-arch/cpio/files/cpio-2.11-symlink-bad-length-test.patch
new file mode 100644
index 0000000..7af5fe0
--- /dev/null
+++ b/app-arch/cpio/files/cpio-2.11-symlink-bad-length-test.patch
@@ -0,0 +1,39 @@
+https://lists.gnu.org/archive/html/bug-cpio/2015-06/msg00001.html
+https://bugs.gentoo.org/554760
+
+this fix is squashed into 0396591026410f91f7a81b4b150bc7285d9f2278
+(as upstream doesn't seem to understand git)
+
+>From bebf9662c406d1d137a66c567d8748b489d352e7 Mon Sep 17 00:00:00 2001
+From: Pavel Raiskup <address@hidden>
+Date: Thu, 4 Jun 2015 13:27:42 +0200
+Subject: [PATCH] tests: fix expected output for old file
+
+Thanks Victor Rodriguez.  Upstream thread:
+http://lists.gnu.org/archive/html/bug-cpio/2015-06/msg00000.html
+
+* tests/symlink-bad-length.at (STDOUT): Expect the year string
+'2014' is printed and not time because the file in archive is
+older than 6 months.
+* Thanks: Mention Victor.
+---
+ THANKS                      | 1 +
+ tests/symlink-bad-length.at | 2 +-
+ 2 files changed, 2 insertions(+), 1 deletion(-)
+
+diff --git a/tests/symlink-bad-length.at b/tests/symlink-bad-length.at
+index e1a7093..2cdc692 100644
+--- a/tests/symlink-bad-length.at
++++ b/tests/symlink-bad-length.at
+@@ -57,7 +57,7 @@ cat stderr | grep -v \
+ echo >&2 STDERR
+ ],
+ [0],
+-[-rw-rw-r--   1 10029    10031          13 Nov 25 11:52 FILE
++[-rw-rw-r--   1 10029    10031          13 Nov 25  2014 FILE
+ ],[STDERR
+ ])
+ 
+-- 
+2.1.0
+


             reply	other threads:[~2015-09-11  5:34 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-11  5:33 Mike Frysinger [this message]
  -- strict thread matches above, loose matches on Subject: below --
2015-09-12 23:00 [gentoo-commits] repo/gentoo:master commit in: app-arch/cpio/, app-arch/cpio/files/ Lars Wendler
2023-01-03  3:33 Sam James
2023-05-05  2:38 Sam James
2024-11-03  0:10 Andreas K. Hüttel

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=1441949627.34b312a4274fa1fe232cd72f080070fec4b13e9c.vapier@gentoo \
    --to=vapier@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.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