Fix data types
This commit is contained in:
parent
894e9ddfca
commit
322c20edcc
32
texinfo-4.13a-data_types.patch
Normal file
32
texinfo-4.13a-data_types.patch
Normal file
@ -0,0 +1,32 @@
|
||||
diff -up texinfo-4.13/info/window.c_old texinfo-4.13/info/window.c
|
||||
--- texinfo-4.13/info/window.c_old 2009-08-04 13:46:15.000000000 +0200
|
||||
+++ texinfo-4.13/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;
|
@ -3,7 +3,7 @@
|
||||
Summary: Tools needed to create Texinfo format documentation files
|
||||
Name: texinfo
|
||||
Version: 4.13a
|
||||
Release: 3%{?dist}
|
||||
Release: 4%{?dist}
|
||||
License: GPLv3+
|
||||
Group: Applications/Publishing
|
||||
Url: http://www.gnu.org/software/texinfo/
|
||||
@ -11,6 +11,7 @@ Source0: ftp://ftp.gnu.org/gnu/texinfo/texinfo-%{version}.tar.gz
|
||||
Source1: info-dir
|
||||
Source2: texi2pdf.man
|
||||
Patch0: texinfo-4.12-zlib.patch
|
||||
Patch1: texinfo-4.13a-data_types.patch
|
||||
Requires(post): /sbin/install-info
|
||||
Requires(preun): /sbin/install-info
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
@ -53,6 +54,7 @@ for printing using TeX.
|
||||
%prep
|
||||
%setup -q -n %{name}-4.13
|
||||
%patch0 -p1 -b .zlib
|
||||
%patch1 -p1 -b .data_types
|
||||
|
||||
%build
|
||||
%configure
|
||||
@ -144,6 +146,9 @@ fi
|
||||
%{_mandir}/man1/pdftexi2dvi.1*
|
||||
|
||||
%changelog
|
||||
* Tue Aug 4 2009 Vitezslav Crhonek <vcrhonek@redhat.com> - 4.13a-4
|
||||
- Fix data types
|
||||
|
||||
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.13a-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user