migration from private to rsa
[external/bash.git] / debian / patches / rl-examples-bdb.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 -p1 < $0;;
11     -unpatch) patch $pdir -f --no-backup-if-mismatch -R -p1 < $0;;
12     *)
13         echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
14         exit 1
15 esac
16 exit 0
17
18 # DP: Modified readline examples to properly build with Debian setup.
19
20 --- ./lib/readline/examples/rl.c~       Mon Nov  8 22:22:03 1999
21 +++ ./lib/readline/examples/rl.c        Fri Dec 31 17:34:30 1999
22 @@ -11,7 +11,7 @@
23  
24  #include <stdio.h>
25  #include <sys/types.h>
26 -#include "posixstat.h"
27 +#include <sys/stat.h>
28  
29  #if defined (READLINE_LIBRARY)
30  #  include "readline.h"