summaryrefslogtreecommitdiff
path: root/package/cifs-utils/patches/patch-cifscreds_c
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2013-10-28 16:33:41 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2013-10-28 16:33:41 +0100
commit444176e8aa3a958f147f15542793678b619be262 (patch)
tree3bae8dc0b3fd98ebffc239c6f4d0bb2e7604d957 /package/cifs-utils/patches/patch-cifscreds_c
parent05abc676e9272fdf933e0ea376bb12d8ec497467 (diff)
fix host build stuff and update-patches, convert cifs-utils and libaudiofile to new autotool infrastructure
Diffstat (limited to 'package/cifs-utils/patches/patch-cifscreds_c')
-rw-r--r--package/cifs-utils/patches/patch-cifscreds_c16
1 files changed, 16 insertions, 0 deletions
diff --git a/package/cifs-utils/patches/patch-cifscreds_c b/package/cifs-utils/patches/patch-cifscreds_c
new file mode 100644
index 000000000..0548e515f
--- /dev/null
+++ b/package/cifs-utils/patches/patch-cifscreds_c
@@ -0,0 +1,16 @@
+--- cifs-utils-6.1.orig/cifscreds.c 2013-07-02 21:13:33.000000000 +0200
++++ cifs-utils-6.1/cifscreds.c 2013-10-28 07:33:27.000000000 +0100
+@@ -27,7 +27,13 @@
+ #include <string.h>
+ #include <ctype.h>
+ #include <keyutils.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 <errno.h>
+ #include "mount.h"
+ #include "resolve_host.h"