Skip to contentSkip to conversation

gpgme: Reset ac_cv_sys_file_offset_bits on musl

PATCH New Khem Raj 1 participant 2 messages Apr 5, 2023

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/2 gpgme: Reset ac_cv_sys_file_offset_bits on musl

This is required to nullify whats passed from cached site file musl-common

---
 meta/recipes-support/gpgme/gpgme_1.18.0.bb | 2 ++
 1 file changed, 2 insertions(+)
meta/recipes-support/gpgme/gpgme_1.18.0.bb +2 -0
index 1a7a21f7cc..6ec3090cf9 100644
@@ -70,6 +70,8 @@ FILES:python3-gpg = "${PYTHON_SITEPACKAGES_DIR}/*"
 FILES:${PN}-dev += "${datadir}/common-lisp/source/gpgme/*"
 
 CFLAGS:append:libc-musl = " -D__error_t_defined "
+CACHED_CONFIGUREVARS:libc-musl = "ac_cv_sys_file_offset_bits=no"
+
 do_configure:prepend () {
 	# Else these could be used in preference to those in aclocal-copy
 	rm -f ${S}/m4/gpg-error.m4
Signature · 1 line
2.40.0
author
#1 lore raw

PATCH 2/2 mpg123: Reset ac_cv_sys_file_offset_bits on musl

This is required to nullify whats passed from cached site file musl-common

---
 meta/recipes-multimedia/mpg123/mpg123_1.31.2.bb | 2 ++
 1 file changed, 2 insertions(+)
meta/recipes-multimedia/mpg123/mpg123_1.31.2.bb +2 -0
index 0a2d870cfa..58bd172329 100644
@@ -35,6 +35,8 @@ PACKAGECONFIG[sdl] = ",,libsdl2"
 AUDIOMODS += "${@bb.utils.filter('PACKAGECONFIG', 'alsa esd jack openal portaudio sdl', d)}"
 AUDIOMODS += "${@bb.utils.contains('PACKAGECONFIG', 'pulseaudio', 'pulse', '', d)}"
 
+CACHED_CONFIGUREVARS:libc-musl = "ac_cv_sys_file_offset_bits=no"
+
 EXTRA_OECONF = " \
     --enable-shared \
     --enable-largefile \
Signature · 1 line
2.40.0