xorriso: Fix download hash and package dependencies
[oi-userland.git] / components / library / readline / patches / readline82-004.patch
blobd60c662ecb4279ac0531051af36739d3271eabc6
1 READLINE PATCH REPORT
2 =====================
4 Readline-Release: 8.2
5 Patch-ID: readline82-004
7 Bug-Reported-by: Henry Bent <henry.r.bent@gmail.com>
8 Bug-Reference-ID:
9 Bug-Reference-URL: https://lists.gnu.org/archive/html/bug-bash/2022-11/msg00044.html
11 Bug-Description:
13 Patch (apply with `patch -p0'):
15 There are systems that supply one of select or pselect, but not both.
17 *** ../readline-8.2-patched/input.c 2022-04-08 15:43:24.000000000 -0400
18 --- input.c 2022-11-28 09:41:08.000000000 -0500
19 ***************
20 *** 152,156 ****
21 --- 152,158 ----
22 int _rl_timeout_init (void);
23 int _rl_timeout_sigalrm_handler (void);
24 + #if defined (RL_TIMEOUT_USE_SELECT)
25 int _rl_timeout_select (int, fd_set *, fd_set *, fd_set *, const struct timeval *, const sigset_t *);
26 + #endif
28 static void _rl_timeout_handle (void);
29 ***************
30 *** 249,253 ****
31 int chars_avail, k;
32 char input;
33 ! #if defined(HAVE_SELECT)
34 fd_set readfds, exceptfds;
35 struct timeval timeout;
36 --- 251,255 ----
37 int chars_avail, k;
38 char input;
39 ! #if defined (HAVE_PSELECT) || defined (HAVE_SELECT)
40 fd_set readfds, exceptfds;
41 struct timeval timeout;
42 ***************
43 *** 806,810 ****
44 unsigned char c;
45 int fd;
46 ! #if defined (HAVE_PSELECT)
47 sigset_t empty_set;
48 fd_set readfds;
49 --- 815,819 ----
50 unsigned char c;
51 int fd;
52 ! #if defined (HAVE_PSELECT) || defined (HAVE_SELECT)
53 sigset_t empty_set;
54 fd_set readfds;
55 *** ../readline-8.2/patchlevel 2013-11-15 08:11:11.000000000 -0500
56 --- patchlevel 2014-03-21 08:28:40.000000000 -0400
57 ***************
58 *** 1,3 ****
59 # Do not edit -- exists only for use by patch
61 ! 3
62 --- 1,3 ----
63 # Do not edit -- exists only for use by patch
65 ! 4