]> git.pld-linux.org Git - packages/rpm.git/blobdiff - rpm-builddir-readlink.patch
- from gpg manual for --passphrase-fd option: "Since Version 2.1 the --pinentry-mode...
[packages/rpm.git] / rpm-builddir-readlink.patch
index 11afecfdd895c9841e3be2f02c7e291e14622e7d..0453045fc8eb04eebabb1ad5d77fa64b4670bfb3 100644 (file)
@@ -1,9 +1,9 @@
 --- rpm-4.5/scripts/find-debuginfo.sh~ 2010-01-27 19:25:48.000000000 +0200
 +++ rpm-4.5/scripts/find-debuginfo.sh  2010-01-27 20:23:37.279516094 +0200
 @@ -24,6 +24,11 @@
- # Barf on missing build IDs.
  strict=false
  
+ RPM_BUILD_DIR="`pwd`"
 +# canon RPM_BUILD_DIR, the DW_AT_comp_dir in ELF objects is real a real path
 +# and debugedit will ignore them as they are out of build dir.
 +RPM_BUILD_DIR=$(readlink -f "$RPM_BUILD_DIR")
@@ -21,6 +21,6 @@
 +    $strict && exit 2
 +  fi
 +
+   [ -x /usr/bin/gdb-add-index ] && /usr/bin/gdb-add-index "$f" > /dev/null 2>&1
    # A binary already copied into /usr/lib/debug doesn't get stripped,
-   # just has its file names collected and adjusted.
-   case "$dn" in
This page took 0.028671 seconds and 4 git commands to generate.