migration from private to rsa
[external/bash.git] / debian / patches / rl-header.dpatch
1 #! /bin/sh -e
2
3 if [ $# -eq 3 -a "$2" = '-d' ]; then
4     pdir="-d $3"
5 elif [ $# -ne 1 ]; then
6     echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
7     exit 1
8 fi
9 case "$1" in
10     -patch) patch $pdir -f --no-backup-if-mismatch -p0 < $0;;
11     -unpatch) patch $pdir -f --no-backup-if-mismatch -R -p0 < $0;;
12     *)
13         echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
14         exit 1
15 esac
16 exit 0
17
18 # DP: include stdio.h in readline.h
19 --- lib/readline/readline.h~    Thu Aug  5 14:10:59 1999
20 +++ lib/readline/readline.h     Mon Oct  9 20:32:56 2000
21 @@ -32,6 +32,7 @@
22  #  include "keymaps.h"
23  #  include "tilde.h"
24  #else
25 +#  include <stdio.h>
26  #  include <readline/rlstdc.h>
27  #  include <readline/keymaps.h>
28  #  include <readline/tilde.h>