summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2011-11-24 13:56:02 +0000
committerjoerg <joerg@pkgsrc.org>2011-11-24 13:56:02 +0000
commit36424d37627e3adef8c2de21e6b819246fbf7096 (patch)
treecbdc1e45e350b67df488f3d906e93d47f2ec2c66
parent5ad700ce9b1ba2f9bbde9a9b3a6c98f109098580 (diff)
downloadpkgsrc-36424d37627e3adef8c2de21e6b819246fbf7096.tar.gz
Fix build with newer GCC
-rw-r--r--mail/fix-mime-charset/distinfo5
-rw-r--r--mail/fix-mime-charset/patches/patch-src_argp-local.h12
-rw-r--r--mail/fix-mime-charset/patches/patch-src_decoder.cc8
-rw-r--r--mail/fix-mime-charset/patches/patch-src_input.cc12
4 files changed, 36 insertions, 1 deletions
diff --git a/mail/fix-mime-charset/distinfo b/mail/fix-mime-charset/distinfo
index 59576f8c944..843332c83fc 100644
--- a/mail/fix-mime-charset/distinfo
+++ b/mail/fix-mime-charset/distinfo
@@ -1,5 +1,8 @@
-$NetBSD: distinfo,v 1.5 2005/02/24 09:59:22 agc Exp $
+$NetBSD: distinfo,v 1.6 2011/11/24 13:56:02 joerg 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_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
new file mode 100644
index 00000000000..422ad8fe61a
--- /dev/null
+++ b/mail/fix-mime-charset/patches/patch-src_argp-local.h
@@ -0,0 +1,12 @@
+$NetBSD: patch-src_argp-local.h,v 1.1 2011/11/24 13:56:02 joerg Exp $
+
+--- src/argp-local.h.orig 2011-11-24 00:53:41.000000000 +0000
++++ src/argp-local.h
+@@ -10,6 +10,7 @@
+ //
+
+ #include <getopt.h>
++#include <stdlib.h>
+ #include <string.h>
+ #include <iostream>
+
diff --git a/mail/fix-mime-charset/patches/patch-src_decoder.cc b/mail/fix-mime-charset/patches/patch-src_decoder.cc
new file mode 100644
index 00000000000..3a26f9c5a1e
--- /dev/null
+++ b/mail/fix-mime-charset/patches/patch-src_decoder.cc
@@ -0,0 +1,8 @@
+$NetBSD: patch-src_decoder.cc,v 1.1 2011/11/24 13:56:02 joerg Exp $
+
+--- src/decoder.cc.orig 2011-11-24 00:54:13.000000000 +0000
++++ src/decoder.cc
+@@ -2,2 +2,3 @@
+
++#include <string.h>
+ #include "decoder.h"
diff --git a/mail/fix-mime-charset/patches/patch-src_input.cc b/mail/fix-mime-charset/patches/patch-src_input.cc
new file mode 100644
index 00000000000..cca8074b699
--- /dev/null
+++ b/mail/fix-mime-charset/patches/patch-src_input.cc
@@ -0,0 +1,12 @@
+$NetBSD: patch-src_input.cc,v 1.1 2011/11/24 13:56:02 joerg Exp $
+
+--- src/input.cc.orig 2011-11-24 00:53:58.000000000 +0000
++++ src/input.cc
+@@ -3,6 +3,7 @@
+ #include "input.h"
+ #include <iostream>
+ #include <fstream>
++#include <string.h>
+
+ /* Input */
+