app-crypt/stan: eapi bump
authorAlon Bar-Lev <alonbl@gentoo.org>
Sat, 4 Feb 2017 19:23:32 +0000 (21:23 +0200)
committerAlon Bar-Lev <alonbl@gentoo.org>
Sat, 4 Feb 2017 20:06:37 +0000 (22:06 +0200)
Package-Manager: portage-2.3.3

app-crypt/stan/files/stan-0.4.1-errno.patch
app-crypt/stan/stan-0.4.1-r1.ebuild

index a63810c1ac1b2ef9346d9824d96f1b7e521f9482..6bce4ba7e0d44bb0b79f6c34a982f174a429fe4c 100644 (file)
@@ -1,5 +1,5 @@
---- src/data.c.orig    2005-12-05 13:23:44.000000000 +0200
-+++ src/data.c 2005-12-05 13:24:31.000000000 +0200
+--- a/src/data.c       2005-12-05 13:23:44.000000000 +0200
++++ b/src/data.c       2005-12-05 13:24:31.000000000 +0200
 @@ -55,7 +55,9 @@
  #include <stats.h>
  #include <config.h>
@@ -11,8 +11,8 @@
  extern tnode_t **treap;
  extern bnode_t *bintree;
  size_t size = 0;
---- src/stan.c.orig    2005-12-05 13:23:49.000000000 +0200
-+++ src/stan.c 2005-12-05 13:24:57.000000000 +0200
+--- a/src/stan.c       2005-12-05 13:23:49.000000000 +0200
++++ b/src/stan.c       2005-12-05 13:24:57.000000000 +0200
 @@ -46,7 +46,9 @@
  #include <bits.h>
  #include <config.h>
index 4826bbb7abae4da88234608c0f7e095a186ca100..ab3a2ca496371104524a193d28c960f64a4a068a 100644 (file)
@@ -1,9 +1,9 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
 EAPI=6
-inherit autotools eutils
+inherit autotools
 
 DESCRIPTION="Stan analyzes binary streams and calculates statistical information"
 HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage"
@@ -14,13 +14,16 @@ SLOT="0"
 KEYWORDS="~amd64 ~x86"
 IUSE=""
 
+PATCHES=(
+       "${FILESDIR}/${P}-errno.patch"
+)
+
 src_prepare() {
-       eapply -p0 "${FILESDIR}/${P}-errno.patch"
-       # Update autotools deprecated file name and macro for bug 468750
+       default
+
        mv configure.{in,ac} || die
        sed -i \
                        -e "s/-O3/${CFLAGS}/" \
                        -e "s/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/g" configure.ac || die
        eautoreconf
-       default
 }