ports/ftp/rexx-curl/files/patch-common_loader.c
Dmitry Marakasov 1c7690d885 - Update to 2.0.1
PR:		212271
Submitted by:	bob@eager.cx (maintainer)
2016-08-31 17:00:56 +00:00

10 lines
280 B
C

--- common/loader.c.orig 2012-08-14 01:16:58 UTC
+++ common/loader.c
@@ -225,6 +225,7 @@ int main
/*
* Get any program options.
*/
+ optind = 1; /* Previously clobbered by regina */
while ((c = getopt(argc, argv, "Dudivh?f:")) != EOF)
{
switch (c)