Skip to contentSkip to conversation

sox: Enable -D_FILE_OFFSET_BITS=64 and depend on libtool

PATCH New Khem Raj 1 participant 1 message Sep 12, 2022

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/1 sox: Enable -D_FILE_OFFSET_BITS=64 and depend on libtool

We use 'dyn' for plugins and the logic depends on libltdl support therefore add the missing depenendency

Fixes
| configure: error: not using libltdl; cannot load alsa dynamically | See `config.log' for more details

---
 meta-multimedia/recipes-multimedia/sox/sox_14.4.2.bb | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
meta-multimedia/recipes-multimedia/sox/sox_14.4.2.bb +4 -1
index 0791c85f74..ace8743f3a 100644
@@ -4,7 +4,7 @@ and can apply different effects and filters to the audio data."
 HOMEPAGE = "http://sox.sourceforge.net"
 SECTION = "audio"
 
-DEPENDS = "libpng ffmpeg libsndfile1"
+DEPENDS = "libpng ffmpeg libsndfile1 libtool"
 
 PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'alsa pulseaudio', d)} \
                    magic \
@@ -36,4 +36,7 @@ SRC_URI[sha256sum] = "b45f598643ffbd8e363ff24d61166ccec4836fea6d3888881b8df53e3b
 
 inherit autotools pkgconfig
 
+# Enable largefile support
+CFLAGS += "-D_FILE_OFFSET_BITS=64"
+
 EXCLUDE_FROM_WORLD = "${@bb.utils.contains("LICENSE_FLAGS_ACCEPTED", "commercial", "0", "1", d)}"
Signature · 1 line
2.37.3