diff options
author | Cem Keylan <cem@ckyln.com> | 2021-05-04 22:56:09 +0300 |
---|---|---|
committer | Cem Keylan <cem@ckyln.com> | 2021-05-04 22:56:09 +0300 |
commit | 889011228deffab60efdcca1380ba14eeb6f134c (patch) | |
tree | 707dbe5296938627c9eaf931538dfb6ac8c3ccb8 /extra/readline/build | |
parent | a5da1d29073c92c81b71f6786b2e5aaf7ea02a3a (diff) | |
download | repository-889011228deffab60efdcca1380ba14eeb6f134c.tar.gz |
readline: bump to 8.1p1
Diffstat (limited to 'extra/readline/build')
-rwxr-xr-x | extra/readline/build | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/extra/readline/build b/extra/readline/build index b19251e0..88cdea25 100755 --- a/extra/readline/build +++ b/extra/readline/build @@ -2,6 +2,15 @@ export CFLAGS="$CFLAGS -fPIC" +# I am really tired of how bash and readline handles patches. +[ "${2##*p*}" ] || { + maj=${2%%.*} + min=${2%%p*} min=${min##*.} + for patch in "readline$maj$min"-0??; do + patch -p0 < "$patch" + done +} + ./configure \ --prefix=/usr |