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/_/-}"
|
... | ... | |
54 |
54 |
S="${WORKDIR}/${MY_P}"
|
55 |
55 |
|
56 |
56 |
PATCHES=(
|
57 |
|
"${WORKDIR}"/${PN}-${GENTOO_PATCH_VER}-patches/${PN}-2.05b-destdir.patch
|
58 |
|
"${WORKDIR}"/${PN}-${GENTOO_PATCH_VER}-patches/autoconf-mktime-2.53.patch # bug #220040
|
59 |
|
"${WORKDIR}"/${PN}-${GENTOO_PATCH_VER}-patches/${PN}-2.05b-protos.patch
|
60 |
|
"${WORKDIR}"/${PN}-${GENTOO_PATCH_VER}-patches/${PN}-2.05b-empty-herestring.patch
|
61 |
|
"${WORKDIR}"/${PN}-${GENTOO_PATCH_VER}-patches/${PN}-2.05b-rbash.patch # bug #26854
|
|
57 |
"${WORKDIR}"/${PN}-${GENTOO_PATCH_VER}-patches/autoconf-mktime-2.53.patch
|
|
58 |
"${WORKDIR}"/${PN}-${GENTOO_PATCH_VER}-patches/${PN}-3.0-protos.patch
|
|
59 |
"${WORKDIR}"/${PN}-${GENTOO_PATCH_VER}-patches/${PN}-3.0-rbash.patch # bug #26854
|
62 |
60 |
"${WORKDIR}"/${PN}-${GENTOO_PATCH_VER}-patches/${PN}-2.05b-parallel-build.patch # bug #41002
|
63 |
|
"${WORKDIR}"/${PN}-${GENTOO_PATCH_VER}-patches/${PN}-2.05b-jobs.patch
|
64 |
|
"${WORKDIR}"/${PN}-${GENTOO_PATCH_VER}-patches/${PN}-2.05b-fix-job-warning.patch
|
|
61 |
"${WORKDIR}"/${PN}-${GENTOO_PATCH_VER}-patches/${PN}-3.0-darwin-conn.patch # bug #79124
|
|
62 |
|
|
63 |
# Read patch headers for more info ... many ripped from Fedora/Debian[17]/SuSe/upstream
|
|
64 |
"${WORKDIR}"/${PN}-${GENTOO_PATCH_VER}-patches/${PN}-3.0-{afs,crash,jobs,manpage,pwd,ulimit,histtimeformat,locale,multibyteifs,subshell,volatile-command}.patch
|
|
65 |
|
|
66 |
"${WORKDIR}"/${PN}-${GENTOO_PATCH_VER}-patches/${PN}-3.0-read-builtin-pipe.patch # bug #87093
|
|
67 |
"${WORKDIR}"/${PN}-${GENTOO_PATCH_VER}-patches/${PN}-3.0-trap-fg-signals.patch
|
|
68 |
"${WORKDIR}"/${PN}-${GENTOO_PATCH_VER}-patches/${PN}-3.0-pgrp-pipe-fix.patch # bug #92349
|
|
69 |
"${WORKDIR}"/${PN}-${GENTOO_PATCH_VER}-patches/${PN}-3.0-strnlen.patch
|
65 |
70 |
"${WORKDIR}"/${PN}-${GENTOO_PATCH_VER}-patches/${PN}-3.1-dev-fd-buffer-overflow.patch # bug #431850
|
66 |
71 |
)
|
67 |
72 |
|
... | ... | |
143 |
148 |
# bug #444070
|
144 |
149 |
tc-export AR
|
145 |
150 |
|
146 |
|
# This old autoconf script does not re-exec itself properly and fails when
|
147 |
|
# /bin/sh is not bash. Rather than try to regen everything, just force the
|
148 |
|
# use of bash directly.
|
149 |
|
CONFIG_SHELL="${BROOT}/bin/bash" econf "${myconf[@]}"
|
|
151 |
econf "${myconf[@]}"
|
150 |
152 |
}
|
151 |
153 |
|
152 |
154 |
src_install() {
|