[vlc-commits] [Git][videolan/vlc][master] contrib: fix cddb mistakenly depending on iconv
Steve Lhomme (@robUx4)
gitlab at videolan.org
Wed Mar 26 07:52:16 UTC 2025
Steve Lhomme pushed to branch master at VideoLAN / VLC
Commits:
9cff68f0 by Marvin Scholz at 2025-03-26T06:52:37+00:00
contrib: fix cddb mistakenly depending on iconv
Currently there are two issues here, one hiding the other:
- The sed pattern is wrong, causing it to not match due to leading
spaces.
- The replacement for the second sed pattern is wrong, not removing
the @LIBICONV@, causing it to be present in the generated .pc, but
due to the previous issue, this was hidden as the iconv detection was
never actually removed.
This issue only rarely manifested, as we also build iconv in contribs,
so it was totally depending on build order if this caused any issue or
not.
- - - - -
1 changed file:
- contrib/src/cddb/rules.mak
Changes:
=====================================
contrib/src/cddb/rules.mak
=====================================
@@ -26,9 +26,9 @@ cddb: libcddb-$(CDDB_VERSION).tar.bz2 .sum-cddb
$(APPLY) $(SRC)/cddb/no-gettext.patch
# Avoid relying on iconv.m4 from gettext, when reconfiguring.
# This is only used by the frontend which we disable.
- sed -i.orig 's/^AM_ICONV/#&/' $(UNPACK_DIR)/configure.ac
+ sed -i.orig 's/^[[:blank:]]*AM_ICONV/#&/' $(UNPACK_DIR)/configure.ac
# add internal dependencies
- sed -i.orig 's/-lcddb @LIBICONV@/-lcddb @LIBICONV@ @LIBS@/' $(UNPACK_DIR)/libcddb.pc.in
+ sed -i.orig 's/-lcddb @LIBICONV@/-lcddb @LIBS@/' $(UNPACK_DIR)/libcddb.pc.in
$(MOVE)
DEPS_cddb = regex $(DEPS_regex)
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/9cff68f0c37e42820b91b33d33f47827830c9b15
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/9cff68f0c37e42820b91b33d33f47827830c9b15
You're receiving this email because of your account on code.videolan.org.
VideoLAN code repository instance
More information about the vlc-commits
mailing list