0
0
mirror of https://github.com/termux/termux-packages.git synced 2025-08-16 15:53:54 +00:00
Files
termux-packages/x11-packages/mtpaint/configure.patch
Tee KOBAYASHI 92a44a0888 mtpaint: Fix configure for strict C99
%ci:no-build
2023-04-06 19:47:02 +09:00

23 lines
391 B
Diff

https://github.com/termux/termux-packages/issues/15852
--- a/configure
+++ b/configure
@@ -369,7 +369,7 @@
}
CAN_DO()
{
- echo "main() { $1; }" > _conf.c
+ echo "int main() { $1; }" > _conf.c
$MT_TESTCOMP _conf.c -o _conf.tmp > /dev/null 2>&1
}
HAVE_FUNC()
@@ -413,7 +413,7 @@
DEFS="$DEFS -DHAVE__SFA"
fi
-if HAVE_FUNC "mkdtemp"
+if true
then
DEFS="$DEFS -DHAVE_MKDTEMP"
fi