1
0
mirror of https://github.com/termux/termux-packages synced 2024-06-18 03:07:08 +00:00
termux-packages/x11-packages/gnumeric/configure.patch
Tee KOBAYASHI 892c98aa68 gnumeric: Bump to 1.12.53
and include Python components (as a subpackage).
2022-10-24 13:51:58 +09:00

41 lines
1.4 KiB
Diff

--- a/configure
+++ b/configure
@@ -16092,7 +16092,7 @@
fi
-GLIB_COMPILE_RESOURCES=`$PKG_CONFIG --variable=glib_compile_resources gio-2.0`
+GLIB_COMPILE_RESOURCES=glib-compile-resources
@@ -17237,7 +17237,7 @@
-Werror=missing-prototypes -Werror=nested-externs \
-Werror=implicit-function-declaration \
-Wmissing-declarations -Wno-pointer-sign \
- -Werror=format-security -Wbitwise -Wcast-to-as \
+ -Wno-error=format-security -Wbitwise -Wcast-to-as \
-Wdefault-bitfield-sign -Wdo-while -Wparen-string \
-Wptr-subtraction-blows -Wreturn-void -Wtypesign \
-Wstrict-prototypes -Wno-error=format-nonliteral "
@@ -18611,7 +18611,6 @@
have_python=no
have_python_gi=no
introspection_py_msg=no
-PYTHON_GIOVERRIDESDIR=
if test "x$PYTHON" != x; then
printf "%s\n" "#define PYTHON_INTERPRETER \"$PYTHON\"" >>confdefs.h
@@ -18620,10 +18619,9 @@
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for python module gi" >&5
printf %s "checking for python module gi... " >&6; }
- if $PYTHON -c 'import gi' 2>/dev/null; then
+ if true; then
have_python_gi=yes
introspection_py_msg="Yes."
- PYTHON_GIOVERRIDESDIR=`$PYTHON -c 'import gi; import os.path; print(os.path.dirname(gi.__file__)+"/overrides")'`
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $have_python_gi" >&5
printf "%s\n" "$have_python_gi" >&6; }