summaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-daemons
diff options
context:
space:
mode:
authorSzombathelyi György <gyurco@freemail.hu>2015-06-04 21:50:09 +0200
committerJoe MacDonald <joe_macdonald@mentor.com>2015-06-05 21:09:56 -0400
commit337717b45ce601f30b67065b3f90785804c40226 (patch)
tree6fda94951efc08bccbab816b84c3f4e3b1979439 /meta-networking/recipes-daemons
parent8980f0d2a20726c9e9f7e951fca7a90896ecff31 (diff)
downloadmeta-openembedded-337717b45ce601f30b67065b3f90785804c40226.tar.gz
Fix postfix-native on Linux 4.0
Make postfix compilable on 4.0 kernel. Signed-off-by: Gyorgy Szombathelyi <gyurco@freemail.hu> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
Diffstat (limited to 'meta-networking/recipes-daemons')
-rw-r--r--meta-networking/recipes-daemons/postfix/files/makedefs.patch20
1 files changed, 8 insertions, 12 deletions
diff --git a/meta-networking/recipes-daemons/postfix/files/makedefs.patch b/meta-networking/recipes-daemons/postfix/files/makedefs.patch
index 32c31b024..ea1e994b0 100644
--- a/meta-networking/recipes-daemons/postfix/files/makedefs.patch
+++ b/meta-networking/recipes-daemons/postfix/files/makedefs.patch
@@ -10,14 +10,11 @@ for Linux2 and Linux3 systems.
10Upstreamstatus: Inappropriate [embedded specific] 10Upstreamstatus: Inappropriate [embedded specific]
11 11
12Signed-off-by: Yao Zhao <yao.zhao@windriver.com> 12Signed-off-by: Yao Zhao <yao.zhao@windriver.com>
13---
14 makedefs | 27 +++++++++++----------------
15 1 files changed, 11 insertions(+), 16 deletions(-)
16 13
17diff --git a/makedefs b/makedefs 145)add Linux 4.0 support
18index dd5f256..e6fb795 100644 15
19--- a/makedefs 16--- a/makedefs 2015-05-30 13:38:50.346033228 +0200
20+++ b/makedefs 17+++ b/makedefs 2015-05-30 13:40:19.375364795 +0200
21@@ -87,9 +87,6 @@ 18@@ -87,9 +87,6 @@
22 19
23 # Defaults for most sane systems 20 # Defaults for most sane systems
@@ -68,7 +65,7 @@ index dd5f256..e6fb795 100644
68 then 65 then
69 echo CCARGS="$CCARGS -DNO_EPOLL" 66 echo CCARGS="$CCARGS -DNO_EPOLL"
70 else 67 else
71@@ -356,8 +353,6 @@ int main(int argc, char **argv) 68@@ -356,22 +353,20 @@
72 } 69 }
73 EOF 70 EOF
74 ${CC-gcc} -o makedefs.test makedefs.test.c || exit 1 71 ${CC-gcc} -o makedefs.test makedefs.test.c || exit 1
@@ -77,7 +74,9 @@ index dd5f256..e6fb795 100644
77 rm -f makedefs.test makedefs.test.[co] 74 rm -f makedefs.test makedefs.test.[co]
78 fi;; 75 fi;;
79 esac 76 esac
80@@ -366,12 +361,12 @@ EOF 77 ;;
78- Linux.3*) SYSTYPE=LINUX3
79+ Linux.3*|Linux.4*) SYSTYPE=LINUX3
81 case "$CCARGS" in 80 case "$CCARGS" in
82 *-DNO_DB*) ;; 81 *-DNO_DB*) ;;
83 *-DHAS_DB*) ;; 82 *-DHAS_DB*) ;;
@@ -111,6 +110,3 @@ index dd5f256..e6fb795 100644
111 do 110 do
112 test -e $lib/lib$name.a -o -e $lib/lib$name.so && { 111 test -e $lib/lib$name.a -o -e $lib/lib$name.so && {
113 SYSLIBS="$SYSLIBS -l$name" 112 SYSLIBS="$SYSLIBS -l$name"
114--
1151.7.1
116