summaryrefslogtreecommitdiff
path: root/packages/dpkg/dpkg-1.14.19/ignore_extra_fields.patch
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <hrw@openembedded.org>2008-10-23 21:30:13 +0200
committerMarcin Juszkiewicz <hrw@openembedded.org>2008-10-23 21:30:13 +0200
commite7e16edfa3fa08d60e74e7ef1f0032599c984160 (patch)
tree8bf04bfa603b8c2c4fb643c2155ee00c4f097023 /packages/dpkg/dpkg-1.14.19/ignore_extra_fields.patch
parent06ec44b8cadf446a9c5d455c50395b5b1a2d5a30 (diff)
dpkg: unbreak 1.13.* versions
Diffstat (limited to 'packages/dpkg/dpkg-1.14.19/ignore_extra_fields.patch')
-rw-r--r--packages/dpkg/dpkg-1.14.19/ignore_extra_fields.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/packages/dpkg/dpkg-1.14.19/ignore_extra_fields.patch b/packages/dpkg/dpkg-1.14.19/ignore_extra_fields.patch
new file mode 100644
index 0000000000..d09343c6e5
--- /dev/null
+++ b/packages/dpkg/dpkg-1.14.19/ignore_extra_fields.patch
@@ -0,0 +1,26 @@
+ dpkg-deb/build.c | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+--- dpkg-1.14.19.orig/dpkg-deb/build.c
++++ dpkg-1.14.19/dpkg-deb/build.c
+@@ -241,18 +241,18 @@ void do_build(const char *const *argv) {
+ if (checkedinfo->priority == pri_other) {
+ fprintf(stderr, _("warning, `%s' contains user-defined Priority value `%s'\n"),
+ controlfile, checkedinfo->otherpriority);
+ warns++;
+ }
+- for (field= checkedinfo->available.arbs; field; field= field->next) {
++ /*for (field= checkedinfo->available.arbs; field; field= field->next) {
+ if (known_arbitrary_field(field))
+ continue;
+
+ fprintf(stderr, _("warning, `%s' contains user-defined field `%s'\n"),
+ controlfile, field->name);
+ warns++;
+- }
++ }*/
+ checkversion(checkedinfo->available.version.version,"(upstream) version",&errs);
+ checkversion(checkedinfo->available.version.revision,"Debian revision",&errs);
+ if (errs) ohshit(_("%d errors in control file"),errs);
+
+ if (subdir) {