annotate src/mingw-texinfo-1-fixes.patch @ 5893:53a6c7df43f8

Mesa 3D: Update to version 21.1.8. * src/mesa.mk: Update version and checksum. * src/mesa-2-uninitialized.patch: Remove file. * dist-files.mk: Remove file from list.
author Markus Mützel <markus.muetzel@gmx.de>
date Thu, 16 Sep 2021 22:37:45 +0200
parents b88723578fec
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
5016
b88723578fec texinfo: update to v6.6
John Donoghue
parents: 4283
diff changeset
1 diff -ur texinfo-6.6.orig/info/man.c texinfo-6.6/info/man.c
b88723578fec texinfo: update to v6.6
John Donoghue
parents: 4283
diff changeset
2 --- texinfo-6.6.orig/info/man.c 2019-03-08 16:34:38.634930145 -0500
b88723578fec texinfo: update to v6.6
John Donoghue
parents: 4283
diff changeset
3 +++ texinfo-6.6/info/man.c 2019-03-08 16:41:52.845293995 -0500
4283
e50cac70e5a7 texinfo: update to 6.3
John D
parents: 4125
diff changeset
4 @@ -414,7 +414,7 @@
4123
28a83a566666 texinfo: update to v6.0 (Bug #46637)
John Donoghue
parents: 3609
diff changeset
5 int bsize = 0;
28a83a566666 texinfo: update to v6.0 (Bug #46637)
John Donoghue
parents: 3609
diff changeset
6 int bindex = 0;
28a83a566666 texinfo: update to v6.0 (Bug #46637)
John Donoghue
parents: 3609
diff changeset
7 int select_result;
28a83a566666 texinfo: update to v6.0 (Bug #46637)
John Donoghue
parents: 3609
diff changeset
8 -#if defined (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 fd_set read_fds;
3587
4e90544559a3 texinfo: update to install info.exe
John Donoghue
parents:
diff changeset
11
4123
28a83a566666 texinfo: update to v6.0 (Bug #46637)
John Donoghue
parents: 3609
diff changeset
12 timeout.tv_sec = 15;
5016
b88723578fec texinfo: update to v6.6
John Donoghue
parents: 4283
diff changeset
13 diff -ur texinfo-6.6.orig/info/pcterm.c texinfo-6.6/info/pcterm.c
b88723578fec texinfo: update to v6.6
John Donoghue
parents: 4283
diff changeset
14 --- texinfo-6.6.orig/info/pcterm.c 2019-03-08 16:34:38.630930050 -0500
b88723578fec texinfo: update to v6.6
John Donoghue
parents: 4283
diff changeset
15 +++ texinfo-6.6/info/pcterm.c 2019-03-08 16:41:52.845293995 -0500
b88723578fec texinfo: update to v6.6
John Donoghue
parents: 4283
diff changeset
16 @@ -1679,7 +1679,7 @@
4283
e50cac70e5a7 texinfo: update to 6.3
John D
parents: 4125
diff changeset
17 }
e50cac70e5a7 texinfo: update to 6.3
John D
parents: 4125
diff changeset
18
e50cac70e5a7 texinfo: update to 6.3
John D
parents: 4125
diff changeset
19 /* These should never be called, but they make the linker happy. */
e50cac70e5a7 texinfo: update to 6.3
John D
parents: 4125
diff changeset
20 -
e50cac70e5a7 texinfo: update to 6.3
John D
parents: 4125
diff changeset
21 +#ifndef __MINGW32__
e50cac70e5a7 texinfo: update to 6.3
John D
parents: 4125
diff changeset
22 int tputs (const char *a, int b, int (*c)(int))
e50cac70e5a7 texinfo: update to 6.3
John D
parents: 4125
diff changeset
23 {
e50cac70e5a7 texinfo: update to 6.3
John D
parents: 4125
diff changeset
24 perror ("tputs"); return 0; /* here and below, added dummy retvals */
5016
b88723578fec texinfo: update to v6.6
John Donoghue
parents: 4283
diff changeset
25 @@ -1719,3 +1719,4 @@
4283
e50cac70e5a7 texinfo: update to 6.3
John D
parents: 4125
diff changeset
26 {
e50cac70e5a7 texinfo: update to 6.3
John D
parents: 4125
diff changeset
27 perror ("tcsetattr"); return 0;
e50cac70e5a7 texinfo: update to 6.3
John D
parents: 4125
diff changeset
28 }
e50cac70e5a7 texinfo: update to 6.3
John D
parents: 4125
diff changeset
29 +#endif
5016
b88723578fec texinfo: update to v6.6
John Donoghue
parents: 4283
diff changeset
30 Only in texinfo-6.6/info: pcterm.c.orig
b88723578fec texinfo: update to v6.6
John Donoghue
parents: 4283
diff changeset
31 diff -ur texinfo-6.6.orig/info/session.c texinfo-6.6/info/session.c
b88723578fec texinfo: update to v6.6
John Donoghue
parents: 4283
diff changeset
32 --- texinfo-6.6.orig/info/session.c 2019-03-08 16:34:38.634930145 -0500
b88723578fec texinfo: update to v6.6
John Donoghue
parents: 4283
diff changeset
33 +++ texinfo-6.6/info/session.c 2019-03-08 16:41:52.849294091 -0500
b88723578fec texinfo: update to v6.6
John Donoghue
parents: 4283
diff changeset
34 @@ -453,7 +453,7 @@
4123
28a83a566666 texinfo: update to v6.0 (Bug #46637)
John Donoghue
parents: 3609
diff changeset
35 space_avail = sizeof (info_input_buffer) - (push_index - pop_index);
3587
4e90544559a3 texinfo: update to install info.exe
John Donoghue
parents:
diff changeset
36
4123
28a83a566666 texinfo: update to v6.0 (Bug #46637)
John Donoghue
parents: 3609
diff changeset
37 /* 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
38 -#if defined (FIONREAD)
28a83a566666 texinfo: update to v6.0 (Bug #46637)
John Donoghue
parents: 3609
diff changeset
39 +#if defined (FIONREAD) && !defined(__MINGW32__)
28a83a566666 texinfo: update to v6.0 (Bug #46637)
John Donoghue
parents: 3609
diff changeset
40 {
28a83a566666 texinfo: update to v6.0 (Bug #46637)
John Donoghue
parents: 3609
diff changeset
41 ioctl (tty, FIONREAD, &chars_avail);
28a83a566666 texinfo: update to v6.0 (Bug #46637)
John Donoghue
parents: 3609
diff changeset
42
5016
b88723578fec texinfo: update to v6.6
John Donoghue
parents: 4283
diff changeset
43 @@ -645,7 +645,7 @@
4123
28a83a566666 texinfo: update to v6.0 (Bug #46637)
John Donoghue
parents: 3609
diff changeset
44 if (in_map && pop_index == push_index)
28a83a566666 texinfo: update to v6.0 (Bug #46637)
John Donoghue
parents: 3609
diff changeset
45 {
28a83a566666 texinfo: update to v6.0 (Bug #46637)
John Donoghue
parents: 3609
diff changeset
46 int ready = 0;
28a83a566666 texinfo: update to v6.0 (Bug #46637)
John Donoghue
parents: 3609
diff changeset
47 -#if defined (FD_SET)
28a83a566666 texinfo: update to v6.0 (Bug #46637)
John Donoghue
parents: 3609
diff changeset
48 +#if defined (FD_SET) && !defined(__MINGW32__)
28a83a566666 texinfo: update to v6.0 (Bug #46637)
John Donoghue
parents: 3609
diff changeset
49 struct timeval timer, *timerp = 0;
28a83a566666 texinfo: update to v6.0 (Bug #46637)
John Donoghue
parents: 3609
diff changeset
50 fd_set readfds;
3587
4e90544559a3 texinfo: update to install info.exe
John Donoghue
parents:
diff changeset
51
5016
b88723578fec texinfo: update to v6.6
John Donoghue
parents: 4283
diff changeset
52 @@ -750,7 +750,7 @@
b88723578fec texinfo: update to v6.6
John Donoghue
parents: 4283
diff changeset
53 void
b88723578fec texinfo: update to v6.6
John Donoghue
parents: 4283
diff changeset
54 pause_or_input (void)
b88723578fec texinfo: update to v6.6
John Donoghue
parents: 4283
diff changeset
55 {
b88723578fec texinfo: update to v6.6
John Donoghue
parents: 4283
diff changeset
56 -#ifdef FD_SET
b88723578fec texinfo: update to v6.6
John Donoghue
parents: 4283
diff changeset
57 +#if defined (FD_SET) && !defined(__MINGW32__)
b88723578fec texinfo: update to v6.6
John Donoghue
parents: 4283
diff changeset
58 struct timeval timer;
b88723578fec texinfo: update to v6.6
John Donoghue
parents: 4283
diff changeset
59 fd_set readfds;
b88723578fec texinfo: update to v6.6
John Donoghue
parents: 4283
diff changeset
60 #endif
b88723578fec texinfo: update to v6.6
John Donoghue
parents: 4283
diff changeset
61 @@ -758,7 +758,7 @@
b88723578fec texinfo: update to v6.6
John Donoghue
parents: 4283
diff changeset
62 if (pop_index != push_index)
b88723578fec texinfo: update to v6.6
John Donoghue
parents: 4283
diff changeset
63 return; /* Input is already waiting. */
b88723578fec texinfo: update to v6.6
John Donoghue
parents: 4283
diff changeset
64
b88723578fec texinfo: update to v6.6
John Donoghue
parents: 4283
diff changeset
65 -#ifdef FD_SET
b88723578fec texinfo: update to v6.6
John Donoghue
parents: 4283
diff changeset
66 +#if defined (FD_SET) && !defined(__MINGW32__)
b88723578fec texinfo: update to v6.6
John Donoghue
parents: 4283
diff changeset
67 FD_ZERO (&readfds);
b88723578fec texinfo: update to v6.6
John Donoghue
parents: 4283
diff changeset
68 FD_SET (fileno (stdin), &readfds);
b88723578fec texinfo: update to v6.6
John Donoghue
parents: 4283
diff changeset
69 timer.tv_sec = 2;
b88723578fec texinfo: update to v6.6
John Donoghue
parents: 4283
diff changeset
70 @@ -5433,7 +5433,7 @@
4123
28a83a566666 texinfo: update to v6.0 (Bug #46637)
John Donoghue
parents: 3609
diff changeset
71 ready = 1;
28a83a566666 texinfo: update to v6.0 (Bug #46637)
John Donoghue
parents: 3609
diff changeset
72 if (!info_any_buffered_input_p ())
28a83a566666 texinfo: update to v6.0 (Bug #46637)
John Donoghue
parents: 3609
diff changeset
73 {
28a83a566666 texinfo: update to v6.0 (Bug #46637)
John Donoghue
parents: 3609
diff changeset
74 -#if defined (FD_SET)
28a83a566666 texinfo: update to v6.0 (Bug #46637)
John Donoghue
parents: 3609
diff changeset
75 +#if defined (FD_SET) && !defined(__MINGW32__)
28a83a566666 texinfo: update to v6.0 (Bug #46637)
John Donoghue
parents: 3609
diff changeset
76 struct timeval timer;
28a83a566666 texinfo: update to v6.0 (Bug #46637)
John Donoghue
parents: 3609
diff changeset
77 fd_set readfds;
3587
4e90544559a3 texinfo: update to install info.exe
John Donoghue
parents:
diff changeset
78
5016
b88723578fec texinfo: update to v6.6
John Donoghue
parents: 4283
diff changeset
79 Only in texinfo-6.6/info: session.c.orig
b88723578fec texinfo: update to v6.6
John Donoghue
parents: 4283
diff changeset
80 diff -ur texinfo-6.6.orig/tp/texi2any.pl texinfo-6.6/tp/texi2any.pl
b88723578fec texinfo: update to v6.6
John Donoghue
parents: 4283
diff changeset
81 --- texinfo-6.6.orig/tp/texi2any.pl 2019-03-08 16:34:38.490926704 -0500
b88723578fec texinfo: update to v6.6
John Donoghue
parents: 4283
diff changeset
82 +++ texinfo-6.6/tp/texi2any.pl 2019-03-08 16:41:52.849294091 -0500
b88723578fec texinfo: update to v6.6
John Donoghue
parents: 4283
diff changeset
83 @@ -54,7 +54,7 @@
4283
e50cac70e5a7 texinfo: update to 6.3
John D
parents: 4125
diff changeset
84 my $updir = File::Spec->updir();
3587
4e90544559a3 texinfo: update to install info.exe
John Donoghue
parents:
diff changeset
85
4283
e50cac70e5a7 texinfo: update to 6.3
John D
parents: 4125
diff changeset
86 # These are substituted by the Makefile to create "texi2any".
4123
28a83a566666 texinfo: update to v6.0 (Bug #46637)
John Donoghue
parents: 3609
diff changeset
87 - my $datadir = '@datadir@';
4125
1c07ed56b880 Fix texinfo patch missing semicoon (Bug #46637)
"lostbard" <john.donoghue@ieee.org>
parents: 4123
diff changeset
88 + my $datadir = '/usr/share';
4123
28a83a566666 texinfo: update to v6.0 (Bug #46637)
John Donoghue
parents: 3609
diff changeset
89 my $package = '@PACKAGE@';
4283
e50cac70e5a7 texinfo: update to 6.3
John D
parents: 4125
diff changeset
90 my $packagedir = '@pkglibdir@';
3587
4e90544559a3 texinfo: update to install info.exe
John Donoghue
parents:
diff changeset
91
5016
b88723578fec texinfo: update to v6.6
John Donoghue
parents: 4283
diff changeset
92 Only in texinfo-6.6/tp: texi2any.pl.orig