mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-02 01:50:18 +00:00
openal-soft: Update to 1.20.1
Forward port patches Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
+9
-11
@@ -13,21 +13,19 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|||||||
CMakeLists.txt | 5 ++---
|
CMakeLists.txt | 5 ++---
|
||||||
1 file changed, 2 insertions(+), 3 deletions(-)
|
1 file changed, 2 insertions(+), 3 deletions(-)
|
||||||
|
|
||||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
||||||
index 39b80250..d6bdf8ed 100644
|
|
||||||
--- a/CMakeLists.txt
|
--- a/CMakeLists.txt
|
||||||
+++ b/CMakeLists.txt
|
+++ b/CMakeLists.txt
|
||||||
@@ -1288,11 +1288,10 @@ FILE(MAKE_DIRECTORY "${NATIVE_BIN_DIR}")
|
@@ -1085,11 +1085,10 @@ ELSE()
|
||||||
SET(BIN2H_COMMAND "${NATIVE_BIN_DIR}bin2h")
|
SET(BIN2H_COMMAND "${NATIVE_BIN_DIR}/bin2h")
|
||||||
SET(BSINCGEN_COMMAND "${NATIVE_BIN_DIR}bsincgen")
|
SET(BSINCGEN_COMMAND "${NATIVE_BIN_DIR}/bsincgen")
|
||||||
ADD_CUSTOM_COMMAND(OUTPUT "${BIN2H_COMMAND}" "${BSINCGEN_COMMAND}"
|
ADD_CUSTOM_COMMAND(OUTPUT "${BIN2H_COMMAND}" "${BSINCGEN_COMMAND}"
|
||||||
- COMMAND ${CMAKE_COMMAND} -G "${CMAKE_GENERATOR}" "${NATIVE_SRC_DIR}"
|
- COMMAND ${CMAKE_COMMAND} -G "${CMAKE_GENERATOR}" "${NATIVE_SRC_DIR}"
|
||||||
COMMAND ${CMAKE_COMMAND} -E remove "${BIN2H_COMMAND}" "${BSINCGEN_COMMAND}"
|
COMMAND ${CMAKE_COMMAND} -E remove "${BIN2H_COMMAND}" "${BSINCGEN_COMMAND}"
|
||||||
- COMMAND ${CMAKE_COMMAND} --build . --config "Release"
|
- COMMAND ${CMAKE_COMMAND} --build . --config "Release"
|
||||||
+ COMMAND gcc "${NATIVE_SRC_DIR}bin2h.c" -o "${BIN2H_COMMAND}" -lm
|
+ COMMAND gcc "${NATIVE_SRC_DIR}/bin2h.c" -o "${BIN2H_COMMAND}" -lm
|
||||||
+ COMMAND gcc "${NATIVE_SRC_DIR}bsincgen.c" -o "${BSINCGEN_COMMAND}" -lm
|
+ COMMAND gcc "${NATIVE_SRC_DIR}/bsincgen.c" -o "${BSINCGEN_COMMAND}" -lm
|
||||||
WORKING_DIRECTORY "${NATIVE_BIN_DIR}"
|
WORKING_DIRECTORY "${NATIVE_BIN_DIR}"
|
||||||
- DEPENDS "${NATIVE_SRC_DIR}CMakeLists.txt"
|
- DEPENDS "${NATIVE_SRC_DIR}/CMakeLists.txt"
|
||||||
IMPLICIT_DEPENDS C "${NATIVE_SRC_DIR}bin2h.c"
|
IMPLICIT_DEPENDS
|
||||||
C "${NATIVE_SRC_DIR}bsincgen.c"
|
C "${NATIVE_SRC_DIR}/bin2h.c"
|
||||||
VERBATIM
|
C "${NATIVE_SRC_DIR}/bsincgen.c"
|
||||||
|
|||||||
+5
-7
@@ -6,14 +6,12 @@ Subject: [PATCH] makehrtf: Disable Wstringop-truncation
|
|||||||
Upstream-Status: Inappropriate [Should be fixed in code]
|
Upstream-Status: Inappropriate [Should be fixed in code]
|
||||||
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
||||||
---
|
---
|
||||||
utils/makehrtf.c | 2 ++
|
utils/makemhr/makemhr.cpp | 2 ++
|
||||||
1 file changed, 2 insertions(+)
|
1 file changed, 2 insertions(+)
|
||||||
|
|
||||||
diff --git a/utils/makehrtf.c b/utils/makehrtf.c
|
--- a/utils/makemhr/makemhr.cpp
|
||||||
index 0bd36849..0abe4252 100644
|
+++ b/utils/makemhr/makemhr.cpp
|
||||||
--- a/utils/makehrtf.c
|
@@ -161,6 +161,7 @@ enum ChannelIndex : uint {
|
||||||
+++ b/utils/makehrtf.c
|
|
||||||
@@ -862,6 +862,7 @@ static int TrReadOperator(TokenReaderT *tr, const char *op)
|
|
||||||
* pattern string are replaced with the replacement string. The result is
|
* pattern string are replaced with the replacement string. The result is
|
||||||
* truncated if necessary.
|
* truncated if necessary.
|
||||||
*/
|
*/
|
||||||
@@ -21,7 +19,7 @@ index 0bd36849..0abe4252 100644
|
|||||||
static int StrSubst(const char *in, const char *pat, const char *rep, const size_t maxLen, char *out)
|
static int StrSubst(const char *in, const char *pat, const char *rep, const size_t maxLen, char *out)
|
||||||
{
|
{
|
||||||
size_t inLen, patLen, repLen;
|
size_t inLen, patLen, repLen;
|
||||||
@@ -900,6 +901,7 @@ static int StrSubst(const char *in, const char *pat, const char *rep, const size
|
@@ -199,6 +200,7 @@ static int StrSubst(const char *in, cons
|
||||||
return !truncated;
|
return !truncated;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
+1
-2
@@ -5,8 +5,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=0f159f19f9377e1895fbb477d5a7953e"
|
|||||||
|
|
||||||
inherit cmake pkgconfig
|
inherit cmake pkgconfig
|
||||||
|
|
||||||
# openal-soft-1.19.1
|
SRCREV = "f5e0eef34db3a3ab94b61a2f99f84f078ba947e7"
|
||||||
SRCREV = "6761218e51699f46bf25c377e65b3e9ea5e434b9"
|
|
||||||
SRC_URI = "git://github.com/kcat/openal-soft \
|
SRC_URI = "git://github.com/kcat/openal-soft \
|
||||||
file://0001-Use-BUILD_CC-to-compile-native-tools.patch \
|
file://0001-Use-BUILD_CC-to-compile-native-tools.patch \
|
||||||
file://0002-makehrtf-Disable-Wstringop-truncation.patch \
|
file://0002-makehrtf-Disable-Wstringop-truncation.patch \
|
||||||
Reference in New Issue
Block a user