indent: compilation fix (#12354)
This commit is contained in:
parent
aa0225be21
commit
7fe2c1a225
|
@ -3,6 +3,7 @@ TERMUX_PKG_DESCRIPTION="C language source code formatting program"
|
|||
TERMUX_PKG_LICENSE="GPL-3.0"
|
||||
TERMUX_PKG_MAINTAINER="@termux"
|
||||
TERMUX_PKG_VERSION=2.2.12
|
||||
TERMUX_PKG_REVISION=1
|
||||
TERMUX_PKG_SRCURL=http://mirrors.kernel.org/gnu/indent/indent-$TERMUX_PKG_VERSION.tar.xz
|
||||
TERMUX_PKG_SHA256=b745a5dfc68f86a483d7f96dc1cda7aafd1e78ecba3c7d8ad304709e91e1defb
|
||||
TERMUX_PKG_DEPENDS="libandroid-support"
|
||||
|
|
|
@ -0,0 +1,12 @@
|
|||
diff -uNr indent-2.2.12/src/Makefile.in indent-2.2.12/src/Makefile.in.patch
|
||||
--- indent-2.2.12/src/Makefile.in 2018-09-06 00:00:11.000000000 +0300
|
||||
+++ indent-2.2.12/src/Makefile.in.patch 2022-10-14 09:12:31.576359399 +0300
|
||||
@@ -352,7 +352,7 @@
|
||||
BUILT_SOURCES = gperf.c gperf-cc.c
|
||||
AM_CPPFLAGS = -I. -I$(srcdir) -I$(top_srcdir)/intl
|
||||
MAINTAINERCLEANFILES = Makefile.in libgettext.h
|
||||
-AM_CFLAGS = -Wall -W -Werror -Wredundant-decls -Wshadow \
|
||||
+AM_CFLAGS = -Wall -W -Wredundant-decls -Wshadow \
|
||||
-Wstrict-prototypes -Wmissing-prototypes -Wnested-externs \
|
||||
-Wmissing-declarations -Wcomment -Wbad-function-cast \
|
||||
-Wcast-align $(am__append_1)
|
Loading…
Reference in New Issue