summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-tex')
-rw-r--r--dev-tex/vc/ChangeLog4
-rw-r--r--dev-tex/vc/files/vc-0.5-fix-git-date.patch11
-rw-r--r--dev-tex/vc/vc-0.5.ebuild6
3 files changed, 20 insertions, 1 deletions
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() {