From 779cb8120ee48d1e70f2ef82d5e6e2cc2bedd1c8 Mon Sep 17 00:00:00 2001 From: joerg Date: Tue, 26 Feb 2013 11:07:26 +0000 Subject: Fix return type. --- mail/ja-mh/distinfo | 4 ++-- mail/ja-mh/patches/patch-bq | 20 +++++++++++++++++--- 2 files changed, 19 insertions(+), 5 deletions(-) (limited to 'mail/ja-mh') diff --git a/mail/ja-mh/distinfo b/mail/ja-mh/distinfo index 3d8b5ed92b0..ae1b262eb98 100644 --- a/mail/ja-mh/distinfo +++ b/mail/ja-mh/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.14 2012/09/24 16:12:15 taca Exp $ +$NetBSD: distinfo,v 1.15 2013/02/26 11:07:26 joerg Exp $ SHA1 (mh-6.8.4-JP-3.05-20030114.patch.gz) = 6d4e6535465e5ffd5b9b5eef8d96cfcb1f947470 RMD160 (mh-6.8.4-JP-3.05-20030114.patch.gz) = f22d6f37bcd79bddf893c0f42d714fc01647dfe1 @@ -56,7 +56,7 @@ SHA1 (patch-bm) = ba0045f5b04956d6392c833c4713a45997b47fad SHA1 (patch-bn) = f16a572626108561e12f112d559ea518262b3540 SHA1 (patch-bo) = c1ed3f5ce677eea50d4bd52076bab75de4c49b5d SHA1 (patch-bp) = 952d27e9c68f4629ba84957492ecb1e0db563550 -SHA1 (patch-bq) = 17f8722b2509baad2e8362ac86a53181144c296d +SHA1 (patch-bq) = 9cb97208fc883f98ef5fc1448f18dabfc737760c SHA1 (patch-br) = d58aef4d14429b8268a5b1652e686298615bb3ba SHA1 (patch-bs) = 46ae5e2354a9b95b1d57aff91961f704d81fa3a3 SHA1 (patch-bt) = 79789097d2d0c4b7a469c40b77add954d77608b6 diff --git a/mail/ja-mh/patches/patch-bq b/mail/ja-mh/patches/patch-bq index 1581a23f074..e15b36f4a89 100644 --- a/mail/ja-mh/patches/patch-bq +++ b/mail/ja-mh/patches/patch-bq @@ -1,4 +1,4 @@ -$NetBSD: patch-bq,v 1.2 2010/09/27 12:01:49 taca Exp $ +$NetBSD: patch-bq,v 1.3 2013/02/26 11:07:26 joerg Exp $ * Use standard strdup(3). @@ -21,15 +21,29 @@ $NetBSD: patch-bq,v 1.2 2010/09/27 12:01:49 taca Exp $ #ifdef notdef extern char *sprintf(); /* rely on stdio.h to declare this */ #endif -@@ -268,7 +269,7 @@ static struct pair { +@@ -266,9 +267,10 @@ static struct pair { + + static do_sed(), do_sedfile(), do_files(), do_doc(), do_make(); - static shell(), arginit(), add_option(), trim(); +-static shell(), arginit(), add_option(), trim(); ++static shell(), arginit(), add_option(); ++static void trim(char *); -static char *stradd (), *strdup (), *tail (); +static char *stradd (), *tail (); /* */ +@@ -959,8 +961,7 @@ end_myopt () { + + /* */ + +-static trim (s) +-char *s; ++static void trim(char *s) + { + char *p; + @@ -1002,7 +1003,7 @@ char *s1, return p; } -- cgit v1.2.3