indent: update to 2.2.12.
This commit is contained in:
parent
38ca0e501c
commit
0caf4e9e67
12
srcpkgs/indent/patches/fix-locale_h.patch
Normal file
12
srcpkgs/indent/patches/fix-locale_h.patch
Normal file
|
@ -0,0 +1,12 @@
|
|||
--- src/indent.c
|
||||
+++ src/indent.c
|
||||
@@ -71,9 +71,7 @@
|
||||
#include <string.h>
|
||||
#include <ctype.h>
|
||||
#include <stdlib.h>
|
||||
-#ifdef HAVE_LOCALE_H
|
||||
#include <locale.h>
|
||||
-#endif
|
||||
#include "indent.h"
|
||||
#include "backup.h"
|
||||
#include "code_io.h"
|
|
@ -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 <gottox@voidlinux.eu>"
|
||||
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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user