aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2016-02-22 11:49:03 +0100
committerJustin Lecher <jlec@gentoo.org>2016-02-22 11:49:03 +0100
commitfb6d3bdb8b350200f25783f60cfb7e4c917c9359 (patch)
treefc301effc1ab31422106b8d6c66c3f1d108cef7a
parentapp-doc/lapack-docs: Bump to EAPI=6 (diff)
downloadsci-fb6d3bdb8b350200f25783f60cfb7e4c917c9359.tar.gz
sci-fb6d3bdb8b350200f25783f60cfb7e4c917c9359.tar.bz2
sci-fb6d3bdb8b350200f25783f60cfb7e4c917c9359.zip
app-forensics/vine: Bump to EAPI=6
* Amend patches for -p1 * Use PATCHES=() Package-Manager: portage-2.2.27 Signed-off-by: Justin Lecher <jlec@gentoo.org>
-rw-r--r--app-forensics/vine/files/vine-1.0-binutils.patch4
-rw-r--r--app-forensics/vine/files/vine-1.0-gcc46.patch8
-rw-r--r--app-forensics/vine/files/vine-1.0-install.patch32
-rw-r--r--app-forensics/vine/files/vine-1.0-ocamlgraph182.patch8
-rw-r--r--app-forensics/vine/vine-1.0.ebuild19
5 files changed, 35 insertions, 36 deletions
diff --git a/app-forensics/vine/files/vine-1.0-binutils.patch b/app-forensics/vine/files/vine-1.0-binutils.patch
index b9d55daa0..737f10ce2 100644
--- a/app-forensics/vine/files/vine-1.0-binutils.patch
+++ b/app-forensics/vine/files/vine-1.0-binutils.patch
@@ -2,8 +2,8 @@ https://groups.google.com/d/msg/bitblaze-users/Zpg7Ddzngns/o7LNnR0qqxwJ
Index: libasmir/src/disasm/asm_program.cpp
===================================================================
---- libasmir/src/disasm/asm_program.cpp (older version)
-+++ libasmir/src/disasm/asm_program.cpp (fixed version)
+--- a/libasmir/src/disasm/asm_program.cpp (older version)
++++ b/libasmir/src/disasm/asm_program.cpp (fixed version)
@@ -7,6 +7,11 @@
#include "debug.h"
#include "asm_program.h"
diff --git a/app-forensics/vine/files/vine-1.0-gcc46.patch b/app-forensics/vine/files/vine-1.0-gcc46.patch
index 89a52290b..41dc0ae40 100644
--- a/app-forensics/vine/files/vine-1.0-gcc46.patch
+++ b/app-forensics/vine/files/vine-1.0-gcc46.patch
@@ -2,8 +2,8 @@ https://groups.google.com/d/msg/bitblaze-users/sTTPlFEzWo0/0ZjPL0QYC8IJ
Index: libasmir/src/vex/irtoir-i386.cpp
===================================================================
---- libasmir/src/vex/irtoir-i386.cpp (old revision)
-+++ libasmir/src/vex/irtoir-i386.cpp (new revision)
+--- a/libasmir/src/vex/irtoir-i386.cpp (old revision)
++++ b/libasmir/src/vex/irtoir-i386.cpp (new revision)
@@ -9,6 +9,13 @@
web site at: http://bitblaze.cs.berkeley.edu/
*/
@@ -20,8 +20,8 @@ Index: libasmir/src/vex/irtoir-i386.cpp
#include <iostream>
Index: libasmir/src/vex/irtoir-arm.cpp
===================================================================
---- libasmir/src/vex/irtoir-arm.cpp (old revision)
-+++ libasmir/src/vex/irtoir-arm.cpp (new revision)
+--- a/libasmir/src/vex/irtoir-arm.cpp (old revision)
++++ b/libasmir/src/vex/irtoir-arm.cpp (new revision)
@@ -9,6 +9,12 @@
web site at: http://bitblaze.cs.berkeley.edu/
*/
diff --git a/app-forensics/vine/files/vine-1.0-install.patch b/app-forensics/vine/files/vine-1.0-install.patch
index 62a84bca1..166bd1c4e 100644
--- a/app-forensics/vine/files/vine-1.0-install.patch
+++ b/app-forensics/vine/files/vine-1.0-install.patch
@@ -1,5 +1,5 @@
---- vine-1.0.orig/stp/ocaml/Makefile 2009-09-24 15:45:57.000000000 -0600
-+++ vine-1.0/stp/ocaml/Makefile 2013-03-14 20:22:49.993194747 -0600
+--- a/stp/ocaml/Makefile 2009-09-24 15:45:57.000000000 -0600
++++ b/stp/ocaml/Makefile 2013-03-14 20:22:49.993194747 -0600
@@ -14,3 +14,6 @@
Makefile
@@ -7,8 +7,8 @@
+
+install: rawinstall
+
---- vine-1.0.orig/stp/ocaml/OCamlMakefile 2009-09-24 15:45:57.000000000 -0600
-+++ vine-1.0/stp/ocaml/OCamlMakefile 2013-03-14 20:20:23.012069386 -0600
+--- a/stp/ocaml/OCamlMakefile 2009-09-24 15:45:57.000000000 -0600
++++ b/stp/ocaml/OCamlMakefile 2013-03-14 20:20:23.012069386 -0600
@@ -1126,10 +1126,10 @@
.PHONY: rawinstall
rawinstall: all
@@ -23,8 +23,8 @@
done
$(QUIET)printf "\nInstallation successful.\n"
---- vine-1.0.orig/ocaml/Makefile 2009-09-24 15:45:57.000000000 -0600
-+++ vine-1.0/ocaml/Makefile 2013-03-14 20:22:49.993194747 -0600
+--- a/ocaml/Makefile 2009-09-24 15:45:57.000000000 -0600
++++ b/ocaml/Makefile 2013-03-14 20:22:49.993194747 -0600
@@ -14,3 +14,6 @@
@@ -32,8 +32,8 @@
+
+install: rawinstall
+
---- vine-1.0.orig/ocaml/OCamlMakefile 2009-09-24 15:45:57.000000000 -0600
-+++ vine-1.0/ocaml/OCamlMakefile 2013-03-14 20:20:23.012069386 -0600
+--- a/ocaml/OCamlMakefile 2009-09-24 15:45:57.000000000 -0600
++++ b/ocaml/OCamlMakefile 2013-03-14 20:20:23.012069386 -0600
@@ -1126,10 +1126,10 @@
.PHONY: rawinstall
rawinstall: all
@@ -47,8 +47,8 @@
fi; \
done
$(QUIET)printf "\nInstallation successful.\n"
---- vine-1.0.orig/trace/Makefile 2009-09-24 15:45:57.000000000 -0600
-+++ vine-1.0/trace/Makefile 2013-03-14 20:22:49.993194747 -0600
+--- a/trace/Makefile 2009-09-24 15:45:57.000000000 -0600
++++ b/trace/Makefile 2013-03-14 20:22:49.993194747 -0600
@@ -14,3 +14,6 @@
@@ -56,8 +56,8 @@
+
+install: rawinstall
+
---- vine-1.0.orig/trace_utils/Makefile 2009-09-24 15:45:57.000000000 -0600
-+++ vine-1.0/trace_utils/Makefile 2013-03-16 14:31:46.375690732 -0600
+--- a/trace_utils/Makefile 2009-09-24 15:45:57.000000000 -0600
++++ b/trace_utils/Makefile 2013-03-16 14:31:46.375690732 -0600
@@ -88,6 +88,8 @@
# * subprjs
@@ -67,8 +67,8 @@
%:
make -f $(OCAMLMAKEFILE) subprojs SUBTARGET=$@
---- vine-1.0.orig/utils/Makefile 2009-09-24 15:45:57.000000000 -0600
-+++ vine-1.0/utils/Makefile 2013-03-16 14:31:46.375690732 -0600
+--- a/utils/Makefile 2009-09-24 15:45:57.000000000 -0600
++++ b/utils/Makefile 2013-03-16 14:31:46.375690732 -0600
@@ -88,6 +88,8 @@
# * subprjs
@@ -78,8 +78,8 @@
%:
make -f $(OCAMLMAKEFILE) subprojs SUBTARGET=$@
---- vine-1.0.orig/doc/Makefile 2009-09-24 15:45:57.000000000 -0600
-+++ vine-1.0/doc/Makefile 2013-03-16 14:41:59.182926821 -0600
+--- a/doc/Makefile 2009-09-24 15:45:57.000000000 -0600
++++ b/doc/Makefile 2013-03-16 14:41:59.182926821 -0600
@@ -17,3 +17,6 @@
clean:
diff --git a/app-forensics/vine/files/vine-1.0-ocamlgraph182.patch b/app-forensics/vine/files/vine-1.0-ocamlgraph182.patch
index 5cb79f224..e9a2f5d6a 100644
--- a/app-forensics/vine/files/vine-1.0-ocamlgraph182.patch
+++ b/app-forensics/vine/files/vine-1.0-ocamlgraph182.patch
@@ -1,7 +1,7 @@
Index: ocaml/vine_cfg.mli
===================================================================
---- ocaml/vine_cfg.mli (old version)
-+++ ocaml/vine_cfg.mli (new version)
+--- a/ocaml/vine_cfg.mli (old version)
++++ b/ocaml/vine_cfg.mli (new version)
@@ -86,6 +86,11 @@
(** [cfg#iter_edges f] calls [f a b] forall [(a,b)] where there is an edge
vine-1.0-from [a] to [b] in the CFG. *)
@@ -24,8 +24,8 @@ Index: ocaml/vine_cfg.mli
val in_degree : t -> vertex -> int
Index: ocaml/vine_cfg.ml
===================================================================
---- ocaml/vine_cfg.ml (old version)
-+++ ocaml/vine_cfg.ml (new version)
+--- a/ocaml/vine_cfg.ml (old version)
++++ b/ocaml/vine_cfg.ml (new version)
@@ -115,6 +115,7 @@
method iter_bb : ('a bb -> unit) -> unit
method fold_bb : 'b. ('a bb -> 'b -> 'b) -> 'b -> 'b
diff --git a/app-forensics/vine/vine-1.0.ebuild b/app-forensics/vine/vine-1.0.ebuild
index 683f9c964..3ee578265 100644
--- a/app-forensics/vine/vine-1.0.ebuild
+++ b/app-forensics/vine/vine-1.0.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
-EAPI=5
+EAPI=6
inherit eutils toolchain-funcs
@@ -26,14 +26,13 @@ RDEPEND="${DEPEND}"
MAKEOPTS="${MAKEOPTS} -j1"
-src_prepare() {
- epatch \
- "${FILESDIR}"/${P}-binutils.patch \
- "${FILESDIR}"/${P}-gcc46.patch \
- "${FILESDIR}"/${P}-install.patch \
- "${FILESDIR}"/${P}-ocamlgraph182.patch
-}
+PATCHES=(
+ "${FILESDIR}"/${P}-binutils.patch
+ "${FILESDIR}"/${P}-gcc46.patch
+ "${FILESDIR}"/${P}-install.patch
+ "${FILESDIR}"/${P}-ocamlgraph182.patch
+)
src_compile() {
- emake CC=$(tc-getCC) CCFLAGS="${CFLAGS} -fpic"
+ emake CC=$(tc-getCC) CCFLAGS="${CFLAGS} -fPIC"
}