summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/sudo/files/autofoo.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-extended/sudo/files/autofoo.patch')
-rw-r--r--meta/recipes-extended/sudo/files/autofoo.patch143
1 files changed, 143 insertions, 0 deletions
diff --git a/meta/recipes-extended/sudo/files/autofoo.patch b/meta/recipes-extended/sudo/files/autofoo.patch
new file mode 100644
index 0000000000..4f24737610
--- /dev/null
+++ b/meta/recipes-extended/sudo/files/autofoo.patch
@@ -0,0 +1,143 @@
1# fix underquotes, rebased to 1.7.2p7
2#
3# by Kevin Tian <kevin.tian@intel.com>, 06/23/2010
4Index: sudo-1.7.2p7/aclocal.m4
5===================================================================
6--- sudo-1.7.2p7.orig/aclocal.m4 2010-06-23 13:33:57.000000000 +0800
7+++ sudo-1.7.2p7/aclocal.m4 2010-06-23 13:36:41.000000000 +0800
8@@ -10,7 +10,7 @@
9 dnl
10 dnl check for sendmail
11 dnl
12-AC_DEFUN(SUDO_PROG_SENDMAIL, [AC_MSG_CHECKING(for sendmail)
13+AC_DEFUN([SUDO_PROG_SENDMAIL], [AC_MSG_CHECKING(for sendmail)
14 if test -f "/usr/sbin/sendmail"; then
15 AC_MSG_RESULT(/usr/sbin/sendmail)
16 SUDO_DEFINE(_PATH_SUDO_SENDMAIL, "/usr/sbin/sendmail")
17@@ -37,7 +37,7 @@
18 dnl
19 dnl check for vi
20 dnl
21-AC_DEFUN(SUDO_PROG_VI, [AC_MSG_CHECKING(for vi)
22+AC_DEFUN([SUDO_PROG_VI], [AC_MSG_CHECKING(for vi)
23 if test -f "/usr/bin/vi"; then
24 AC_MSG_RESULT(/usr/bin/vi)
25 SUDO_DEFINE(_PATH_VI, "/usr/bin/vi")
26@@ -61,7 +61,7 @@
27 dnl
28 dnl check for mv
29 dnl
30-AC_DEFUN(SUDO_PROG_MV, [AC_MSG_CHECKING(for mv)
31+AC_DEFUN([SUDO_PROG_MV], [AC_MSG_CHECKING(for mv)
32 if test -f "/usr/bin/mv"; then
33 AC_MSG_RESULT(/usr/bin/mv)
34 SUDO_DEFINE(_PATH_MV, "/usr/bin/mv")
35@@ -82,7 +82,7 @@
36 dnl
37 dnl check for bourne shell
38 dnl
39-AC_DEFUN(SUDO_PROG_BSHELL, [AC_MSG_CHECKING(for bourne shell)
40+AC_DEFUN([SUDO_PROG_BSHELL], [AC_MSG_CHECKING(for bourne shell)
41 if test -f "/bin/sh"; then
42 AC_MSG_RESULT(/bin/sh)
43 SUDO_DEFINE(_PATH_BSHELL, "/bin/sh")
44@@ -115,7 +115,7 @@
45 dnl
46 dnl Where the log file goes, use /var/log if it exists, else /{var,usr}/adm
47 dnl
48-AC_DEFUN(SUDO_LOGFILE, [AC_MSG_CHECKING(for log file location)
49+AC_DEFUN([SUDO_LOGFILE], [AC_MSG_CHECKING(for log file location)
50 if test -n "$with_logpath"; then
51 AC_MSG_RESULT($with_logpath)
52 SUDO_DEFINE_UNQUOTED(_PATH_SUDO_LOGFILE, "$with_logpath")
53@@ -136,7 +136,7 @@
54 dnl
55 dnl Where the log file goes, use /var/log if it exists, else /{var,usr}/adm
56 dnl
57-AC_DEFUN(SUDO_TIMEDIR, [AC_MSG_CHECKING(for timestamp file location)
58+AC_DEFUN([SUDO_TIMEDIR], [AC_MSG_CHECKING(for timestamp file location)
59 if test -n "$with_timedir"; then
60 AC_MSG_RESULT($with_timedir)
61 SUDO_DEFINE_UNQUOTED(_PATH_SUDO_TIMEDIR, "$with_timedir")
62@@ -160,7 +160,7 @@
63 dnl SUDO_CHECK_TYPE(TYPE, DEFAULT)
64 dnl XXX - should require the check for unistd.h...
65 dnl
66-AC_DEFUN(SUDO_CHECK_TYPE,
67+AC_DEFUN([SUDO_CHECK_TYPE],
68 [AC_REQUIRE([AC_HEADER_STDC])dnl
69 AC_MSG_CHECKING(for $1)
70 AC_CACHE_VAL(sudo_cv_type_$1,
71@@ -181,31 +181,31 @@
72 dnl
73 dnl Check for size_t declation
74 dnl
75-AC_DEFUN(SUDO_TYPE_SIZE_T,
76+AC_DEFUN([SUDO_TYPE_SIZE_T],
77 [SUDO_CHECK_TYPE(size_t, int)])
78
79 dnl
80 dnl Check for ssize_t declation
81 dnl
82-AC_DEFUN(SUDO_TYPE_SSIZE_T,
83+AC_DEFUN([SUDO_TYPE_SSIZE_T],
84 [SUDO_CHECK_TYPE(ssize_t, int)])
85
86 dnl
87 dnl Check for dev_t declation
88 dnl
89-AC_DEFUN(SUDO_TYPE_DEV_T,
90+AC_DEFUN([SUDO_TYPE_DEV_T],
91 [SUDO_CHECK_TYPE(dev_t, int)])
92
93 dnl
94 dnl Check for ino_t declation
95 dnl
96-AC_DEFUN(SUDO_TYPE_INO_T,
97+AC_DEFUN([SUDO_TYPE_INO_T],
98 [SUDO_CHECK_TYPE(ino_t, unsigned int)])
99
100 dnl
101 dnl check for working fnmatch(3)
102 dnl
103-AC_DEFUN(SUDO_FUNC_FNMATCH,
104+AC_DEFUN([SUDO_FUNC_FNMATCH],
105 [AC_MSG_CHECKING([for working fnmatch with FNM_CASEFOLD])
106 AC_CACHE_VAL(sudo_cv_func_fnmatch,
107 [rm -f conftestdata; > conftestdata
108@@ -271,7 +271,7 @@
109 dnl
110 dnl check for sa_len field in struct sockaddr
111 dnl
112-AC_DEFUN(SUDO_SOCK_SA_LEN,
113+AC_DEFUN([SUDO_SOCK_SA_LEN],
114 [AC_MSG_CHECKING(for sa_len field in struct sockaddr)
115 AC_CACHE_VAL(sudo_cv_sock_sa_len,
116 [AC_TRY_RUN([#include <sys/types.h>
117@@ -294,7 +294,7 @@
118 dnl we can't really trust UID_MAX or MAXUID since they may exist
119 dnl only for backwards compatibility.
120 dnl
121-AC_DEFUN(SUDO_UID_T_LEN,
122+AC_DEFUN([SUDO_UID_T_LEN],
123 [AC_REQUIRE([AC_TYPE_UID_T])
124 AC_MSG_CHECKING(max length of uid_t)
125 AC_CACHE_VAL(sudo_cv_uid_t_len,
126@@ -327,7 +327,7 @@
127 dnl
128 dnl Check for presence of long long and for sizeof(long long) == sizeof(long)
129 dnl
130-AC_DEFUN(SUDO_TYPE_LONG_LONG,
131+AC_DEFUN([SUDO_TYPE_LONG_LONG],
132 [AC_CHECK_TYPES(long long, [AC_DEFINE(HAVE_LONG_LONG, 1, [Define if your compiler supports the "long long" type.])]
133 [AC_MSG_CHECKING(for long and long long equivalence)
134 AC_CACHE_VAL(sudo_cv_type_long_is_quad,
135@@ -347,7 +347,7 @@
136 dnl
137 dnl append a libpath to an LDFLAGS style variable
138 dnl
139-AC_DEFUN(SUDO_APPEND_LIBPATH, [
140+AC_DEFUN([SUDO_APPEND_LIBPATH], [
141 if test X"$with_rpath" = X"yes"; then
142 case "$host" in
143 *-*-hpux*) $1="${$1} -L$2 -Wl,+b,$2"