]> git.pld-linux.org Git - packages/gdb.git/blame - libstdc++-v3-python-common-prefix.patch
- NOTE: does not build with -j2
[packages/gdb.git] / libstdc++-v3-python-common-prefix.patch
CommitLineData
7566401a
ER
1On x86_64 host with:
2pythondir: /usr/lib/python2.6/site-packages/gdb
3libdir: /usr/lib64
4
5prefix got set to "/usr/lib" but the code expects a trailing "/" (missing then
6one "../" 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.11081 seconds and 4 git commands to generate.