diff --git a/srcpkgs/indent/patches/fix-locale_h.patch b/srcpkgs/indent/patches/fix-locale_h.patch new file mode 100644 index 00000000000..7b2dd0386b2 --- /dev/null +++ b/srcpkgs/indent/patches/fix-locale_h.patch @@ -0,0 +1,12 @@ +--- src/indent.c ++++ src/indent.c +@@ -71,9 +71,7 @@ + #include + #include + #include +-#ifdef HAVE_LOCALE_H + #include +-#endif + #include "indent.h" + #include "backup.h" + #include "code_io.h" diff --git a/srcpkgs/indent/template b/srcpkgs/indent/template index ff28879e815..c52eaa5c3c7 100644 --- a/srcpkgs/indent/template +++ b/srcpkgs/indent/template @@ -1,15 +1,15 @@ # Template file for 'indent' pkgname=indent -version=2.2.10 -revision=4 +version=2.2.12 +revision=1 build_style=gnu-configure configure_args="--docdir=/usr/share/doc/indent" short_desc="Indent can be used to make code easier to read" maintainer="Enno Boland " homepage="http://www.gnu.org/s/indent/" -license="GPL-3" -distfiles="${GNU_SITE}/$pkgname/$pkgname-$version.tar.gz" -checksum=8a9b41be5bfcab5d8c1be74204b10ae78789fc3deabea0775fdced8677292639 +license="GPL-3.0-or-later" +distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz" +checksum=e77d68c0211515459b8812118d606812e300097cfac0b4e9fb3472664263bb8b pre_configure() { sed -i 's#^docdir = .*$#docdir = @docdir@#' doc/Makefile.in @@ -22,7 +22,3 @@ post_build() { rm indent.1 make CC=cc LD=cc CFLAGS= LDFLAGS= clean all } - -post_install() { - rm $DESTDIR/usr/bin/texinfo2man -}