diff options
author | Alexis Ballier <aballier@gentoo.org> | 2016-03-02 15:30:37 +0100 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2016-03-02 20:29:06 +0100 |
commit | 3f421c70bf47c0daa31316723426d5571d681434 (patch) | |
tree | 2fbfcb99622fa8010d8424a47ecc4eed9432c690 /dev-ml/camlpdf/files | |
parent | dev-ml/core: bump to 113.24.02 (diff) | |
download | gentoo-3f421c70bf47c0daa31316723426d5571d681434.tar.gz gentoo-3f421c70bf47c0daa31316723426d5571d681434.tar.bz2 gentoo-3f421c70bf47c0daa31316723426d5571d681434.zip |
dev-ml/camlpdf: fix build with ocaml 4.03
Package-Manager: portage-2.2.27
Signed-off-by: Alexis Ballier <aballier@gentoo.org>
Diffstat (limited to 'dev-ml/camlpdf/files')
-rw-r--r-- | dev-ml/camlpdf/files/ocaml43.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/dev-ml/camlpdf/files/ocaml43.patch b/dev-ml/camlpdf/files/ocaml43.patch new file mode 100644 index 000000000000..86ffbe23eb14 --- /dev/null +++ b/dev-ml/camlpdf/files/ocaml43.patch @@ -0,0 +1,13 @@ +Index: camlpdf-2.1.1/flatestubs.c +=================================================================== +--- camlpdf-2.1.1.orig/flatestubs.c ++++ camlpdf-2.1.1/flatestubs.c +@@ -170,7 +170,7 @@ value camlzip_inflateEnd(value vzs) + + value camlzip_update_crc32(value crc, value buf, value pos, value len) + { +- return copy_int32(crc32((uint32) Int32_val(crc), ++ return copy_int32(crc32((uint32_t) Int32_val(crc), + &Byte_u(buf, Long_val(pos)), + Long_val(len))); + } |