summaryrefslogtreecommitdiff
path: root/package/cifs-utils/patches/patch-getcifsacl_c
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2013-11-29 16:06:00 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2013-11-29 16:06:00 +0100
commit8e8512391c668fc7074f812f15eabe8f176fb01e (patch)
treef9f0862dd6eb962fe3fc4803180b431843f6c5be /package/cifs-utils/patches/patch-getcifsacl_c
parentc491653a1f9574a42965025805d472c3d145f699 (diff)
parentae3d4616ed9c19a29d656193254657f93d612fa2 (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/cifs-utils/patches/patch-getcifsacl_c')
-rw-r--r--package/cifs-utils/patches/patch-getcifsacl_c16
1 files changed, 16 insertions, 0 deletions
diff --git a/package/cifs-utils/patches/patch-getcifsacl_c b/package/cifs-utils/patches/patch-getcifsacl_c
new file mode 100644
index 000000000..ab94b2114
--- /dev/null
+++ b/package/cifs-utils/patches/patch-getcifsacl_c
@@ -0,0 +1,16 @@
+--- cifs-utils-6.1.orig/getcifsacl.c 2013-07-02 21:13:33.000000000 +0200
++++ cifs-utils-6.1/getcifsacl.c 2013-10-28 07:33:27.000000000 +0100
+@@ -24,7 +24,13 @@
+ #endif /* HAVE_CONFIG_H */
+
+ #include <string.h>
++#ifdef HAVE_GNU_GETOPT_LONG
+ #include <getopt.h>
++#else
++#include "gnu_getopt.h"
++#define getopt_long gnu_getopt_long
++#define option gnu_option
++#endif
+ #include <stdint.h>
+ #include <stdbool.h>
+ #include <unistd.h>