aboutsummaryrefslogtreecommitdiff
path: root/mail/normalizemime
diff options
context:
space:
mode:
authorMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2005-09-13 16:53:25 +0000
committerMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2005-09-13 16:53:25 +0000
commitd3b1a26146dec49a585fd900e7f11530a3b54d2d (patch)
treee46c771fd57367244ba93f83886c91bd5f4f3173 /mail/normalizemime
parent7cced2806283b6127aa937cb41b524c668088500 (diff)
downloadports-d3b1a26146dec49a585fd900e7f11530a3b54d2d.tar.gz
ports-d3b1a26146dec49a585fd900e7f11530a3b54d2d.zip
Notes
Diffstat (limited to 'mail/normalizemime')
-rw-r--r--mail/normalizemime/Makefile9
-rw-r--r--mail/normalizemime/files/patch-normalizemime.cc15
2 files changed, 14 insertions, 10 deletions
diff --git a/mail/normalizemime/Makefile b/mail/normalizemime/Makefile
index 3d2c44d5fd1d..a9784180ed5d 100644
--- a/mail/normalizemime/Makefile
+++ b/mail/normalizemime/Makefile
@@ -7,6 +7,7 @@
PORTNAME= normalizemime
PORTVERSION= 1.16.20050628
+PORTREVISION= 1
CATEGORIES= mail
MASTER_SITES= http://hyvatti.iki.fi/~jaakko/spam/
DISTNAME= normalizemime.cc
@@ -34,10 +35,4 @@ do-build:
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/${DISTNAME:R} ${PREFIX}/bin
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 500000
-USE_GCC=3.4+
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/mail/normalizemime/files/patch-normalizemime.cc b/mail/normalizemime/files/patch-normalizemime.cc
index f8974d60cd14..f8a19545ae74 100644
--- a/mail/normalizemime/files/patch-normalizemime.cc
+++ b/mail/normalizemime/files/patch-normalizemime.cc
@@ -1,6 +1,15 @@
---- normalizemime.cc.orig Tue Aug 30 21:31:02 2005
-+++ normalizemime.cc Tue Aug 30 21:33:08 2005
-@@ -498,7 +498,7 @@
+--- normalizemime.cc.orig Tue Sep 13 00:03:52 2005
++++ normalizemime.cc Tue Sep 13 00:04:18 2005
+@@ -58,6 +58,8 @@
+ #include <map>
+ #include <string>
+
++#include <sys/types.h>
++
+ #include <regex.h>
+ #include <assert.h>
+ #include <ctype.h>
+@@ -498,7 +500,7 @@
char *obuf = buf;
memcpy (icopy, message.c_str(), in_left);
message.erase ();