mirror of
https://git.yoctoproject.org/poky
synced 2026-01-29 21:08:42 +01:00
Drop distutils and smtpd modules from packaging, as both are gone in 3.12. Rebase: 0020-configure.ac-setup.py-do-not-add-a-curses-include-pa.patch (drop setup.py chunk as the file is gone) Drop patches: 0001-Do-not-add-usr-lib-termcap-to-linker-flags-to-avoid-.patch (setup.py gone, lib/termcap not mentioned anywhere else) 0001-Don-t-search-system-for-headers-libraries.patch (setup.py gone, usr/lib64 not mentioned anywhere else) 0001-Makefile-do-not-compile-.pyc-in-parallel.patch (replaced with COMPILEALL_OPTS= in EXTRA_OEMAKE) 0001-setup.py-Do-not-detect-multiarch-paths-when-cross-co.patch (setup.py gone, add_multiarch_paths not mentioned anywhere else) 0017-setup.py-do-not-report-missing-dependencies-for-disa.patch (has been superseded by Setup.local tweak in do_configure:prepend) 12-distutils-prefix-is-inside-staging-area.patch (distutils has been removed upstream, so this old, unplesant hack can be finally dropped) avoid_warning_about_tkinter.patch (setup.py gone, tkinter detection logic performed in configure.ac) (From OE-Core rev: 716d82352545d3667a658b69d65d6127678dd150) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
33 lines
1.1 KiB
Diff
33 lines
1.1 KiB
Diff
From a56778372fe8dc7c42f5ffd911d89498c22dd064 Mon Sep 17 00:00:00 2001
|
|
From: Mark Hatle <mark.hatle@windriver.com>
|
|
Date: Wed, 21 Sep 2011 20:55:33 -0500
|
|
Subject: [PATCH] Lib/cgi.py: Update the script as mentioned in the comment
|
|
|
|
Upstream-Status: Inappropriate [distribution]
|
|
|
|
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
|
|
|
|
---
|
|
Lib/cgi.py | 11 +----------
|
|
1 file changed, 1 insertion(+), 10 deletions(-)
|
|
|
|
diff --git a/Lib/cgi.py b/Lib/cgi.py
|
|
index 8787567..ebe8652 100755
|
|
--- a/Lib/cgi.py
|
|
+++ b/Lib/cgi.py
|
|
@@ -1,13 +1,4 @@
|
|
-#! /usr/local/bin/python
|
|
-
|
|
-# NOTE: the above "/usr/local/bin/python" is NOT a mistake. It is
|
|
-# intentionally NOT "/usr/bin/env python". On many systems
|
|
-# (e.g. Solaris), /usr/local/bin is not in $PATH as passed to CGI
|
|
-# scripts, and /usr/local/bin is the default directory where Python is
|
|
-# installed, so /usr/bin/env would be unable to find python. Granted,
|
|
-# binary installations by Linux vendors often install Python in
|
|
-# /usr/bin. So let those vendors patch cgi.py to match their choice
|
|
-# of installation.
|
|
+#! /usr/bin/env python
|
|
|
|
"""Support module for CGI (Common Gateway Interface) scripts.
|
|
|