summaryrefslogtreecommitdiff
path: root/dev-ml/ocamlpam/files/ocaml404.patch
diff options
context:
space:
mode:
Diffstat (limited to 'dev-ml/ocamlpam/files/ocaml404.patch')
-rw-r--r--dev-ml/ocamlpam/files/ocaml404.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/dev-ml/ocamlpam/files/ocaml404.patch b/dev-ml/ocamlpam/files/ocaml404.patch
new file mode 100644
index 000000000000..4964edf951f4
--- /dev/null
+++ b/dev-ml/ocamlpam/files/ocaml404.patch
@@ -0,0 +1,12 @@
+Index: ocamlpam-1.1/pam_stubs.c
+===================================================================
+--- ocamlpam-1.1.orig/pam_stubs.c
++++ ocamlpam-1.1/pam_stubs.c
+@@ -57,6 +57,7 @@ static int converse(int nMsg, const stru
+ struct pam_response * local_responses;
+ caml_pam_handle * h;
+
++ CAMLparam0 ();
+ CAMLlocal1(ret);
+
+ h = (caml_pam_handle *)data;