diff options
author | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2001-12-12 06:12:02 +0000 |
---|---|---|
committer | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2001-12-12 06:12:02 +0000 |
commit | 230f8c0a602d9143b498d1d7b3a89126ebafffda (patch) | |
tree | 9d2ddaeeaed016d9b9433d3b3a9d2d00dfd49c49 /textproc/rotix/files/patch-rotix.c | |
parent | e443e89ea9837edfacccfbac434a578e59b7407b (diff) | |
download | ports-230f8c0a602d9143b498d1d7b3a89126ebafffda.tar.gz ports-230f8c0a602d9143b498d1d7b3a89126ebafffda.zip |
Notes
Diffstat (limited to 'textproc/rotix/files/patch-rotix.c')
-rw-r--r-- | textproc/rotix/files/patch-rotix.c | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/textproc/rotix/files/patch-rotix.c b/textproc/rotix/files/patch-rotix.c new file mode 100644 index 000000000000..47e440778929 --- /dev/null +++ b/textproc/rotix/files/patch-rotix.c @@ -0,0 +1,33 @@ +--- rotix.c Fri Nov 9 17:39:12 2001 ++++ rotix.c Fri Dec 7 15:35:26 2001 +@@ -26,9 +26,11 @@ + /* System includes. */ + #include <stdio.h> + #include <stdlib.h> +-#include <getopt.h> ++#include <unistd.h> + #include <string.h> + ++#define getopt_long( a, b, c, d, e ) getopt( a, b, c ) ++ + /* I18N */ + #include <libintl.h> + #define _(String) gettext (String) +@@ -46,7 +47,7 @@ + int i = 1, rotor = 13, option = 0; + char *arg = NULL, option_flags = 0, rotate_flags = 0; + +- /* The struct used to determine which options are called. */ ++ /* The struct used to determine which options are called. + static struct option rotix_options[] = { + { "file", 1, NULL, 'f' }, + { "rot", 1, NULL, 'r' }, +@@ -57,7 +58,7 @@ + { "help", 0, NULL, 'h' }, + { "version", 0, NULL, 'v' }, + { NULL, 0, NULL, 0 } +- }; ++ }; */ + + + /* A 2-bit character array, to obfuscate a character */ |