Skip to contentSkip to conversation

hevc-arm-decoder: Update for gcc v14 support

PATCH New Ryan Eatmon 1 participant 2 messages Jun 4, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 hevc-arm-decoder: Update for gcc v14 support

One of the changes in gcc v14 is making implicit-function-declaration an error. For some older software packages the easiest fix is to add -fpermissive to the compile line.

---
 .../recipes-multimedia/hevc-arm-decoder/hevc-arm-decoder_git.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-arago-extras/recipes-multimedia/hevc-arm-decoder/hevc-arm-decoder_git.bb +1 -1
index 3bcd6c7f..4d89818f 100644
@@ -24,7 +24,7 @@ do_configure() {
 
 do_compile() {
     cd ${S}/Client/Build/ARM
-    oe_runmake CC="${CC}" LINKER="${CC}"
+    oe_runmake CC="${CC} -fpermissive" LINKER="${CC}"
 }
 
 do_install() {
Signature · 1 line
2.17.1
#1 lore raw

PATCH 2/2 hevc-arm-decoder: Update to UNPACKDIR for files going into WORKDIR

For recipes that have file:// in SRC_URI, the files are placed into WORKDIR. Moving forward [1], that directory will be UNPACKDIR and eventually move to somewhere other than WORKDIR. So update all references to WORKDIR that are looking for these file to use UNPACKDIR instead.

[1] https://git.openembedded.org/openembedded-core/commit/?id=e022d62ba917790af2121da57646271ef17c03fa

---
 .../recipes-multimedia/hevc-arm-decoder/hevc-arm-decoder_git.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-arago-extras/recipes-multimedia/hevc-arm-decoder/hevc-arm-decoder_git.bb +1 -1
index 4d89818f..6420f693 100644
@@ -38,7 +38,7 @@ do_install() {
     install -m 755 ${S}/Client/Build/ARM/Out/h265vdec_pp ${D}${bindir}
 
     install -d ${D}${datadir}/ti/examples/h265vdec
-    install -m 644 ${WORKDIR}/Testparams.cfg ${D}${datadir}/ti/examples/h265vdec
+    install -m 644 ${UNPACKDIR}/Testparams.cfg ${D}${datadir}/ti/examples/h265vdec
 
     install -d ${D}${docdir}/${PN}
     for doc in ${S}/Docs/*; do
Signature · 1 line
2.17.1