Lines 60-66
Link Here
|
60 |
src_unpack() { |
60 |
src_unpack() { |
61 |
unpack ${A} |
61 |
unpack ${A} |
62 |
cd "${S}" |
62 |
cd "${S}" |
63 |
|
63 |
|
|
|
64 |
sed -i 's/<= 255:/<= 127:/g' Lib/sgmllib.py || die "ascii-unicode not fixed" |
64 |
#epatch "${FILESDIR}/python-2.5.CVE-2007-4965-int-overflow.patch" |
65 |
#epatch "${FILESDIR}/python-2.5.CVE-2007-4965-int-overflow.patch" |
65 |
if tc-is-cross-compiler ; then |
66 |
if tc-is-cross-compiler ; then |
66 |
[[ $(python -V 2>&1) != "Python ${PV}" ]] && \ |
67 |
[[ $(python -V 2>&1) != "Python ${PV}" ]] && \ |