commit:     a96ee4d1c3617820aa24b85953ba9593805a589a
Author:     Alexis Ballier <aballier <AT> gentoo <DOT> org>
AuthorDate: Sun Aug 28 14:07:50 2016 +0000
Commit:     Alexis Ballier <aballier <AT> gentoo <DOT> org>
CommitDate: Sun Aug 28 14:07:59 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a96ee4d1

dev-ml/ANSITerminal: fix build with oasis 0.4.7; bug #592288

Package-Manager: portage-2.3.0

 dev-ml/ANSITerminal/ANSITerminal-0.7.ebuild |  1 +
 dev-ml/ANSITerminal/files/oasis.patch       | 13 +++++++++++++
 2 files changed, 14 insertions(+)

diff --git a/dev-ml/ANSITerminal/ANSITerminal-0.7.ebuild 
b/dev-ml/ANSITerminal/ANSITerminal-0.7.ebuild
index d3bbbde..4d582d0 100644
--- a/dev-ml/ANSITerminal/ANSITerminal-0.7.ebuild
+++ b/dev-ml/ANSITerminal/ANSITerminal-0.7.ebuild
@@ -21,5 +21,6 @@ IUSE=""
 DOCS=( "README.txt" "AUTHORS.txt" )
 
 src_prepare() {
+       epatch "${FILESDIR}/oasis.patch"
        oasis setup || die
 }

diff --git a/dev-ml/ANSITerminal/files/oasis.patch 
b/dev-ml/ANSITerminal/files/oasis.patch
new file mode 100644
index 00000000..d95b446
--- /dev/null
+++ b/dev-ml/ANSITerminal/files/oasis.patch
@@ -0,0 +1,13 @@
+Index: ANSITerminal-0.7/_oasis
+===================================================================
+--- ANSITerminal-0.7.orig/_oasis
++++ ANSITerminal-0.7/_oasis
+@@ -19,7 +19,7 @@ Library "ANSITerminal"
+   InternalModules: ANSITerminal_common
+   CSources:     ANSITerminal_stubs.c
+   BuildDepends: unix, bytes
+-  
++
+ Document API
+   Title:           API reference for ANSITerminal
+   Type:            OCamlbuild (0.3)

Reply via email to