diff --git a/vorbis-tools/.signature b/vorbis-tools/.signature index 5ae3a5a0d..68a69427b 100644 --- a/vorbis-tools/.signature +++ b/vorbis-tools/.signature @@ -1,5 +1,5 @@ untrusted comment: verify with /etc/ports/contrib.pub -RWSagIOpLGJF34LrnLh+ZJ6KxMtnFPb/96y/k9kL5U5BExn/wkx4iCFl8ZazpxeV/P92VHvqlDRqGnLw8BnKQCwhCbJw3MNKLQk= -SHA256 (Pkgfile) = 3003e1441cbb5c1c45117f8d475cd44b997980856227192d1f0aa1ab65253cb6 +RWSagIOpLGJF32xYNgxyUX0QoGYT2OOxMxn/laAQVcWeSlDe8hxuNO4hD+QDyt7mhPriBon6UXG32KsuXSst8oWG2U9F+myDjAQ= +SHA256 (Pkgfile) = 2cfa0d12c4df35038a5297e2d8864d877abcdc9f43f543058c9a31612f1e4c9e SHA256 (.footprint) = 55c7f9d94e91848e42d4a525310b0ea7df605fbb845be7fa9b9c6087c21986dd SHA256 (vorbis-tools-1.4.2.tar.gz) = db7774ec2bf2c939b139452183669be84fda5774d6400fc57fde37f77624f0b0 diff --git a/vorbis-tools/Pkgfile b/vorbis-tools/Pkgfile index c9bc14489..888b73850 100644 --- a/vorbis-tools/Pkgfile +++ b/vorbis-tools/Pkgfile @@ -16,6 +16,13 @@ build() { prt-get isinst libao || PKGMK_VORBISTOOLS+=(--disable-ogg123) cd $name-$version + + GCC_VER="$(gcc --version | awk '(NR==1) {print $3}')" + if [ "${GCC_VER%%.*}" -ge 14 ]; then + sed -e '30a#include "utf8.h"' -i ogginfo/codec_skeleton.c + sed -e '30a#include "charset.h"' -i share/utf8.c + fi + ./configure "${PKGMK_VORBISTOOLS[@]}" make