aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlioux <lioux@FreeBSD.org>2003-04-30 07:05:40 +0800
committerlioux <lioux@FreeBSD.org>2003-04-30 07:05:40 +0800
commit5173df053bfc0f134571496f46ca91e98fdd261d (patch)
treeb08a5686b231f80aa5d863c9f6d09a0638052970
parentc8981086b76f9da5d03903889ab81c2fff0297c3 (diff)
downloadfreebsd-ports-gnome-5173df053bfc0f134571496f46ca91e98fdd261d.tar.gz
freebsd-ports-gnome-5173df053bfc0f134571496f46ca91e98fdd261d.tar.zst
freebsd-ports-gnome-5173df053bfc0f134571496f46ca91e98fdd261d.zip
o Prefer FreeBSD's strlcpy() function over qpopper's incorrect
implementation o Bump PORTREVISION Submitted by: nectar
-rw-r--r--mail/qpopper/Makefile1
-rw-r--r--mail/qpopper/files/patch-common::string_util.c18
2 files changed, 19 insertions, 0 deletions
diff --git a/mail/qpopper/Makefile b/mail/qpopper/Makefile
index 963a967eb45a..35b43b14f715 100644
--- a/mail/qpopper/Makefile
+++ b/mail/qpopper/Makefile
@@ -7,6 +7,7 @@
PORTNAME= qpopper
PORTVERSION= 4.0.5
+PORTREVISION= 1
CATEGORIES= mail ipv6
MASTER_SITES= ftp://ftp.qualcomm.com/eudora/servers/unix/popper/%SUBDIR%/
MASTER_SITE_SUBDIR= . old
diff --git a/mail/qpopper/files/patch-common::string_util.c b/mail/qpopper/files/patch-common::string_util.c
new file mode 100644
index 000000000000..4cf4ec3ba443
--- /dev/null
+++ b/mail/qpopper/files/patch-common::string_util.c
@@ -0,0 +1,18 @@
+--- common/string_util.c.orig Wed Mar 12 23:06:14 2003
++++ common/string_util.c Tue Apr 29 20:00:01 2003
+@@ -37,6 +37,7 @@
+
+
+
++#if 0
+ /*
+ * Function: strlcpy
+ *
+@@ -156,6 +157,7 @@
+ *dst = '\0';
+ return dstlen + ( src - strsource ) + strlen ( src );
+ }
++#endif
+
+
+ /*