From 843cda5ba3e9b26f615a7af32cd6bdb46e037dfa Mon Sep 17 00:00:00 2001 From: Martin Wilke Date: Sat, 30 Dec 2006 22:45:40 +0000 Subject: - 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 (maintainer) Johan Svensson Matus UHLAR - fantomas --- ftp/proftpd-devel/files/patch-getopt.c | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 ftp/proftpd-devel/files/patch-getopt.c (limited to 'ftp/proftpd-devel/files/patch-getopt.c') diff --git a/ftp/proftpd-devel/files/patch-getopt.c b/ftp/proftpd-devel/files/patch-getopt.c new file mode 100644 index 000000000000..4dae5eb270b2 --- /dev/null +++ b/ftp/proftpd-devel/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' -- cgit v1.2.3