summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorBertram Felgenhauer2016-10-27 10:55:38 +0200
committerSimon Legner2016-10-27 12:19:37 +0200
commit05b8fb73537b2d3063055f86aab956ea8c615ef1 (patch)
tree42ca38a9a485dae7a8914b9c1cacebcc1f1ced98 /PKGBUILD
parente23565c983c21f60787b6ba027c08ff81564246a (diff)
downloadaur-05b8fb73537b2d3063055f86aab956ea8c615ef1.tar.gz
fix build with ocaml-4.03
There is now an Array module in the standard library which clashes with the camlidl one.
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD6
1 files changed, 5 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 192f4e849eb4..6089ac5fe4ae 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
# Maintainer: Simon Legner <Simon.Legner@gmail.com>
pkgname=camlidl
pkgver=1.05
-pkgrel=5
+pkgrel=6
pkgdesc="A stub code generator and COM binding for Objective Caml (OCaml)"
arch=('i686' 'x86_64')
url="http://caml.inria.fr/pub/old_caml_site/camlidl/"
@@ -12,12 +12,14 @@ depends=('ocaml')
options=(staticlibs)
source=(http://caml.inria.fr/pub/old_caml_site/distrib/bazar-ocaml/$pkgname-$pkgver.tar.gz
arch-build-system-fix.patch
+ rename-array-module-for-ocaml-4.03.patch
META.camlidl)
build() {
cd "$srcdir/$pkgname-$pkgver"
patch -Np1 -i ${srcdir}/arch-build-system-fix.patch
+ patch -Np1 -i ${srcdir}/rename-array-module-for-ocaml-4.03.patch
cp config/Makefile.unix config/Makefile
@@ -38,7 +40,9 @@ package() {
md5sums=('4cfb863bc3cbdc1af2502042c45cc675'
'050c117fbddf73e7f7ca64cf1c17c644'
+ '162464cc1dfaf47019cbe2cef29bcab4'
'c8239780b7303f02b86ca6efc644640c')
sha1sums=('2a0d5ba70fea8c1de1c5387f8b2058357b2177df'
'a7869f04e83a279ad8327f7cade60b1e470cd24a'
+ '7665ee975581904ce605b1c006baa92189d7f3de'
'cdabd68036a1f52c8ba8cfb22bde5a034ff8b620')