1 #! /bin/sh /usr/share/dpatch/dpatch-run
2 ## 800-allow-relocatable-objects.dpatch.dpatch by Eero Häkkinen <eero.hakkinen@nokia.com>
4 ## All lines beginning with `## DP:' are a description of the patch.
5 ## DP: Allow relocatable objects even if they are not .o or .ko files.
9 --- lintian-1.24.2.orig/checks/binaries 2008-08-01 11:42:34.000000000 +0300
10 +++ lintian~/checks/binaries 2008-08-01 11:56:57.000000000 +0300
12 # a kernel module, debugging symbols, or perhaps a debugging package?
13 # Ocaml executables are exempted, see #252695
14 unless ($file =~ m,\.k?o$, or $pkg =~ m/-dbg$/ or $pkg =~ m/debug/
15 + or $info =~ /\bLSB relocatable\b/
16 or $file =~ m,/lib/debug/, or exists $OCAML{$file}) {
17 tag "unstripped-binary-or-object", "$file";