summaryrefslogtreecommitdiff
path: root/dev-ml/ocamlnet/files/ocamlnet-4.1.9-int_missing.patch
blob: 65acbc24aded3d31ba2d2ac7af3967c2f0932ea6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- a/configure	2025-04-12 18:33:58.152657365 +0200
+++ b/configure	2025-04-12 18:34:13.302476934 +0200
@@ -829,7 +829,7 @@
     cat <<EOF >tmp/t.c
 #include "tcl.h"
 
-main () {
+int main () {
 }
 EOF
 
@@ -849,7 +849,7 @@
 #include <stdio.h>
 #include "tcl.h"
 
-do_something () {
+int do_something () {
     void (*x)(int);
     x = Tcl_Exit;
     exit(0);