From 0fdadde6aaa111adb80a05e71af5dc5cd24c990d Mon Sep 17 00:00:00 2001 From: komothecat <71205197+komothecat@users.noreply.github.com> Date: Sun, 16 Jun 2024 11:29:28 +0800 Subject: [PATCH] fix unknown sym --- packages/cyclone/scheme-inexact.c.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 packages/cyclone/scheme-inexact.c.patch diff --git a/packages/cyclone/scheme-inexact.c.patch b/packages/cyclone/scheme-inexact.c.patch new file mode 100644 index 000000000000000..daaf23ec7e39713 --- /dev/null +++ b/packages/cyclone/scheme-inexact.c.patch @@ -0,0 +1,12 @@ +diff --git a/scheme/inexact.c b/scheme/inexact.c +index 3fb6a83b..32137b9d 100644 +--- a/scheme/inexact.c ++++ b/scheme/inexact.c +@@ -110,6 +110,7 @@ if (obj_is_not_closure(clo)) { \ + }} + + #include "cyclone/types.h" ++_Complex double clog(_Complex double); + object __glo_lib_91init_117schemeinexact_scheme_inexact = NULL; + object __glo_atan_scheme_inexact = NULL; + object __glo_atan1_scheme_inexact = NULL;