From: "Ulrich Müller" <ulm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] dev/ulm:master commit in: dev-tex/vc/, dev-tex/vc/files/
Date: Fri, 15 May 2015 19:09:36 +0000 (UTC) [thread overview]
Message-ID: <1431716836.d440548e3601a3af1668416a7e40d34b7fbc9f08.ulm@gentoo> (raw)
commit: d440548e3601a3af1668416a7e40d34b7fbc9f08
Author: Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Fri May 15 19:07:16 2015 +0000
Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Fri May 15 19:07:16 2015 +0000
URL: https://gitweb.gentoo.org/dev/ulm.git/commit/?id=d440548e
Fix date information in git.
Package-Manager: portage-2.2.19
dev-tex/vc/ChangeLog | 4 ++++
dev-tex/vc/files/vc-0.5-fix-git-date.patch | 11 +++++++++++
dev-tex/vc/vc-0.5.ebuild | 6 +++++-
3 files changed, 20 insertions(+), 1 deletion(-)
diff --git a/dev-tex/vc/ChangeLog b/dev-tex/vc/ChangeLog
index 5193a62..954383a 100644
--- a/dev-tex/vc/ChangeLog
+++ b/dev-tex/vc/ChangeLog
@@ -2,6 +2,10 @@
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+ 15 May 2015; Ulrich Müller <ulm@gentoo.org> vc-0.5.ebuild,
+ +files/vc-0.5-fix-git-date.patch:
+ Fix date information in git.
+
*vc-0.5 (15 May 2015)
15 May 2015; Ulrich Müller <ulm@gentoo.org> +vc-0.5.ebuild, +metadata.xml:
diff --git a/dev-tex/vc/files/vc-0.5-fix-git-date.patch b/dev-tex/vc/files/vc-0.5-fix-git-date.patch
new file mode 100644
index 0000000..7db7293
--- /dev/null
+++ b/dev-tex/vc/files/vc-0.5-fix-git-date.patch
@@ -0,0 +1,11 @@
+--- vc-orig/git-unix/vc-git.awk
++++ vc/git-unix/vc-git.awk
+@@ -39,7 +39,7 @@
+ ### Standard encoding is UTF-8.
+ if (Encoding == "") Encoding = "UTF-8"
+ ### Extract relevant information from variables.
+- LongDate = substr(AuthorDate, 1, 25)
++ LongDate = substr(CommitterDate, 1, 25)
+ DateRAW = substr(LongDate, 1, 10)
+ DateISO = DateRAW
+ DateTEX = DateISO
diff --git a/dev-tex/vc/vc-0.5.ebuild b/dev-tex/vc/vc-0.5.ebuild
index bb3ec84..278d9c9 100644
--- a/dev-tex/vc/vc-0.5.ebuild
+++ b/dev-tex/vc/vc-0.5.ebuild
@@ -4,7 +4,7 @@
EAPI=5
-inherit latex-package
+inherit eutils latex-package
DESCRIPTION="The vc (version control) bundle"
HOMEPAGE="https://www.ctan.org/pkg/vc"
@@ -18,6 +18,10 @@ DEPEND="app-arch/unzip"
S="${WORKDIR}/${PN}"
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-fix-git-date.patch
+}
+
src_compile() { :; }
src_install() {
reply other threads:[~2015-05-15 19:09 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=1431716836.d440548e3601a3af1668416a7e40d34b7fbc9f08.ulm@gentoo \
--to=ulm@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