Copy from home:a_jaeger:branches:openSUSE:Factory/rpm via accept of submit request 19458

Request was accepted with message:

OBS-URL: https://build.opensuse.org/package/show/Base:System/rpm?expand=0&rev=22
This commit is contained in:
2009-09-02 14:49:56 +00:00
committed by Git OBS Bridge
parent 7daa30ec7f
commit 2c09bf7821
3 changed files with 30 additions and 1 deletions

22
debuginfo-mono.patch Normal file
View File

@@ -0,0 +1,22 @@
Index: scripts/find-debuginfo.sh
===================================================================
--- scripts/find-debuginfo.sh.orig
+++ scripts/find-debuginfo.sh
@@ -210,6 +210,17 @@ while read nlinks inum f; do
;;
*) continue ;;
esac
+ # double check that we really have an ELF file,
+ # to handle monodevelop-debugger-gdb and monodevelop-debugger-mdb
+ ftype=`/usr/bin/file $f | cut -d: -f2-`
+ case $ftype in
+ *ELF*) ;;
+ *)
+ echo "$f is not an ELF file, skipping"
+ continue
+ ;;
+ esac
+
get_debugfn "$f"
[ -f "${debugfn}" ] && continue