1 |
commit: f1fff060e78accb229a77b4367e1561956389b2a |
2 |
Author: Alon Bar-Lev <alonbl <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Feb 4 19:23:32 2017 +0000 |
4 |
Commit: Alon Bar-Lev <alonbl <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Feb 4 20:06:37 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f1fff060 |
7 |
|
8 |
app-crypt/stan: eapi bump |
9 |
|
10 |
Package-Manager: portage-2.3.3 |
11 |
|
12 |
app-crypt/stan/files/stan-0.4.1-errno.patch | 8 ++++---- |
13 |
app-crypt/stan/stan-0.4.1-r1.ebuild | 13 ++++++++----- |
14 |
2 files changed, 12 insertions(+), 9 deletions(-) |
15 |
|
16 |
diff --git a/app-crypt/stan/files/stan-0.4.1-errno.patch b/app-crypt/stan/files/stan-0.4.1-errno.patch |
17 |
index a63810c..6bce4ba 100644 |
18 |
--- a/app-crypt/stan/files/stan-0.4.1-errno.patch |
19 |
+++ b/app-crypt/stan/files/stan-0.4.1-errno.patch |
20 |
@@ -1,5 +1,5 @@ |
21 |
---- src/data.c.orig 2005-12-05 13:23:44.000000000 +0200 |
22 |
-+++ src/data.c 2005-12-05 13:24:31.000000000 +0200 |
23 |
+--- a/src/data.c 2005-12-05 13:23:44.000000000 +0200 |
24 |
++++ b/src/data.c 2005-12-05 13:24:31.000000000 +0200 |
25 |
@@ -55,7 +55,9 @@ |
26 |
#include <stats.h> |
27 |
#include <config.h> |
28 |
@@ -11,8 +11,8 @@ |
29 |
extern tnode_t **treap; |
30 |
extern bnode_t *bintree; |
31 |
size_t size = 0; |
32 |
---- src/stan.c.orig 2005-12-05 13:23:49.000000000 +0200 |
33 |
-+++ src/stan.c 2005-12-05 13:24:57.000000000 +0200 |
34 |
+--- a/src/stan.c 2005-12-05 13:23:49.000000000 +0200 |
35 |
++++ b/src/stan.c 2005-12-05 13:24:57.000000000 +0200 |
36 |
@@ -46,7 +46,9 @@ |
37 |
#include <bits.h> |
38 |
#include <config.h> |
39 |
|
40 |
diff --git a/app-crypt/stan/stan-0.4.1-r1.ebuild b/app-crypt/stan/stan-0.4.1-r1.ebuild |
41 |
index 4826bbb..ab3a2ca 100644 |
42 |
--- a/app-crypt/stan/stan-0.4.1-r1.ebuild |
43 |
+++ b/app-crypt/stan/stan-0.4.1-r1.ebuild |
44 |
@@ -1,9 +1,9 @@ |
45 |
-# Copyright 1999-2016 Gentoo Foundation |
46 |
+# Copyright 1999-2017 Gentoo Foundation |
47 |
# Distributed under the terms of the GNU General Public License v2 |
48 |
# $Id$ |
49 |
|
50 |
EAPI=6 |
51 |
-inherit autotools eutils |
52 |
+inherit autotools |
53 |
|
54 |
DESCRIPTION="Stan analyzes binary streams and calculates statistical information" |
55 |
HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage" |
56 |
@@ -14,13 +14,16 @@ SLOT="0" |
57 |
KEYWORDS="~amd64 ~x86" |
58 |
IUSE="" |
59 |
|
60 |
+PATCHES=( |
61 |
+ "${FILESDIR}/${P}-errno.patch" |
62 |
+) |
63 |
+ |
64 |
src_prepare() { |
65 |
- eapply -p0 "${FILESDIR}/${P}-errno.patch" |
66 |
- # Update autotools deprecated file name and macro for bug 468750 |
67 |
+ default |
68 |
+ |
69 |
mv configure.{in,ac} || die |
70 |
sed -i \ |
71 |
-e "s/-O3/${CFLAGS}/" \ |
72 |
-e "s/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/g" configure.ac || die |
73 |
eautoreconf |
74 |
- default |
75 |
} |