gentoo-ebuilds/dev-ml/ocamlnet/files/ocamlnet-4.1.9-int_missing.patch
Alfredo Tupone 802cbf1e92
dev-ml/ocamlnet: fix for new gcc
Closes: https://bugs.gentoo.org/948578
Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
2025-04-12 18:47:35 +02:00

20 lines
360 B
Diff

--- 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);