]> git.pld-linux.org Git - packages/gdb.git/blob - libstdc++-v3-python-common-prefix.patch
- update to 6.8.91.20090930-1 from fedora
[packages/gdb.git] / libstdc++-v3-python-common-prefix.patch
1 On x86_64 host with:
2 pythondir: /usr/lib/python2.6/site-packages/gdb
3 libdir:    /usr/lib64
4
5 prefix got set to "/usr/lib" but the code expects a trailing "/" (missing then
6 one "../" path component).
7
8 --- ./libstdc++-v3-python-r151798/hook.in-orig  2009-06-18 21:12:37.000000000 +0200
9 +++ ./libstdc++-v3-python-r151798/hook.in       2009-09-17 23:37:35.000000000 +0200
10 @@ -40,7 +40,7 @@ if gdb.current_objfile () is not None:
11      # In some bizarre configuration we might have found a match in the
12      # middle of a directory name.
13      if prefix[-1] != '/':
14 -        prefix = os.path.dirname (prefix)
15 +        prefix = os.path.dirname (prefix) + '/'
16  
17      # Strip off the prefix.
18      pythondir = pythondir[len (prefix):]
This page took 0.035243 seconds and 3 git commands to generate.