aboutsummaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-extended/mime-construct/files/fix-mime-construct-help-return-value.patch
diff options
context:
space:
mode:
authorKai Kang <kai.kang@windriver.com>2015-12-03 16:18:47 +0800
committerMartin Jansa <Martin.Jansa@gmail.com>2016-01-04 14:57:09 +0100
commit7a87ed81ed67daa5016a3871a78c0093b5082be7 (patch)
tree5ec158b0205ff32d35d09b7435608a7deba51861 /meta-networking/recipes-extended/mime-construct/files/fix-mime-construct-help-return-value.patch
parentbc29eac3d4826c9d857e94f26e8f90238d7130be (diff)
downloadmeta-openembedded-contrib-7a87ed81ed67daa5016a3871a78c0093b5082be7.tar.gz
meta-openembedded-contrib-7a87ed81ed67daa5016a3871a78c0093b5082be7.tar.bz2
meta-openembedded-contrib-7a87ed81ed67daa5016a3871a78c0093b5082be7.zip
mime-construct: update runtime dependencies
Update runtime dependencies of mime-construct: * drop WaitStat.pm and Signal.pm which are from libproc-waitstat-perl and its dependency libipc-signal-perl * add patch to return 0 for option '--help' * replace postfix with msmtp which is more lightweight * add perl modules which are required for mime-construct to run Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-networking/recipes-extended/mime-construct/files/fix-mime-construct-help-return-value.patch')
-rw-r--r--meta-networking/recipes-extended/mime-construct/files/fix-mime-construct-help-return-value.patch39
1 files changed, 39 insertions, 0 deletions
diff --git a/meta-networking/recipes-extended/mime-construct/files/fix-mime-construct-help-return-value.patch b/meta-networking/recipes-extended/mime-construct/files/fix-mime-construct-help-return-value.patch
new file mode 100644
index 0000000000..5e4281d4e3
--- /dev/null
+++ b/meta-networking/recipes-extended/mime-construct/files/fix-mime-construct-help-return-value.patch
@@ -0,0 +1,39 @@
+From 2b9ed06850410d70371b31de5f131e484ba1c851 Mon Sep 17 00:00:00 2001
+From: Lu Chong <Chong.Lu@windriver.com>
+Date: Thu, 17 Oct 2013 16:06:04 +0800
+Subject: [PATCH] fix mime-construct --help return value
+
+Upstream-Status: Pending
+
+Signed-off-by: Lu Chong <Chong.Lu@windriver.com>
+
+---
+ mime-construct | 5 +++--
+ 1 file changed, 3 insertions(+), 2 deletions(-)
+
+diff --git a/mime-construct b/mime-construct
+index cad7d0e..707ed19 100755
+--- a/mime-construct
++++ b/mime-construct
+@@ -39,7 +39,7 @@ usage: $Me switch...
+
+ Global settings:
+ --debug turn debugging on
+- --help show this and then die
++ --help show this
+ --output don\'t mail, output to stdout (loses bcc info)
+ --subpart generate subpart rather than whole message (turns
+ on --output, changes other semantics a bit)
+@@ -150,7 +150,8 @@ sub xwarn {
+
+ sub usage {
+ xwarn @_ if @_;
+- die $Usage;
++ print $Usage;
++ exit 0;
+ }
+
+ sub init {
+--
+1.7.9.5
+