dev-ml/ANSITerminal: fix build with oasis 0.4.7; bug #592288
authorAlexis Ballier <aballier@gentoo.org>
Sun, 28 Aug 2016 14:07:50 +0000 (16:07 +0200)
committerAlexis Ballier <aballier@gentoo.org>
Sun, 28 Aug 2016 14:07:59 +0000 (16:07 +0200)
Package-Manager: portage-2.3.0

dev-ml/ANSITerminal/ANSITerminal-0.7.ebuild
dev-ml/ANSITerminal/files/oasis.patch [new file with mode: 0644]

index d3bbbde4799a68281d6e4db357a07fffc738996f..4d582d0e2e749126c73084974d8c1fa6bcde0da2 100644 (file)
@@ -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 (file)
index 0000000..d95b446
--- /dev/null
@@ -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)