freebsd-ports/mail/ifile/files/patch-argp_argp.h
FUJISHIMA Satsuki 97cde34830 get rid of libgnugetopt dependency for -CURRENT,
use USE_GETOPT_LONG instead.
use getopt_long() instead of getopt_long_only().

Obtained from:	NetBSD
2003-07-14 02:41:33 +00:00

11 lines
389 B
C

--- argp/argp.h.orig Tue Jun 10 23:09:27 2003
+++ argp/argp.h Mon Jul 7 04:31:41 2003
@@ -352,7 +352,7 @@
#define ARGP_NO_EXIT 0x20
/* Use the gnu getopt `long-only' rules for parsing arguments. */
-#define ARGP_LONG_ONLY 0x40
+#define ARGP_LONG_ONLY 0x00
/* Turns off any message-printing/exiting options. */
#define ARGP_SILENT (ARGP_NO_EXIT | ARGP_NO_ERRS | ARGP_NO_HELP)