spandsp: Update to tip of trunk
PATCH 1/1 spandsp: Update to tip of trunk
New clang needs fixes which are in upstream tip, secondly refresh the patches to work with latest code
Signed-off-by Khem Raj <[email protected]>
---
...-manual-search-for-libxml-by-AC_CHE.patch} | 20 +++----
...PROG_CC_FOR_BUILD-for-cross-compili.patch} | 56 +++++++++----------
.../recipes-multimedia/spandsp/spandsp_git.bb | 7 +--
3 files changed, 39 insertions(+), 44 deletions(-)
rename meta-multimedia/recipes-multimedia/spandsp/spandsp/{configure.patch => 0001-configure-Replace-manual-search-for-libxml-by-AC_CHE.patch} (84%)
rename meta-multimedia/recipes-multimedia/spandsp/spandsp/{makefile.patch => 0002-configure-Use-AX_PROG_CC_FOR_BUILD-for-cross-compili.patch} (91%)meta-multimedia/recipes-multimedia/spandsp/spandsp/0001-configure-Replace-manual-search-for-libxml-by-AC_CHE.patch renamed from meta-multimedia/recipes-multimedia/spandsp/spandsp/configure.patch +8 -12
@@ -1,6 +1,7 @@ +From 62791a5d2532644c401060b6d49c84bee83f953c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Sommer?= <[email protected]> Date: Thu, 14 Mar 2024 09:41:57 +0100 -Subject: [PATCH 2/2] configure: Replace manual search for libxml by +Subject: [PATCH 1/2] configure: Replace manual search for libxml by AC_CHECK_LIB MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8
@@ -9,22 +10,20 @@ Content-Transfer-Encoding: 8bit The manual search fails if the include directories (and build environment) are located somewhere else. +Upstream-Status: Submitted [https://github.com/freeswitch/spandsp/pull/109] Signed-off-by: Jörg Sommer <[email protected]> -Upstream-Status: Submitted [https://github.com/freeswitch/spandsp/pull/74] +Signed-off-by: Khem Raj <[email protected]> --- - -ERROR: spandsp-3.0.0+git-r0 do_configure: QA Issue: This autoconf log indicates errors, it looked at host include and/or library paths while determining system capabilities. - configure.ac | 22 +++++----------------- 1 file changed, 5 insertions(+), 17 deletions(-) diff --git a/configure.ac b/configure.ac -index 2140837..b5138d6 100644 +index fa87245..bc40690 100644 --- a/configure.ac +++ b/configure.ac -@@ -185,23 +185,11 @@ then +@@ -232,23 +232,11 @@ then fi - + # Determine XML2 include path -AC_MSG_CHECKING(for libxml/xmlmemory.h) -
@@ -49,8 +48,5 @@ index 2140837..b5138d6 100644 +else + AC_MSG_WARN([libxml2 not found. Disabling cache.]) fi - - AC_CHECK_HEADERS([libxml/xmlmemory.h]) --- -2.34.1 + AC_CHECK_HEADERS([libxml/xmlmemory.h])
meta-multimedia/recipes-multimedia/spandsp/spandsp/0002-configure-Use-AX_PROG_CC_FOR_BUILD-for-cross-compili.patch renamed from meta-multimedia/recipes-multimedia/spandsp/spandsp/makefile.patch +28 -28
140 lines not on this page · raw message
meta-multimedia/recipes-multimedia/spandsp/spandsp_git.bb +3 -4
@@ -20,14 +20,13 @@ PV = "3.0.0+git" SRC_URI = "\ git://github.com/freeswitch/spandsp.git;protocol=https;branch=master \ - file://configure.patch \ - file://makefile.patch \ + file://0001-configure-Replace-manual-search-for-libxml-by-AC_CHE.patch \ + file://0002-configure-Use-AX_PROG_CC_FOR_BUILD-for-cross-compili.patch \ " # Fails to build with Clang since 5394b2cae6c482ccb835335b769469977e6802ae # https://github.com/freeswitch/spandsp/issues/67 # https://lists.openembedded.org/g/openembedded-devel/message/109325 -SRCREV = "df1282eb9af538ab1aadb6d66146e258451d4fe4" - +SRCREV = "797760168945c96e91af55bde9d4edaea2e654f9" inherit autotools