mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-06 15:13:51 +02:00
indent: update to 2.2.12.
This commit is contained in:
parent
38ca0e501c
commit
0caf4e9e67
2 changed files with 17 additions and 9 deletions
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'
|
# Template file for 'indent'
|
||||||
pkgname=indent
|
pkgname=indent
|
||||||
version=2.2.10
|
version=2.2.12
|
||||||
revision=4
|
revision=1
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--docdir=/usr/share/doc/indent"
|
configure_args="--docdir=/usr/share/doc/indent"
|
||||||
short_desc="Indent can be used to make code easier to read"
|
short_desc="Indent can be used to make code easier to read"
|
||||||
maintainer="Enno Boland <gottox@voidlinux.eu>"
|
maintainer="Enno Boland <gottox@voidlinux.eu>"
|
||||||
homepage="http://www.gnu.org/s/indent/"
|
homepage="http://www.gnu.org/s/indent/"
|
||||||
license="GPL-3"
|
license="GPL-3.0-or-later"
|
||||||
distfiles="${GNU_SITE}/$pkgname/$pkgname-$version.tar.gz"
|
distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
|
||||||
checksum=8a9b41be5bfcab5d8c1be74204b10ae78789fc3deabea0775fdced8677292639
|
checksum=e77d68c0211515459b8812118d606812e300097cfac0b4e9fb3472664263bb8b
|
||||||
|
|
||||||
pre_configure() {
|
pre_configure() {
|
||||||
sed -i 's#^docdir = .*$#docdir = @docdir@#' doc/Makefile.in
|
sed -i 's#^docdir = .*$#docdir = @docdir@#' doc/Makefile.in
|
||||||
|
@ -22,7 +22,3 @@ post_build() {
|
||||||
rm indent.1
|
rm indent.1
|
||||||
make CC=cc LD=cc CFLAGS= LDFLAGS= clean all
|
make CC=cc LD=cc CFLAGS= LDFLAGS= clean all
|
||||||
}
|
}
|
||||||
|
|
||||||
post_install() {
|
|
||||||
rm $DESTDIR/usr/bin/texinfo2man
|
|
||||||
}
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue