summaryrefslogtreecommitdiff
path: root/lang/python23/patches
diff options
context:
space:
mode:
Diffstat (limited to 'lang/python23/patches')
-rw-r--r--lang/python23/patches/patch-ai13
1 files changed, 13 insertions, 0 deletions
diff --git a/lang/python23/patches/patch-ai b/lang/python23/patches/patch-ai
new file mode 100644
index 00000000000..2a1ae918727
--- /dev/null
+++ b/lang/python23/patches/patch-ai
@@ -0,0 +1,13 @@
+$NetBSD: patch-ai,v 1.5 2006/04/13 02:26:54 joerg Exp $
+
+--- Lib/distutils/util.py.orig 2004-07-18 06:16:08.000000000 +0000
++++ Lib/distutils/util.py
+@@ -66,6 +66,8 @@ def get_platform ():
+ m = rel_re.match(release)
+ if m:
+ release = m.group()
++ elif osname[:9] == "dragonfly":
++ release = string.split(release, "-")[0]
+
+ return "%s-%s-%s" % (osname, release, machine)
+