1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-13 03:09:51 +03:00
aports/testing/ocamlnet/fix-configure-gcc14.patch

20 lines
290 B
Diff

--- a/configure
+++ b/configure
@@ -829,7 +829,7 @@
cat <<EOF >tmp/t.c
#include "tcl.h"
-main () {
+void main () {
}
EOF
@@ -849,7 +849,7 @@
#include <stdio.h>
#include "tcl.h"
-do_something () {
+void do_something () {
void (*x)(int);
x = Tcl_Exit;
exit(0);