texinfo: update to 5.2.

This commit is contained in:
Juan RP 2014-09-08 21:04:21 +02:00
parent 9990fbfbc0
commit 7c506c8f63
2 changed files with 5 additions and 42 deletions

View File

@ -1,31 +0,0 @@
--- info/window.c_old 2009-08-04 13:46:15.000000000 +0200
+++ info/window.c 2009-08-04 13:47:29.000000000 +0200
@@ -1581,7 +1581,7 @@ process_node_text (WINDOW *win, char *st
const char *carried_over_ptr;
size_t carried_over_len, carried_over_count;
const char *cur_ptr = mbi_cur_ptr (iter);
- int cur_len = mb_len (mbi_cur (iter));
+ size_t cur_len = mb_len (mbi_cur (iter));
int replen;
int delim = 0;
int rc;
@@ -1754,7 +1754,7 @@ clean_manpage (char *manpage)
mbi_advance (iter))
{
const char *cur_ptr = mbi_cur_ptr (iter);
- int cur_len = mb_len (mbi_cur (iter));
+ size_t cur_len = mb_len (mbi_cur (iter));
if (cur_len == 1)
{
@@ -1852,8 +1852,8 @@ window_scan_line (WINDOW *win, int line,
mbi_advance (iter))
{
const char *cur_ptr = mbi_cur_ptr (iter);
- int cur_len = mb_len (mbi_cur (iter));
- int replen;
+ size_t cur_len = mb_len (mbi_cur (iter));
+ size_t replen;
if (cur_ptr >= endp)
break;

View File

@ -1,26 +1,21 @@
# Template file for 'texinfo'
pkgname=texinfo
version=4.13a
revision=12
wrksrc="$pkgname-4.13"
version=5.2
revision=1
hostmakedepends="perl ncurses-devel"
makedepends="ncurses-devel"
conflicts="chroot-texinfo>=0"
depends="gzip"
depends="gzip perl"
short_desc="The GNU Documentation System"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-3"
homepage="http://www.gnu.org/software/texinfo/"
distfiles="http://ftp.gnu.org/gnu/$pkgname/$pkgname-$version.tar.gz"
checksum=1303e91a1c752b69a32666a407e9fbdd6e936def4b09bc7de30f416301530d68
if [ "$CROSS_BUILD" ]; then
hostmakedepends="ncurses-devel"
fi
checksum=6b8ca30e9b6f093b54fe04439e5545e564c63698a806a48065c0bba16994cf74
do_configure() {
./configure ${configure_args}
}
do_build() {
if [ -d tools ]; then
make ${makejobs} -C tools/gnulib/lib
@ -28,7 +23,6 @@ do_build() {
fi
make ${makejobs}
}
do_install() {
make DESTDIR=${DESTDIR} install