aboutsummaryrefslogtreecommitdiffstats
path: root/meta-networking
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
parent8980f0d2a20726c9e9f7e951fca7a90896ecff31 (diff)
downloadmeta-openembedded-contrib-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')
-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 32c31b0243..ea1e994b03 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.
Upstreamstatus: Inappropriate [embedded specific]
Signed-off-by: Yao Zhao <yao.zhao@windriver.com>
----
- makedefs | 27 +++++++++++----------------
- 1 files changed, 11 insertions(+), 16 deletions(-)
-diff --git a/makedefs b/makedefs
-index dd5f256..e6fb795 100644
---- a/makedefs
-+++ b/makedefs
+5)add Linux 4.0 support
+
+--- a/makedefs 2015-05-30 13:38:50.346033228 +0200
++++ b/makedefs 2015-05-30 13:40:19.375364795 +0200
@@ -87,9 +87,6 @@
# Defaults for most sane systems
@@ -68,7 +65,7 @@ index dd5f256..e6fb795 100644
then
echo CCARGS="$CCARGS -DNO_EPOLL"
else
-@@ -356,8 +353,6 @@ int main(int argc, char **argv)
+@@ -356,22 +353,20 @@
}
EOF
${CC-gcc} -o makedefs.test makedefs.test.c || exit 1
@@ -77,7 +74,9 @@ index dd5f256..e6fb795 100644
rm -f makedefs.test makedefs.test.[co]
fi;;
esac
-@@ -366,12 +361,12 @@ EOF
+ ;;
+- Linux.3*) SYSTYPE=LINUX3
++ Linux.3*|Linux.4*) SYSTYPE=LINUX3
case "$CCARGS" in
*-DNO_DB*) ;;
*-DHAS_DB*) ;;
@@ -111,6 +110,3 @@ index dd5f256..e6fb795 100644
do
test -e $lib/lib$name.a -o -e $lib/lib$name.so && {
SYSLIBS="$SYSLIBS -l$name"
---
-1.7.1
-