diff options
author | Richard Purdie <richard@openedhand.com> | 2006-11-17 15:40:56 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2006-11-17 15:40:56 +0000 |
commit | 941d957cb967145014f383db50eff714c03fb295 (patch) | |
tree | a476d1375659e327e29d800cee056a71c1000292 /meta/packages/dpkg/files | |
parent | 177e1a17c0b735cfe47b7e6be0c74b68c0344510 (diff) | |
download | openembedded-core-941d957cb967145014f383db50eff714c03fb295.tar.gz openembedded-core-941d957cb967145014f383db50eff714c03fb295.tar.bz2 openembedded-core-941d957cb967145014f383db50eff714c03fb295.zip |
dpkg: Make it a little quieter by removing extra fields warnings
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@870 311d38ba-8fff-0310-9ca6-ca027cbcb966
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 @@ + dpkg-deb/build.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +Index: dpkg-1.13.22/dpkg-deb/build.c +=================================================================== +--- dpkg-1.13.22.orig/dpkg-deb/build.c 2006-05-19 23:11:08.000000000 +0100 ++++ dpkg-1.13.22/dpkg-deb/build.c 2006-11-17 14:43:20.000000000 +0000 +@@ -220,11 +220,11 @@ void do_build(const char *const *argv) { + controlfile, checkedinfo->otherpriority); + warns++; + } +- for (field= checkedinfo->available.arbs; field; field= field->next) { ++ /*for (field= checkedinfo->available.arbs; field; field= field->next) { + 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); |