* [gentoo-commits] dev/ulm:master commit in: dev-tex/vc/, dev-tex/vc/files/
@ 2015-05-15 19:09 Ulrich Müller
0 siblings, 0 replies; only message in thread
From: Ulrich Müller @ 2015-05-15 19:09 UTC (permalink / raw
To: gentoo-commits
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() {
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2015-05-15 19:09 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-15 19:09 [gentoo-commits] dev/ulm:master commit in: dev-tex/vc/, dev-tex/vc/files/ Ulrich Müller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox