annotate src/mingw-texinfo-1-fixes.patch @ 4673:010dc6a420ff

stable-octave: bump version number
author John W. Eaton <jwe@octave.org>
date Thu, 19 Apr 2018 21:57:06 -0400
parents e50cac70e5a7
children b88723578fec
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4283
e50cac70e5a7 texinfo: update to 6.3
John D
parents: 4125
diff changeset
1 diff -ur texinfo-6.3.orig/info/echo-area.c texinfo-6.3/info/echo-area.c
e50cac70e5a7 texinfo: update to 6.3
John D
parents: 4125
diff changeset
2 --- texinfo-6.3.orig/info/echo-area.c 2016-12-17 14:57:59.207522263 -0500
e50cac70e5a7 texinfo: update to 6.3
John D
parents: 4125
diff changeset
3 +++ texinfo-6.3/info/echo-area.c 2016-12-17 14:58:29.837452042 -0500
e50cac70e5a7 texinfo: update to 6.3
John D
parents: 4125
diff changeset
4 @@ -1528,7 +1528,7 @@
4123
28a83a566666 texinfo: update to v6.0 (Bug #46637)
John Donoghue
parents: 3609
diff changeset
5 static void
28a83a566666 texinfo: update to v6.0 (Bug #46637)
John Donoghue
parents: 3609
diff changeset
6 pause_or_input (void)
28a83a566666 texinfo: update to v6.0 (Bug #46637)
John Donoghue
parents: 3609
diff changeset
7 {
28a83a566666 texinfo: update to v6.0 (Bug #46637)
John Donoghue
parents: 3609
diff changeset
8 -#ifdef FD_SET
28a83a566666 texinfo: update to v6.0 (Bug #46637)
John Donoghue
parents: 3609
diff changeset
9 +#if defined(FD_SET) && !defined(__MINGW32__)
28a83a566666 texinfo: update to v6.0 (Bug #46637)
John Donoghue
parents: 3609
diff changeset
10 struct timeval timer;
28a83a566666 texinfo: update to v6.0 (Bug #46637)
John Donoghue
parents: 3609
diff changeset
11 fd_set readfds;
3587
4e90544559a3 texinfo: update to install info.exe
John Donoghue
parents:
diff changeset
12
4283
e50cac70e5a7 texinfo: update to 6.3
John D
parents: 4125
diff changeset
13 diff -ur texinfo-6.3.orig/info/man.c texinfo-6.3/info/man.c
e50cac70e5a7 texinfo: update to 6.3
John D
parents: 4125
diff changeset
14 --- texinfo-6.3.orig/info/man.c 2016-12-17 14:57:59.212939079 -0500
e50cac70e5a7 texinfo: update to 6.3
John D
parents: 4125
diff changeset
15 +++ texinfo-6.3/info/man.c 2016-12-17 14:58:29.837452042 -0500
e50cac70e5a7 texinfo: update to 6.3
John D
parents: 4125
diff changeset
16 @@ -414,7 +414,7 @@
4123
28a83a566666 texinfo: update to v6.0 (Bug #46637)
John Donoghue
parents: 3609
diff changeset
17 int bsize = 0;
28a83a566666 texinfo: update to v6.0 (Bug #46637)
John Donoghue
parents: 3609
diff changeset
18 int bindex = 0;
28a83a566666 texinfo: update to v6.0 (Bug #46637)
John Donoghue
parents: 3609
diff changeset
19 int select_result;
28a83a566666 texinfo: update to v6.0 (Bug #46637)
John Donoghue
parents: 3609
diff changeset
20 -#if defined (FD_SET)
28a83a566666 texinfo: update to v6.0 (Bug #46637)
John Donoghue
parents: 3609
diff changeset
21 +#if defined (FD_SET) && !defined(__MINGW32__)
28a83a566666 texinfo: update to v6.0 (Bug #46637)
John Donoghue
parents: 3609
diff changeset
22 fd_set read_fds;
3587
4e90544559a3 texinfo: update to install info.exe
John Donoghue
parents:
diff changeset
23
4123
28a83a566666 texinfo: update to v6.0 (Bug #46637)
John Donoghue
parents: 3609
diff changeset
24 timeout.tv_sec = 15;
4283
e50cac70e5a7 texinfo: update to 6.3
John D
parents: 4125
diff changeset
25 diff -ur texinfo-6.3.orig/info/pcterm.c texinfo-6.3/info/pcterm.c
e50cac70e5a7 texinfo: update to 6.3
John D
parents: 4125
diff changeset
26 --- texinfo-6.3.orig/info/pcterm.c 2016-12-17 14:57:59.206438899 -0500
e50cac70e5a7 texinfo: update to 6.3
John D
parents: 4125
diff changeset
27 +++ texinfo-6.3/info/pcterm.c 2016-12-17 14:58:29.836368678 -0500
e50cac70e5a7 texinfo: update to 6.3
John D
parents: 4125
diff changeset
28 @@ -1621,7 +1621,7 @@
e50cac70e5a7 texinfo: update to 6.3
John D
parents: 4125
diff changeset
29 }
e50cac70e5a7 texinfo: update to 6.3
John D
parents: 4125
diff changeset
30
e50cac70e5a7 texinfo: update to 6.3
John D
parents: 4125
diff changeset
31 /* These should never be called, but they make the linker happy. */
e50cac70e5a7 texinfo: update to 6.3
John D
parents: 4125
diff changeset
32 -
e50cac70e5a7 texinfo: update to 6.3
John D
parents: 4125
diff changeset
33 +#ifndef __MINGW32__
e50cac70e5a7 texinfo: update to 6.3
John D
parents: 4125
diff changeset
34 int tputs (const char *a, int b, int (*c)(int))
e50cac70e5a7 texinfo: update to 6.3
John D
parents: 4125
diff changeset
35 {
e50cac70e5a7 texinfo: update to 6.3
John D
parents: 4125
diff changeset
36 perror ("tputs"); return 0; /* here and below, added dummy retvals */
e50cac70e5a7 texinfo: update to 6.3
John D
parents: 4125
diff changeset
37 @@ -1661,3 +1661,4 @@
e50cac70e5a7 texinfo: update to 6.3
John D
parents: 4125
diff changeset
38 {
e50cac70e5a7 texinfo: update to 6.3
John D
parents: 4125
diff changeset
39 perror ("tcsetattr"); return 0;
e50cac70e5a7 texinfo: update to 6.3
John D
parents: 4125
diff changeset
40 }
e50cac70e5a7 texinfo: update to 6.3
John D
parents: 4125
diff changeset
41 +#endif
e50cac70e5a7 texinfo: update to 6.3
John D
parents: 4125
diff changeset
42 diff -ur texinfo-6.3.orig/info/session.c texinfo-6.3/info/session.c
e50cac70e5a7 texinfo: update to 6.3
John D
parents: 4125
diff changeset
43 --- texinfo-6.3.orig/info/session.c 2016-12-17 14:57:59.212939079 -0500
e50cac70e5a7 texinfo: update to 6.3
John D
parents: 4125
diff changeset
44 +++ texinfo-6.3/info/session.c 2016-12-17 14:58:29.838535405 -0500
e50cac70e5a7 texinfo: update to 6.3
John D
parents: 4125
diff changeset
45 @@ -456,7 +456,7 @@
4123
28a83a566666 texinfo: update to v6.0 (Bug #46637)
John Donoghue
parents: 3609
diff changeset
46 space_avail = sizeof (info_input_buffer) - (push_index - pop_index);
3587
4e90544559a3 texinfo: update to install info.exe
John Donoghue
parents:
diff changeset
47
4123
28a83a566666 texinfo: update to v6.0 (Bug #46637)
John Donoghue
parents: 3609
diff changeset
48 /* If we can just find out how many characters there are to read, do so. */
28a83a566666 texinfo: update to v6.0 (Bug #46637)
John Donoghue
parents: 3609
diff changeset
49 -#if defined (FIONREAD)
28a83a566666 texinfo: update to v6.0 (Bug #46637)
John Donoghue
parents: 3609
diff changeset
50 +#if defined (FIONREAD) && !defined(__MINGW32__)
28a83a566666 texinfo: update to v6.0 (Bug #46637)
John Donoghue
parents: 3609
diff changeset
51 {
28a83a566666 texinfo: update to v6.0 (Bug #46637)
John Donoghue
parents: 3609
diff changeset
52 ioctl (tty, FIONREAD, &chars_avail);
28a83a566666 texinfo: update to v6.0 (Bug #46637)
John Donoghue
parents: 3609
diff changeset
53
4283
e50cac70e5a7 texinfo: update to 6.3
John D
parents: 4125
diff changeset
54 @@ -648,7 +648,7 @@
4123
28a83a566666 texinfo: update to v6.0 (Bug #46637)
John Donoghue
parents: 3609
diff changeset
55 if (in_map && pop_index == push_index)
28a83a566666 texinfo: update to v6.0 (Bug #46637)
John Donoghue
parents: 3609
diff changeset
56 {
28a83a566666 texinfo: update to v6.0 (Bug #46637)
John Donoghue
parents: 3609
diff changeset
57 int ready = 0;
28a83a566666 texinfo: update to v6.0 (Bug #46637)
John Donoghue
parents: 3609
diff changeset
58 -#if defined (FD_SET)
28a83a566666 texinfo: update to v6.0 (Bug #46637)
John Donoghue
parents: 3609
diff changeset
59 +#if defined (FD_SET) && !defined(__MINGW32__)
28a83a566666 texinfo: update to v6.0 (Bug #46637)
John Donoghue
parents: 3609
diff changeset
60 struct timeval timer, *timerp = 0;
28a83a566666 texinfo: update to v6.0 (Bug #46637)
John Donoghue
parents: 3609
diff changeset
61 fd_set readfds;
3587
4e90544559a3 texinfo: update to install info.exe
John Donoghue
parents:
diff changeset
62
4283
e50cac70e5a7 texinfo: update to 6.3
John D
parents: 4125
diff changeset
63 @@ -5490,7 +5490,7 @@
4123
28a83a566666 texinfo: update to v6.0 (Bug #46637)
John Donoghue
parents: 3609
diff changeset
64 ready = 1;
28a83a566666 texinfo: update to v6.0 (Bug #46637)
John Donoghue
parents: 3609
diff changeset
65 if (!info_any_buffered_input_p ())
28a83a566666 texinfo: update to v6.0 (Bug #46637)
John Donoghue
parents: 3609
diff changeset
66 {
28a83a566666 texinfo: update to v6.0 (Bug #46637)
John Donoghue
parents: 3609
diff changeset
67 -#if defined (FD_SET)
28a83a566666 texinfo: update to v6.0 (Bug #46637)
John Donoghue
parents: 3609
diff changeset
68 +#if defined (FD_SET) && !defined(__MINGW32__)
28a83a566666 texinfo: update to v6.0 (Bug #46637)
John Donoghue
parents: 3609
diff changeset
69 struct timeval timer;
28a83a566666 texinfo: update to v6.0 (Bug #46637)
John Donoghue
parents: 3609
diff changeset
70 fd_set readfds;
3587
4e90544559a3 texinfo: update to install info.exe
John Donoghue
parents:
diff changeset
71
4283
e50cac70e5a7 texinfo: update to 6.3
John D
parents: 4125
diff changeset
72 diff -ur texinfo-6.3.orig/tp/texi2any.pl texinfo-6.3/tp/texi2any.pl
e50cac70e5a7 texinfo: update to 6.3
John D
parents: 4125
diff changeset
73 --- texinfo-6.3.orig/tp/texi2any.pl 2016-12-17 14:57:59.069935127 -0500
e50cac70e5a7 texinfo: update to 6.3
John D
parents: 4125
diff changeset
74 +++ texinfo-6.3/tp/texi2any.pl 2016-12-17 14:59:58.097974426 -0500
e50cac70e5a7 texinfo: update to 6.3
John D
parents: 4125
diff changeset
75 @@ -53,7 +53,7 @@
e50cac70e5a7 texinfo: update to 6.3
John D
parents: 4125
diff changeset
76 my $updir = File::Spec->updir();
3587
4e90544559a3 texinfo: update to install info.exe
John Donoghue
parents:
diff changeset
77
4283
e50cac70e5a7 texinfo: update to 6.3
John D
parents: 4125
diff changeset
78 # These are substituted by the Makefile to create "texi2any".
4123
28a83a566666 texinfo: update to v6.0 (Bug #46637)
John Donoghue
parents: 3609
diff changeset
79 - my $datadir = '@datadir@';
4125
1c07ed56b880 Fix texinfo patch missing semicoon (Bug #46637)
"lostbard" <john.donoghue@ieee.org>
parents: 4123
diff changeset
80 + my $datadir = '/usr/share';
4123
28a83a566666 texinfo: update to v6.0 (Bug #46637)
John Donoghue
parents: 3609
diff changeset
81 my $package = '@PACKAGE@';
4283
e50cac70e5a7 texinfo: update to 6.3
John D
parents: 4125
diff changeset
82 my $packagedir = '@pkglibdir@';
3587
4e90544559a3 texinfo: update to install info.exe
John Donoghue
parents:
diff changeset
83