]> git.pld-linux.org Git - packages/python3.git/blobdiff - python3-ac_fixes.patch
BR: autoconf-archive
[packages/python3.git] / python3-ac_fixes.patch
index e89ee25bceda1a6a329773e85e12aee1af386032..36e3783b22972924bda30e866f3f234adcb9196d 100644 (file)
@@ -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 $WRAP -O3 -Wall $STRICT_PROTO"
-+              OPT="-g $WRAP $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"
+           ;;
+
This page took 0.031719 seconds and 4 git commands to generate.