diff options
Diffstat (limited to 'meta/packages/dpkg/files')
-rw-r--r-- | meta/packages/dpkg/files/ignore_extra_fields.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/meta/packages/dpkg/files/ignore_extra_fields.patch b/meta/packages/dpkg/files/ignore_extra_fields.patch new file mode 100644 index 0000000000..43878463e9 --- /dev/null +++ b/meta/packages/dpkg/files/ignore_extra_fields.patch | |||
@@ -0,0 +1,21 @@ | |||
1 | dpkg-deb/build.c | 4 ++-- | ||
2 | 1 file changed, 2 insertions(+), 2 deletions(-) | ||
3 | |||
4 | Index: dpkg-1.13.22/dpkg-deb/build.c | ||
5 | =================================================================== | ||
6 | --- dpkg-1.13.22.orig/dpkg-deb/build.c 2006-05-19 23:11:08.000000000 +0100 | ||
7 | +++ dpkg-1.13.22/dpkg-deb/build.c 2006-11-17 14:43:20.000000000 +0000 | ||
8 | @@ -220,11 +220,11 @@ void do_build(const char *const *argv) { | ||
9 | controlfile, checkedinfo->otherpriority); | ||
10 | warns++; | ||
11 | } | ||
12 | - for (field= checkedinfo->available.arbs; field; field= field->next) { | ||
13 | + /*for (field= checkedinfo->available.arbs; field; field= field->next) { | ||
14 | fprintf(stderr, _("warning, `%s' contains user-defined field `%s'\n"), | ||
15 | controlfile, field->name); | ||
16 | warns++; | ||
17 | - } | ||
18 | + }*/ | ||
19 | checkversion(checkedinfo->available.version.version,"(upstream) version",&errs); | ||
20 | checkversion(checkedinfo->available.version.revision,"Debian revision",&errs); | ||
21 | if (errs) ohshit(_("%d errors in control file"),errs); | ||