summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorhans <hans@pkgsrc.org>2011-12-16 16:55:25 +0000
committerhans <hans@pkgsrc.org>2011-12-16 16:55:25 +0000
commit8023174f480bb9ff0fc6139c9173938a85d8acba (patch)
treee0bc90620276a0d74476d6fe68ca78fa036eab1d /mail
parent57db1287d504d38232c53348708b8d60205312ae (diff)
downloadpkgsrc-8023174f480bb9ff0fc6139c9173938a85d8acba.tar.gz
Fix build on SunOS.
Diffstat (limited to 'mail')
-rw-r--r--mail/fix-mime-charset/Makefile4
-rw-r--r--mail/fix-mime-charset/distinfo4
-rw-r--r--mail/fix-mime-charset/patches/patch-src_argp-local.h14
3 files changed, 17 insertions, 5 deletions
diff --git a/mail/fix-mime-charset/Makefile b/mail/fix-mime-charset/Makefile
index 76333a3da36..70c3c36e8f6 100644
--- a/mail/fix-mime-charset/Makefile
+++ b/mail/fix-mime-charset/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2008/06/12 02:14:34 joerg Exp $
+# $NetBSD: Makefile,v 1.13 2011/12/16 16:55:25 hans Exp $
#
DISTNAME= fix-mime-charset-0.5.3
@@ -14,7 +14,7 @@ PKG_DESTDIR_SUPPORT= user-destdir
USE_LANGUAGES= c c++
USE_PKGLOCALEDIR= yes
-USE_TOOLS+= perl pkg-config
+USE_TOOLS+= perl pkg-config pod2man
GNU_CONFIGURE= yes
.include "../../textproc/enca/buildlink3.mk"
diff --git a/mail/fix-mime-charset/distinfo b/mail/fix-mime-charset/distinfo
index 843332c83fc..28d1a41eff9 100644
--- a/mail/fix-mime-charset/distinfo
+++ b/mail/fix-mime-charset/distinfo
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.6 2011/11/24 13:56:02 joerg Exp $
+$NetBSD: distinfo,v 1.7 2011/12/16 16:55:25 hans Exp $
SHA1 (fix-mime-charset-0.5.3.tar.gz) = e331d21ba71460041958b8d4eeb61757e9f52182
RMD160 (fix-mime-charset-0.5.3.tar.gz) = 7a456f8e40c017b9f3f06db79c7cfcd2d2d15149
Size (fix-mime-charset-0.5.3.tar.gz) = 115465 bytes
-SHA1 (patch-src_argp-local.h) = cc9858f609655f72a4b69c6ffb11fd3e5c57def7
+SHA1 (patch-src_argp-local.h) = 4fc9bdc2279a1bd7e6d79b0fe9dde92edecf1d3d
SHA1 (patch-src_decoder.cc) = 24fe88fbf000a6770b6c601b8f1c113d6283f787
SHA1 (patch-src_input.cc) = 1ffbf69735e010f4ca516fa4a9b2d4f784f545af
diff --git a/mail/fix-mime-charset/patches/patch-src_argp-local.h b/mail/fix-mime-charset/patches/patch-src_argp-local.h
index 422ad8fe61a..0785cad1918 100644
--- a/mail/fix-mime-charset/patches/patch-src_argp-local.h
+++ b/mail/fix-mime-charset/patches/patch-src_argp-local.h
@@ -1,4 +1,4 @@
-$NetBSD: patch-src_argp-local.h,v 1.1 2011/11/24 13:56:02 joerg Exp $
+$NetBSD: patch-src_argp-local.h,v 1.2 2011/12/16 16:55:25 hans Exp $
--- src/argp-local.h.orig 2011-11-24 00:53:41.000000000 +0000
+++ src/argp-local.h
@@ -10,3 +10,15 @@ $NetBSD: patch-src_argp-local.h,v 1.1 2011/11/24 13:56:02 joerg Exp $
#include <string.h>
#include <iostream>
+@@ -196,7 +197,11 @@ for(p=_argp->options;p!=_argp_default_op
+ if(!p->name && !p->key)
+ p=_argp_default_options;
+ memset(q,0,sizeof(option));
++#ifndef __sun
+ q->name=p->name;
++#else
++ q->name=(char*)p->name;
++#endif
+ q->has_arg=p->arg==NULL ? no_argument : required_argument;
+ if(p->key>' ' && p->key<='z')
+ {