X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=python3-ac_fixes.patch;h=36e3783b22972924bda30e866f3f234adcb9196d;hb=bbde3964f186ef4dc9a9e817fc805d095d837dc8;hp=2167c847cf333b2e05bef9b5ab104fddddb8e293;hpb=e684db953bd17a587112a46f5ded5f257bf67b54;p=packages%2Fpython3.git diff --git a/python3-ac_fixes.patch b/python3-ac_fixes.patch index 2167c84..36e3783 100644 --- a/python3-ac_fixes.patch +++ b/python3-ac_fixes.patch @@ -1,30 +1,29 @@ ---- Python-2.5b2/configure.in.orig 2006-07-06 11:13:35.000000000 +0100 -+++ Python-2.5b2/configure.in 2006-07-12 16:30:30.000000000 +0100 -@@ -753,13 +753,13 @@ - if test "$Py_DEBUG" = 'true' ; then - # Optimization messes up debuggers, so turn it off for - # debug builds. -- OPT="-g -Wall $STRICT_PROTO" -+ OPT="-g $CPPFLAGS $CFLAGS -Wall $STRICT_PROTO" - else -- OPT="-g -O3 -Wall $STRICT_PROTO" -+ OPT="-g $CPPFLAGS $CFLAGS -Wall $STRICT_PROTO" - fi - ;; - *) -- OPT="-O3 -Wall $STRICT_PROTO" -+ OPT="$CPPFLAGS $CFLAGS -Wall $STRICT_PROTO" - ;; - esac +--- Python-3.6.2/configure.ac~ 2017-07-08 05:33:27.000000000 +0200 ++++ Python-3.6.2/configure.ac 2017-08-07 10:28:44.498951134 +0200 +@@ -1485,25 +1485,6 @@ then + CFLAGS_ALIASING="-fno-strict-aliasing" + fi + +- case $ac_cv_prog_cc_g in +- yes) +- if test "$Py_DEBUG" = 'true' ; then +- # Optimization messes up debuggers, so turn it off for +- # debug builds. +- if "$CC" -v --help 2>/dev/null |grep -- -Og > /dev/null; then +- OPT="-g -Og -Wall" +- else +- OPT="-g -O0 -Wall" +- fi +- else +- OPT="-g $WRAP -O3 -Wall" +- fi +- ;; +- *) +- OPT="-O3 -Wall" +- ;; +- esac +- case $ac_sys_system in ---- Python-2.5c1.orig/Makefile.pre.in 2006-07-30 17:20:10.000000000 +0100 -+++ Python-2.5c1/Makefile.pre.in 2006-08-25 17:51:05.000000000 +0100 -@@ -852,7 +852,7 @@ - $(INSTALL_SCRIPT) $(srcdir)/install-sh $(DESTDIR)$(LIBPL)/install-sh - # Substitution happens here, as the completely-expanded BINDIR - # is not available in configure -- sed -e "s,@EXENAME@,$(BINDIR)/python$(VERSION)$(EXE)," < $(srcdir)/Misc/python-config.in >python-config -+ sed -e "s,@EXENAME@,$(BINDIR)/python$(EXE)," < $(srcdir)/Misc/python-config.in >python-config - $(INSTALL_SCRIPT) python-config $(DESTDIR)$(BINDIR)/python$(VERSION)-config - rm python-config - @if [ -s Modules/python.exp -a \ + SCO_SV*) OPT="$OPT -m486 -DSCO5" + ;; +