ports/security/ccrypt/patches/patch-src_main_c

17 lines
478 B
Text
Raw Normal View History

2023-08-16 22:26:55 +00:00
Allows the use our getopt instead of the bundled one.
From Peter Selinger (upstream author)
Can be removed for ccrypt>=1.12
Index: src/main.c
--- src/main.c.orig
+++ src/main.c
@@ -180,7 +180,7 @@ static struct option longopts[] = {
{0, 0, 0, 0}
};
-static const char *shortopts = "edcxuhVLvqDfmE:K:k:F:H:S:sP:Q:tby:rRlT-";
+static const char *shortopts = "edcxuhVLvqDfmE:K:k:F:H:S:sP:Q:tby:rRlT";
static cmdline read_commandline(int ac, char *av[]) {
cmdline cmd;