# Depends on: db gdbm openssl bzip2 zlib sqlite3
name=python
-version=2.7.14
+version=2.7.16
release=1
source=(http://www.python.org/ftp/$name/$version/Python-$version.tar.xz \
- CVE-2018-1000030.patch
pyconfig.h)
build () {
export CFLAGS="-O2 -pipe -mfloat-abi=hard"
export CXXFLAGS="$CFLAGS"
- # fix for CVE-2018-1000030
- # see https://bugs.python.org/issue31530
- patch -p1 -i $SRC/CVE-2018-1000030.patch
-
-
# set OPT to the python default without -O3
# our CFLAGS are used as well
OPT="-Wall -Wstrict-prototypes -fwrapv" \