mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-27 20:07:25 +00:00
a1503aa0f2
Fix compile failure on host with linux 7.x | DEBUG: Executing shell function do_compile | NOTE: make -j 64 OPT= DEBUG= OPTS= makefiles | make -f Makefile.in MAKELEVEL= Makefiles | (echo "# Do not edit -- this file documents how Postfix was built for your machine."; /bin/sh makedefs) >makedefs.tmp | ATTENTION: | ATTENTION: Unknown system type: Linux 7.0.0-14-generic | ATTENTION: | make: *** [Makefile.in:33: Makefiles] Error 1 | make: *** [Makefile:22: makefiles] Error 2 | ERROR: oe_runmake failed Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
48 lines
1.3 KiB
Diff
48 lines
1.3 KiB
Diff
From 5466d510dfbc2b7a81dcf766f83d2c89066c0446 Mon Sep 17 00:00:00 2001
|
|
From: Changqing Li <changqing.li@windriver.com>
|
|
Date: Mon, 11 May 2026 18:16:07 +0000
|
|
Subject: [PATCH] makedefs: Account for linux 7.x version
|
|
|
|
Major version has bumped to 7, update the scripts
|
|
|
|
Upstream-Status: Backport [The latest stable version 3.11 already fixed]
|
|
|
|
Refer:
|
|
https://www.ftp.saix.net/MTA/postfix/index.html
|
|
|
|
Signed-off-by: Changqing Li <changqing.li@windriver.com>
|
|
---
|
|
makedefs | 2 +-
|
|
src/util/sys_defs.h | 2 +-
|
|
2 files changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
diff --git a/makedefs b/makedefs
|
|
index 74b103d..fe8c618 100644
|
|
--- a/makedefs
|
|
+++ b/makedefs
|
|
@@ -625,7 +625,7 @@ EOF
|
|
: ${SHLIB_ENV="LD_LIBRARY_PATH=`pwd`/lib"}
|
|
: ${PLUGIN_LD="${CC-gcc} -shared"}
|
|
;;
|
|
- Linux.[3456].*)
|
|
+ Linux.[34567].*)
|
|
SYSTYPE=LINUX$RELEASE_MAJOR
|
|
case "$CCARGS" in
|
|
*-DNO_DB*) ;;
|
|
diff --git a/src/util/sys_defs.h b/src/util/sys_defs.h
|
|
index 70aab23..c5472eb 100644
|
|
--- a/src/util/sys_defs.h
|
|
+++ b/src/util/sys_defs.h
|
|
@@ -763,7 +763,7 @@ extern int initgroups(const char *, int);
|
|
* LINUX.
|
|
*/
|
|
#if defined(LINUX2) || defined(LINUX3) || defined(LINUX4) || defined(LINUX5) \
|
|
- || defined(LINUX6)
|
|
+ || defined(LINUX6) || defined(LINUX7)
|
|
#define SUPPORTED
|
|
#define UINT32_TYPE unsigned int
|
|
#define UINT16_TYPE unsigned short
|
|
--
|
|
2.53.0
|
|
|