Generated by (address unknown), From = lilypond-1.5.55, To = lilypond-1.5.55.mb1 usage cd lilypond-source-dir; patch -E -p1 < lilypond-1.5.55.mb1.diff Patches do not contain automatically generated files or (urg) empty directories, i.e., you should rerun autoconf, configure diff -purN ../lilypond-1.5.55/ChangeLog ./ChangeLog --- ../lilypond-1.5.55/ChangeLog Sat May 4 15:20:45 2002 +++ ./ChangeLog Thu May 16 18:44:50 2002 @@ -1,3 +1,7 @@ +2002-05-16 Mats Bengtsson + + * scripts/lilypond-book.py: Don't import pre for Python >= 2.2 + 2002-05-04 Han-Wen * VERSION: 1.5.55 released diff -purN ../lilypond-1.5.55/VERSION ./VERSION --- ../lilypond-1.5.55/VERSION Sat May 4 15:14:13 2002 +++ ./VERSION Thu May 16 18:45:01 2002 @@ -2,7 +2,7 @@ PACKAGE_NAME=LilyPond MAJOR_VERSION=1 MINOR_VERSION=5 PATCH_LEVEL=55 -MY_PATCH_LEVEL= +MY_PATCH_LEVEL=mb1 # use the above to send patches: MY_PATCH_LEVEL is always empty for a # released version. diff -purN ../lilypond-1.5.55/scripts/lilypond-book.py ./scripts/lilypond-book.py --- ../lilypond-1.5.55/scripts/lilypond-book.py Thu Apr 25 15:03:00 2002 +++ ./scripts/lilypond-book.py Thu May 16 18:44:10 2002 @@ -50,14 +50,16 @@ import operator # Handle bug in Python 1.6-2.1 # # there are recursion limits for some patterns in Python 1.6 til 2.1. -# fix this by importing pre instead. Fix by Mats. +# fix this by importing the 1.5.2 implementation pre instead. Fix by Mats. -# todo: should check Python version first. -try: - import pre - re = pre - del pre -except ImportError: +if float (sys.version[0:3]) < 2.2: + try: + import pre + re = pre + del pre + except ImportError: + import re +else: import re program_version = '@TOPLEVEL_VERSION@'