diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2014-02-13 10:34:53 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2014-02-13 10:34:53 +0800 |
commit | 6b4d77ee32c3d6a9e144a34aa4977ef5803f8e35 (patch) | |
tree | e3afc6a35f64343f38b272c379695e64a6aef70d | |
parent | 576c8ff53bfbe4f54fe0f116186da1998a04487c (diff) | |
download | freebsd-ports-gnome-6b4d77ee32c3d6a9e144a34aa4977ef5803f8e35.tar.gz freebsd-ports-gnome-6b4d77ee32c3d6a9e144a34aa4977ef5803f8e35.tar.zst freebsd-ports-gnome-6b4d77ee32c3d6a9e144a34aa4977ef5803f8e35.zip |
- Fix build on 10.x
PR: 185954
Submitted by: amdmi3
Approved by: maintainer timeout
-rw-r--r-- | textproc/bsdsort/files/patch-sort.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/textproc/bsdsort/files/patch-sort.c b/textproc/bsdsort/files/patch-sort.c new file mode 100644 index 000000000000..f2cc676237ea --- /dev/null +++ b/textproc/bsdsort/files/patch-sort.c @@ -0,0 +1,11 @@ +--- sort.c.orig 2012-07-04 20:25:12.000000000 +0400 ++++ sort.c 2014-01-21 07:18:36.832891740 +0400 +@@ -146,7 +146,7 @@ + #define NUMBER_OF_MUTUALLY_EXCLUSIVE_FLAGS 6 + static const char mutually_exclusive_flags[NUMBER_OF_MUTUALLY_EXCLUSIVE_FLAGS] = { 'M', 'n', 'g', 'R', 'h', 'V' }; + +-struct option long_options[] = { ++static struct option long_options[] = { + { "batch-size", required_argument, NULL, BS_OPT }, + { "buffer-size", required_argument, NULL, 'S' }, + { "check", optional_argument, NULL, 'c' }, |