summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPalmer Dabbelt <palmer@dabbelt.com>2015-03-25 15:41:09 -0700
committerPalmer Dabbelt <palmer@dabbelt.com>2015-03-25 15:41:09 -0700
commit41aa2b630c195ddc65305ac062e61fe8118bf502 (patch)
treeab7982734830893d2efad35e73ac65edb18bdd4f /dev-libs
parentUpdate pconfigure to 0.9.4-r1 (diff)
downloadpalmer-41aa2b630c195ddc65305ac062e61fe8118bf502.tar.gz
palmer-41aa2b630c195ddc65305ac062e61fe8118bf502.tar.bz2
palmer-41aa2b630c195ddc65305ac062e61fe8118bf502.zip
Update gitdate to 0.0.1-r1
This is needed to make glibc-2.20 work correctly.
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/gitdate/Manifest2
-rw-r--r--dev-libs/gitdate/files/gitdate-0.0.1-glibc_2.20.patch24
-rw-r--r--dev-libs/gitdate/gitdate-0.0.1-r1.ebuild25
3 files changed, 51 insertions, 0 deletions
diff --git a/dev-libs/gitdate/Manifest b/dev-libs/gitdate/Manifest
index f1ddd10..8fc9511 100644
--- a/dev-libs/gitdate/Manifest
+++ b/dev-libs/gitdate/Manifest
@@ -1,2 +1,4 @@
+AUX gitdate-0.0.1-glibc_2.20.patch 519 SHA256 e498715d307501c2aad232c60f139c2e1b87c62148baba9cae08cd4cb8dc42e3 SHA512 ddf330956427017d852aed820e20364b84a21ec65be45ee145596edb21d178af3f62b88464086a535922728a0b6e67b58515284dd98ca2afdedc9287ce623997 WHIRLPOOL 94e42d2311715c022c74fbb8472390b52dc5f2973623a2375bd58011b34a4356408393d09ef261f3869732f80241502bb37fec38d977286b7e3cbf87ce9155f1
DIST gitdate-0.0.1.tar.gz 9669 SHA256 fe5d03928b353d82a9a6a4e120eff91df6bfb98886a18458e3b66cfabbb05471 SHA512 751b050410b3180e5340e3dfe7a961ac2da8fd7d6d75a00d90006d670536b7aef12f11498eae99f371a061ead582bd217d4df881af8b08956f61bd533a46cf9b WHIRLPOOL 1e622a4d95c9cc181b65b93e9fa74881cd55806585acca0b69c4d89a04f3236614dd9e7616b3cac376417fc94bb0920eb76e677e343121b0b4cee4d3bd7449fd
+EBUILD gitdate-0.0.1-r1.ebuild 504 SHA256 7fbad2c0f2662bf70d861ee187bb47ed5aadc1b9a78ca3b8b2deef9db500b098 SHA512 a854ffa734afd9097a23c1414a4f00c49fbd284f42af6f9eafc59032ad4560182718352c4012fbe097996e89612d08049feac9bff0bd4dd1cdb6260503274ff6 WHIRLPOOL c0b18036391bceb1d9be6e83b1b2e571b08bf23d3d5f2fadd5d8f3a1b8349376a02151628cb31dd4c55a633de3a1b1aa546d4be7f8c7a4e70d737aa36796f7fe
EBUILD gitdate-0.0.1.ebuild 434 SHA256 b2e9dba2e243e0e9106fcdc1dc9d974889d3a8f07876511c2b154f16a07c29e1 SHA512 f5d1ff30ee991e4a4ff68795b3cc3026131a23d0dae4bf999657bcd6f295ae833c79d465206af889c5da376189eeba2fbc73f25929b5f49074fb24613b8fce5a WHIRLPOOL 7789bc679d0f3249737ba4e78b50eba14400345ac502a879b5746260ed4378b48d54ee711f13950f11e49e949ffc18fd92025bac7c6051eaf41ecca6f13be08d
diff --git a/dev-libs/gitdate/files/gitdate-0.0.1-glibc_2.20.patch b/dev-libs/gitdate/files/gitdate-0.0.1-glibc_2.20.patch
new file mode 100644
index 0000000..7d25cf1
--- /dev/null
+++ b/dev-libs/gitdate/files/gitdate-0.0.1-glibc_2.20.patch
@@ -0,0 +1,24 @@
+From 1922e819b923fe6a6d0fe59c6cd819a885a6f1a4 Mon Sep 17 00:00:00 2001
+From: Palmer Dabbelt <palmer@dabbelt.com>
+Date: Wed, 25 Mar 2015 15:38:31 -0700
+Subject: [PATCH] Port to glibc-2.20, which requires _DEFAULT_SOURCE
+
+---
+ src/git/date.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/src/git/date.c b/src/git/date.c
+index 8447f45..f8ee4a6 100644
+--- a/src/git/date.c
++++ b/src/git/date.c
+@@ -5,6 +5,7 @@
+ */
+
+ #define _BSD_SOURCE
++#define _DEFAULT_SOURCE
+
+ #include <gitdate.h>
+ #include "date.h"
+--
+2.0.5
+
diff --git a/dev-libs/gitdate/gitdate-0.0.1-r1.ebuild b/dev-libs/gitdate/gitdate-0.0.1-r1.ebuild
new file mode 100644
index 0000000..8c11bd7
--- /dev/null
+++ b/dev-libs/gitdate/gitdate-0.0.1-r1.ebuild
@@ -0,0 +1,25 @@
+EAPI="5"
+inherit eutils
+
+DESCRIPTION="Git's date parsing code"
+HOMEPAGE="http://www.dabbelt.com/~palmer/software/${PN}/"
+SRC_URI="https://github.com/palmer-dabbelt/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0/$PV"
+KEYWORDS="amd64 amd64-linux"
+IUSE="scala"
+
+RDEPEND="sys-devel/pconfigure
+ "
+
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+ epatch "${FILESDIR}/${P}-glibc_2.20.patch"
+}
+
+src_configure() {
+ echo "PREFIX = ${EPREFIX}/usr" > Configfile.local
+ pconfigure
+}