pkgsrc/lang/python23-pth/patches/patch-ae
recht d5dc8a4e54 Update to Python 2.3.2
Changes in Python:
Quite a few fixes.. See NEWS for details.

Changes in the pkg:
- add FreeBSD patches from the FreeBSD port
- add fix for a fatal bug in type's GC handling causes segfaults
  (via FreeBSD port)
  see http://cvs.sourceforge.net/viewcvs.py/python/python/dist/src/Misc/NEWS?r1=1.831.4.75&r2=1.831.4.76&diff_format=u
- always build the db 1.85 module (on all platforms)
2003-12-08 21:13:56 +00:00

13 lines
682 B
Text

$NetBSD: patch-ae,v 1.2 2003/12/08 21:13:56 recht Exp $
--- Lib/distutils/command/build_scripts.py.orig 2003-06-27 21:33:38.000000000 +0200
+++ Lib/distutils/command/build_scripts.py
@@ -99,7 +99,7 @@ class build_scripts (Command):
outf.write("#!%s%s\n" %
(os.path.join(
sysconfig.get_config_var("BINDIR"),
- "python" + sysconfig.get_config_var("EXE")),
+ "python%s" % sys.version[:3] + sysconfig.get_config_var("EXE")),
post_interp))
outf.writelines(f.readlines())
outf.close()