10 |
10 |
GENTOO_PATCH_VER="${PV}"
|
11 |
11 |
|
12 |
12 |
# Official patchlevel
|
13 |
|
# See ftp://ftp.cwru.edu/pub/bash/bash-2.05b-patches/
|
|
13 |
# See ftp://ftp.cwru.edu/pub/bash/bash-3.0-patches/
|
14 |
14 |
PLEVEL="${PV##*_p}"
|
15 |
15 |
MY_PV="${PV/_p*}"
|
16 |
16 |
MY_PV="${MY_PV/_/-}"
|
... | ... | |
51 |
51 |
static? ( ${LIB_DEPEND} )"
|
52 |
52 |
|
53 |
53 |
PATCHES=(
|
54 |
|
"${WORKDIR}"/${PN}-${GENTOO_PATCH_VER}-patches/${PN}-2.05b-destdir.patch
|
55 |
|
"${WORKDIR}"/${PN}-${GENTOO_PATCH_VER}-patches/autoconf-mktime-2.53.patch # bug #220040
|
56 |
|
"${WORKDIR}"/${PN}-${GENTOO_PATCH_VER}-patches/${PN}-2.05b-protos.patch
|
57 |
|
"${WORKDIR}"/${PN}-${GENTOO_PATCH_VER}-patches/${PN}-2.05b-empty-herestring.patch
|
58 |
|
"${WORKDIR}"/${PN}-${GENTOO_PATCH_VER}-patches/${PN}-2.05b-rbash.patch # bug #26854
|
|
54 |
"${WORKDIR}"/${PN}-${GENTOO_PATCH_VER}-patches/autoconf-mktime-2.53.patch
|
|
55 |
"${WORKDIR}"/${PN}-${GENTOO_PATCH_VER}-patches/${PN}-3.0-protos.patch
|
|
56 |
"${WORKDIR}"/${PN}-${GENTOO_PATCH_VER}-patches/${PN}-3.0-rbash.patch # bug #26854
|
59 |
57 |
"${WORKDIR}"/${PN}-${GENTOO_PATCH_VER}-patches/${PN}-2.05b-parallel-build.patch # bug #41002
|
60 |
|
"${WORKDIR}"/${PN}-${GENTOO_PATCH_VER}-patches/${PN}-2.05b-jobs.patch
|
61 |
|
"${WORKDIR}"/${PN}-${GENTOO_PATCH_VER}-patches/${PN}-2.05b-fix-job-warning.patch
|
|
58 |
"${WORKDIR}"/${PN}-${GENTOO_PATCH_VER}-patches/${PN}-3.0-darwin-conn.patch # bug #79124
|
|
59 |
|
|
60 |
# Read patch headers for more info ... many ripped from Fedora/Debian[17]/SuSe/upstream
|
|
61 |
"${WORKDIR}"/${PN}-${GENTOO_PATCH_VER}-patches/${PN}-3.0-{afs,crash,jobs,manpage,pwd,ulimit,histtimeformat,locale,multibyteifs,subshell,volatile-command}.patch
|
|
62 |
|
|
63 |
"${WORKDIR}"/${PN}-${GENTOO_PATCH_VER}-patches/${PN}-3.0-read-builtin-pipe.patch # bug #87093
|
|
64 |
"${WORKDIR}"/${PN}-${GENTOO_PATCH_VER}-patches/${PN}-3.0-trap-fg-signals.patch
|
|
65 |
"${WORKDIR}"/${PN}-${GENTOO_PATCH_VER}-patches/${PN}-3.0-pgrp-pipe-fix.patch # bug #92349
|
|
66 |
"${WORKDIR}"/${PN}-${GENTOO_PATCH_VER}-patches/${PN}-3.0-strnlen.patch
|
62 |
67 |
"${WORKDIR}"/${PN}-${GENTOO_PATCH_VER}-patches/${PN}-3.1-dev-fd-buffer-overflow.patch # bug #431850
|
63 |
68 |
)
|
64 |
69 |
|
... | ... | |
154 |
159 |
# bug #444070
|
155 |
160 |
tc-export AR
|
156 |
161 |
|
157 |
|
# This old autoconf script does not re-exec itself properly and fails when
|
158 |
|
# /bin/sh is not bash. Rather than try to regen everything, just force the
|
159 |
|
# use of bash directly.
|
160 |
|
CONFIG_SHELL="${BROOT}/bin/bash" econf "${myconf[@]}"
|
|
162 |
econf "${myconf[@]}"
|
161 |
163 |
}
|
162 |
164 |
|
163 |
165 |
src_install() {
|