ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/CMSDIST/python-2.7.3-dont-detect-dbm.patch
(Generate patch)

Comparing COMP/CMSDIST/python-2.7.3-dont-detect-dbm.patch (file contents):
Revision 1.1 by davidlt, Mon Jun 18 11:41:33 2012 UTC vs.
Revision 1.2 by davidlt, Tue Sep 11 07:34:15 2012 UTC

# Line 1 | Line 1
1   diff --git a/setup.py b/setup.py
2 < index 6b47451..cb79bdf 100644
2 > index 6b47451..b83da78 100644
3   --- a/setup.py
4   +++ b/setup.py
5   @@ -801,7 +801,7 @@ class PyBuildExt(build_ext):
# Line 72 | Line 72 | index 6b47451..cb79bdf 100644
72               # See whether there is a Sleepycat header in the standard
73               # search path.
74   -            for d in inc_dirs + db_inc_paths:
75 < +            for d in [os.environ["DB4_ROOT"]]:
75 > +            for d in ["%s/include" % os.environ["DB4_ROOT"]]:
76                   f = os.path.join(d, "db.h")
77  
78                   if sys.platform == 'darwin' and is_macosx_sdk_path(d):

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines