Files
termux-packages/x11-packages/mogan/src-Scheme-S7-s7.c.patch
termux-pacman-bot d8ee55c222 mogan: Fix missing declaration of clog and cpow
%ci:no-build
2023-04-10 19:31:09 +00:00

16 lines
373 B
Diff

https://github.com/termux/termux-packages/issues/15852
--- a/src/Scheme/S7/s7.c
+++ b/src/Scheme/S7/s7.c
@@ -381,6 +381,10 @@
#define _Complex_I 1.0fi
#endif
#endif
+ #if defined __ANDROID__ && __ANDROID_API__ < 26
+double complex clog(double complex);
+double complex cpow(double complex, double complex);
+ #endif
#endif
#ifndef CMPLX