summaryrefslogtreecommitdiff
path: root/lang/python/patches/patch-aa
blob: 72cce81d66e3d598535c79df5df2e5109a580142 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-aa,v 1.5 1999/04/14 05:11:22 tsarna Exp $

Deal with egcs's unexpectedly long version string.

--- Python/getversion.c.orig	Tue Apr 13 23:58:15 1999
+++ Python/getversion.c	Tue Apr 13 23:58:22 1999
@@ -39,7 +39,7 @@
 Py_GetVersion()
 {
 	static char version[100];
-	sprintf(version, "%.10s (%.40s) %.40s", PY_VERSION,
+	sprintf(version, "%.10s (%.40s) %.50s", PY_VERSION,
 		Py_GetBuildInfo(), Py_GetCompiler());
 	return version;
 }