From afe86aef52c4051dc87ca5398d7fb36d30119827 Mon Sep 17 00:00:00 2001 From: "Yamashita, Yuu" Date: Sun, 16 Aug 2015 13:17:38 +0900 Subject: [PATCH] disable `_FORTITY_SOURCE` to fix build of CPython (>= 2.4, <= 2.4.3) (#422) --- plugins/python-build/share/python-build/2.4 | 2 ++ plugins/python-build/share/python-build/2.4.1 | 2 ++ plugins/python-build/share/python-build/2.4.2 | 2 ++ plugins/python-build/share/python-build/2.4.3 | 2 ++ 4 files changed, 8 insertions(+) diff --git a/plugins/python-build/share/python-build/2.4 b/plugins/python-build/share/python-build/2.4 index d69fa729..05ea5a11 100644 --- a/plugins/python-build/share/python-build/2.4 +++ b/plugins/python-build/share/python-build/2.4 @@ -1,3 +1,5 @@ +# disable `_FORTITY_SOURCE` to fix build of CPython (>= 2.4, <= 2.4.3) (#422) +package_option python configure BASECFLAGS="-U_FORTIFY_SOURCE" #require_gcc install_package "readline-6.3" "http://ftpmirror.gnu.org/readline/readline-6.3.tar.gz#56ba6071b9462f980c5a72ab0023893b65ba6debb4eeb475d7a563dc65cafd43" standard --if has_broken_mac_readline install_package "Python-2.4" "http://python.org/ftp/python/2.4/Python-2.4.tgz#ff746de0fae8691c082414b42a2bb172da8797e6e8ff66c9a39d2e452f7034e9" ldflags_dirs standard verify_py24 diff --git a/plugins/python-build/share/python-build/2.4.1 b/plugins/python-build/share/python-build/2.4.1 index f14a99b8..b23e4ce0 100644 --- a/plugins/python-build/share/python-build/2.4.1 +++ b/plugins/python-build/share/python-build/2.4.1 @@ -1,3 +1,5 @@ +# disable `_FORTITY_SOURCE` to fix build of CPython (>= 2.4, <= 2.4.3) (#422) +package_option python configure BASECFLAGS="-U_FORTIFY_SOURCE" #require_gcc install_package "readline-6.3" "http://ftpmirror.gnu.org/readline/readline-6.3.tar.gz#56ba6071b9462f980c5a72ab0023893b65ba6debb4eeb475d7a563dc65cafd43" standard --if has_broken_mac_readline install_package "Python-2.4.1" "http://python.org/ftp/python/2.4.1/Python-2.4.1.tgz#f449c3b167389324c525ad99d02376c518ac11e163dbbbc13bc88a5c7101fd00" ldflags_dirs standard verify_py24 diff --git a/plugins/python-build/share/python-build/2.4.2 b/plugins/python-build/share/python-build/2.4.2 index fdeff6ad..2738360b 100644 --- a/plugins/python-build/share/python-build/2.4.2 +++ b/plugins/python-build/share/python-build/2.4.2 @@ -1,3 +1,5 @@ +# disable `_FORTITY_SOURCE` to fix build of CPython (>= 2.4, <= 2.4.3) (#422) +package_option python configure BASECFLAGS="-U_FORTIFY_SOURCE" #require_gcc install_package "readline-6.3" "http://ftpmirror.gnu.org/readline/readline-6.3.tar.gz#56ba6071b9462f980c5a72ab0023893b65ba6debb4eeb475d7a563dc65cafd43" standard --if has_broken_mac_readline install_package "Python-2.4.2" "http://python.org/ftp/python/2.4.2/Python-2.4.2.tgz#2653e1846e87fd9b3ee287fefc965c80c54646548b4913a22265b0dd54493adf" ldflags_dirs standard verify_py24 diff --git a/plugins/python-build/share/python-build/2.4.3 b/plugins/python-build/share/python-build/2.4.3 index 8579fc25..ba1521ed 100644 --- a/plugins/python-build/share/python-build/2.4.3 +++ b/plugins/python-build/share/python-build/2.4.3 @@ -1,3 +1,5 @@ +# disable `_FORTITY_SOURCE` to fix build of CPython (>= 2.4, <= 2.4.3) (#422) +package_option python configure BASECFLAGS="-U_FORTIFY_SOURCE" #require_gcc install_package "readline-6.3" "http://ftpmirror.gnu.org/readline/readline-6.3.tar.gz#56ba6071b9462f980c5a72ab0023893b65ba6debb4eeb475d7a563dc65cafd43" standard --if has_broken_mac_readline install_package "Python-2.4.3" "http://python.org/ftp/python/2.4.3/Python-2.4.3.tgz#985a413932f5e31e6280b37da6b285a3a0b2748c6786643989ed9b23de97e2d5" ldflags_dirs standard verify_py24