diff options
author | lioux <lioux@FreeBSD.org> | 2003-04-30 07:05:40 +0800 |
---|---|---|
committer | lioux <lioux@FreeBSD.org> | 2003-04-30 07:05:40 +0800 |
commit | 5173df053bfc0f134571496f46ca91e98fdd261d (patch) | |
tree | b08a5686b231f80aa5d863c9f6d09a0638052970 | |
parent | c8981086b76f9da5d03903889ab81c2fff0297c3 (diff) | |
download | freebsd-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/Makefile | 1 | ||||
-rw-r--r-- | mail/qpopper/files/patch-common::string_util.c | 18 |
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 + + + /* |