2efd3246c918e8f11113aab5e4d3c37cfe7c724c
[maemian] / nokia-lintian / debian / patches / 800-allow-relocatable-objects.dpatch
1 #! /bin/sh /usr/share/dpatch/dpatch-run
2 ## 800-allow-relocatable-objects.dpatch.dpatch by Eero Häkkinen <eero.hakkinen@nokia.com>
3 ##
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.
6
7 @DPATCH@
8
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
11 @@ -216,6 +216,7 @@
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";
18         }