Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f53eec8

Browse files
committed
Merged revisions 72871-72872 via svnmerge from
svn+ssh://[email protected]/python/trunk ........ r72871 | benjamin.peterson | 2009-05-23 14:24:37 -0500 (Sat, 23 May 2009) | 1 line support building with subversion 1.7 #6094 ........ r72872 | benjamin.peterson | 2009-05-23 14:31:02 -0500 (Sat, 23 May 2009) | 1 line reorder name ........
1 parent 716c444 commit f53eec8

7 files changed

Lines changed: 9 additions & 14 deletions

File tree

Makefile.pre.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -524,7 +524,7 @@ Modules/getbuildinfo.o: $(PARSER_OBJS) \
524524
$(SIGNAL_OBJS) \
525525
$(MODOBJS) \
526526
$(srcdir)/Modules/getbuildinfo.c
527-
$(CC) -c $(PY_CFLAGS) -DSVNVERSION=\"`LC_ALL=C $(SVNVERSION)`\" -o $@ $(srcdir)/Modules/getbuildinfo.c
527+
$(CC) -c $(PY_CFLAGS) -DSVNVERSION="\"`LC_ALL=C $(SVNVERSION)`\"" -o $@ $(srcdir)/Modules/getbuildinfo.c
528528

529529
Modules/getpath.o: $(srcdir)/Modules/getpath.c Makefile
530530
$(CC) -c $(PY_CFLAGS) -DPYTHONPATH='"$(PYTHONPATH)"' \

Misc/ACKS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -709,6 +709,7 @@ Kalle Svensson
709709
Andrew Svetlov
710710
Paul Swartz
711711
Thenault Sylvain
712+
Arfrever Frehtes Taifersar Arahesis
712713
Geoff Talvola
713714
Musashi Tamura
714715
William Tanksley

Misc/NEWS

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1081,6 +1081,8 @@ Tools/Demos
10811081
Build
10821082
-----
10831083

1084+
- Issue #6094: Build correctly with Subversion 1.7.
1085+
10841086
- Issue #5847: Remove -n switch on "Edit with IDLE" menu item.
10851087

10861088
- Issue #5726: Make Modules/ld_so_aix return the actual exit code of the

Modules/getbuildinfo.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,5 +48,5 @@ _Py_svnversion(void)
4848
static const char svnversion[] = SVNVERSION;
4949
if (svnversion[0] != '$')
5050
return svnversion; /* it was interpolated, or passed on command line */
51-
return "exported";
51+
return "Unversioned directory";
5252
}

Python/sysmodule.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1115,7 +1115,7 @@ svnversion_init(void)
11151115

11161116

11171117
svnversion = _Py_svnversion();
1118-
if (strcmp(svnversion, "exported") != 0)
1118+
if (strcmp(svnversion, "Unversioned directory") != 0 && strcmp(svnversion, "exported") != 0)
11191119
svn_revision = svnversion;
11201120
else if (istag) {
11211121
len = strlen(_patchlevel_revision);

configure

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#! /bin/sh
2-
# From configure.in Revision: 72800 .
2+
# From configure.in Revision: 72865 .
33
# Guess values for system-dependent variables and create Makefiles.
44
# Generated by GNU Autoconf 2.61 for python 3.1.
55
#
@@ -4333,7 +4333,7 @@ if test $SVNVERSION = found
43334333
then
43344334
SVNVERSION="svnversion \$(srcdir)"
43354335
else
4336-
SVNVERSION="echo exported"
4336+
SVNVERSION="echo Unversioned directory"
43374337
fi
43384338

43394339
case $MACHDEP in
@@ -13516,14 +13516,6 @@ then
1351613516
Linux*|GNU*) LINKFORSHARED="-Xlinker -export-dynamic";;
1351713517
# -u libsys_s pulls in all symbols in libsys
1351813518
Darwin/*)
13519-
# -u _PyMac_Error is needed to pull in the mac toolbox glue,
13520-
# which is
13521-
# not used by the core itself but which needs to be in the core so
13522-
# that dynamically loaded extension modules have access to it.
13523-
# -prebind is no longer used, because it actually seems to give a
13524-
# slowdown in stead of a speedup, maybe due to the large number of
13525-
# dynamic loads Python does.
13526-
1352713519
LINKFORSHARED="$extra_undefs -framework CoreFoundation"
1352813520
if test "$enable_framework"
1352913521
then

configure.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -758,7 +758,7 @@ if test $SVNVERSION = found
758758
then
759759
SVNVERSION="svnversion \$(srcdir)"
760760
else
761-
SVNVERSION="echo exported"
761+
SVNVERSION="echo Unversioned directory"
762762
fi
763763

764764
case $MACHDEP in

0 commit comments

Comments
 (0)