mirror of
https://github.com/termux-pacman/termux-packages.git
synced 2026-01-08 03:43:25 +00:00
mogan: Fix missing declaration of clog and cpow
%ci:no-build
This commit is contained in:
@@ -7,7 +7,6 @@ TERMUX_PKG_SRCURL=https://github.com/XmacsLabs/mogan/archive/refs/tags/v${TERMUX
|
||||
TERMUX_PKG_SHA256=0d474267b7a777ae0fb22705c8515bfc24eb2de15ed69aa758dc51377fc6d9f9
|
||||
TERMUX_PKG_DEPENDS="freetype, ghostscript, libandroid-complex-math, libandroid-execinfo, libandroid-spawn, libc++, libcurl, libiconv, libjpeg-turbo, libpng, libsqlite, mogan-data, qt5-qtbase, qt5-qtsvg, zlib"
|
||||
TERMUX_PKG_BUILD_DEPENDS="qt5-qtbase-cross-tools"
|
||||
TERMUX_PKG_ENABLE_CLANG16_PORTING=false
|
||||
|
||||
termux_step_pre_configure() {
|
||||
LDFLAGS+=" -landroid-complex-math -landroid-execinfo -landroid-spawn"
|
||||
|
||||
15
x11-packages/mogan/src-Scheme-S7-s7.c.patch
Normal file
15
x11-packages/mogan/src-Scheme-S7-s7.c.patch
Normal file
@@ -0,0 +1,15 @@
|
||||
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
|
||||
Reference in New Issue
Block a user