chiark / gitweb /
libgpg-error: workaround no stdout atexit with constructor prior to N (#1017)
[termux-packages] / packages / mc / mc.patch
1 diff -u -r ../mc-4.8.11/configure ./configure
2 --- ../mc-4.8.11/configure      2013-11-29 19:45:45.000000000 +0100
3 +++ ./configure 2014-01-08 12:02:35.217251791 +0100
4 @@ -19036,12 +19036,6 @@
5    esac
6  fi
7  
8 -if test -z "$ac_list_mounted_fs"; then
9 -  as_fn_error $? "could not determine how to read list of mounted file systems" "$LINENO" 5
10 -  # FIXME -- no need to abort building the whole package
11 -  # Can't build mountlist.c or anything that needs its functions
12 -fi
13 -
14  if test $ac_list_mounted_fs = found; then :
15    gl_cv_list_mounted_fs=yes
16  else
17 @@ -19737,12 +19731,6 @@
18    esac
19  fi
20  
21 -if test -z "$ac_list_mounted_fs"; then
22 -  as_fn_error $? "could not determine how to read list of mounted file systems" "$LINENO" 5
23 -  # FIXME -- no need to abort building the whole package
24 -  # Can't build mountlist.c or anything that needs its functions
25 -fi
26 -
27  if test $ac_list_mounted_fs = found; then :
28  
29  
30 diff -u -r ../mc-4.8.11/lib/tty/tty.c ./lib/tty/tty.c
31 --- ../mc-4.8.11/lib/tty/tty.c  2013-11-29 19:27:07.000000000 +0100
32 +++ ./lib/tty/tty.c     2014-01-08 12:02:35.217251791 +0100
33 @@ -34,6 +34,7 @@
34  #include <stdarg.h>
35  #include <stdlib.h>
36  #include <string.h>             /* memset() */
37 +#include <termios.h>
38  #include <unistd.h>             /* exit() */
39  
40  #ifdef HAVE_SYS_IOCTL_H