diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2006-12-30 22:45:40 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2006-12-30 22:45:40 +0000 |
commit | 843cda5ba3e9b26f615a7af32cd6bdb46e037dfa (patch) | |
tree | 708548bb32d6a14dfb8f2f87bdf42fd572858332 /ftp/proftpd/files/patch-getopt.c | |
parent | Update to 5.1.6ds (diff) |
- Fixed Makefile
- Added patch - patch-getopt.c (Upgrades lib/getopt.c to version 1.4
- Bumped PORTREVISION
PR: ports/107221
ports/107107
ports/105947
Submitted by: Beech Rintoul <beech@alaskaparadise.com> (maintainer)
Johan Svensson<johan@loxley.se>
Matus UHLAR - fantomas<uhlar@fantomas.sk>
Notes
Notes:
svn path=/head/; revision=181106
Diffstat (limited to 'ftp/proftpd/files/patch-getopt.c')
-rw-r--r-- | ftp/proftpd/files/patch-getopt.c | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/ftp/proftpd/files/patch-getopt.c b/ftp/proftpd/files/patch-getopt.c new file mode 100644 index 000000000000..4dae5eb270b2 --- /dev/null +++ b/ftp/proftpd/files/patch-getopt.c @@ -0,0 +1,20 @@ +--- lib/getopt.c.orig Thu Feb 28 10:30:01 2002 ++++ lib/getopt.c Tue Dec 26 13:39:53 2006 +@@ -76,7 +76,7 @@ + # endif + #endif + +-#ifndef _ ++#if defined(PR_USE_NLS) && !defined(_) + /* This is for other GNU distributions with internationalized messages. + When compiling libc, the _ macro is predefined. */ + # ifdef HAVE_LIBINTL_H +@@ -85,6 +85,8 @@ + # else + # define _(msgid) (msgid) + # endif ++#else ++# define _(msgid) (msgid) + #endif + + /* This version of `getopt' appears to the caller like standard Unix `getopt' |