X-Git-Url: https://git.tld-linux.org/?p=packages%2Frpm.git;a=blobdiff_plain;f=rpm-new-debuginfo.patch;h=6a3d9e5231343d24d1a469201afb1109f1e3a0f5;hp=b7170c05c1438965499e68d2f35ec14f993eeb6e;hb=630c68c81e8bfa147007554ef35258d125bc8657;hpb=84075475222d896bc30bf83aaa7caeee19bedaea diff --git a/rpm-new-debuginfo.patch b/rpm-new-debuginfo.patch index b7170c0..6a3d9e5 100644 --- a/rpm-new-debuginfo.patch +++ b/rpm-new-debuginfo.patch @@ -11,7 +11,7 @@ # Template for debug information sub-package. --- rpm-4.5/scripts/find-debuginfo.sh.orig 2007-08-31 03:07:02.000000000 +0200 +++ rpm-4.5/scripts/find-debuginfo.sh 2009-09-17 15:22:30.299290490 +0200 -@@ -1,57 +1,327 @@ +@@ -1,57 +1,328 @@ -#!/bin/sh +#!/bin/bash #find-debuginfo.sh - automagically generate debug info and file list @@ -105,6 +105,7 @@ { - eu-strip --remove-comment -f "$1" "$2" || : + local t=$(mktemp "/tmp/rpm.stripped.XXXXXX") ++ objcopy --compress-debug-sections "$2" || exit + eu-strip --remove-comment -f "$1" "$2" -o "$t" || exit + rm -f "$t" +}