summaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-daemons/autofs/autofs/cross.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-networking/recipes-daemons/autofs/autofs/cross.patch')
-rw-r--r--meta-networking/recipes-daemons/autofs/autofs/cross.patch31
1 files changed, 20 insertions, 11 deletions
diff --git a/meta-networking/recipes-daemons/autofs/autofs/cross.patch b/meta-networking/recipes-daemons/autofs/autofs/cross.patch
index 8f1af625f..b25c43f74 100644
--- a/meta-networking/recipes-daemons/autofs/autofs/cross.patch
+++ b/meta-networking/recipes-daemons/autofs/autofs/cross.patch
@@ -1,8 +1,17 @@
1Index: autofs-5.0.7/aclocal.m4 1From b9b44cd82caceeb638cc6a862b5bb90b93ad6c6a Mon Sep 17 00:00:00 2001
2=================================================================== 2From: Khem Raj <raj.khem@gmail.com>
3--- autofs-5.0.7.orig/aclocal.m4 2012-10-28 04:45:07.000000000 -0700 3Date: Sat, 5 Jan 2013 19:53:10 -0800
4+++ autofs-5.0.7/aclocal.m4 2012-10-28 10:47:53.263996910 -0700 4
5@@ -7,6 +7,8 @@ 5---
6 aclocal.m4 | 2 ++
7 configure.in | 8 ++++++--
8 2 files changed, 8 insertions(+), 2 deletions(-)
9
10diff --git a/aclocal.m4 b/aclocal.m4
11index 2115204..2a9a802 100644
12--- a/aclocal.m4
13+++ b/aclocal.m4
14@@ -7,6 +7,8 @@ dnl --------------------------------------------------------------------------
6 AC_DEFUN(AF_PATH_INCLUDE, 15 AC_DEFUN(AF_PATH_INCLUDE,
7 [AC_PATH_PROGS($1,$2,$3,$4) 16 [AC_PATH_PROGS($1,$2,$3,$4)
8 if test -n "$$1"; then 17 if test -n "$$1"; then
@@ -11,11 +20,11 @@ Index: autofs-5.0.7/aclocal.m4
11 AC_DEFINE(HAVE_$1,1,[define if you have $1]) 20 AC_DEFINE(HAVE_$1,1,[define if you have $1])
12 AC_DEFINE_UNQUOTED(PATH_$1, "$$1", [define if you have $1]) 21 AC_DEFINE_UNQUOTED(PATH_$1, "$$1", [define if you have $1])
13 HAVE_$1=1 22 HAVE_$1=1
14Index: autofs-5.0.7/configure.in 23diff --git a/configure.in b/configure.in
15=================================================================== 24index 25d7c4e..44a1c8b 100644
16--- autofs-5.0.7.orig/configure.in 2012-10-28 04:45:06.000000000 -0700 25--- a/configure.in
17+++ autofs-5.0.7/configure.in 2012-10-28 10:50:07.580000628 -0700 26+++ b/configure.in
18@@ -301,13 +301,15 @@ 27@@ -324,13 +324,15 @@ AC_PROG_CC
19 cat > pietest.c <<EOF 28 cat > pietest.c <<EOF
20 int main(void) { return 0; } 29 int main(void) { return 0; }
21 EOF 30 EOF
@@ -33,7 +42,7 @@ Index: autofs-5.0.7/configure.in
33 AC_MSG_RESULT([$gcc_supports_pie]) 42 AC_MSG_RESULT([$gcc_supports_pie])
34 if test $gcc_supports_pie = yes ; then 43 if test $gcc_supports_pie = yes ; then
35 DAEMON_CFLAGS="-fPIE" 44 DAEMON_CFLAGS="-fPIE"
36@@ -316,6 +318,8 @@ 45@@ -339,6 +341,8 @@ fi
37 rm -f pietest.c 46 rm -f pietest.c
38 AC_SUBST(DAEMON_CFLAGS) 47 AC_SUBST(DAEMON_CFLAGS)
39 AC_SUBST(DAEMON_LDFLAGS) 48 AC_SUBST(DAEMON_LDFLAGS)