diff --git a/audio/cmus/files/patch-configure b/audio/cmus/files/patch-configure deleted file mode 100644 index ee957c751f73..000000000000 --- a/audio/cmus/files/patch-configure +++ /dev/null @@ -1,11 +0,0 @@ ---- configure.orig 2022-05-09 00:59:25 UTC -+++ configure -@@ -229,7 +229,7 @@ check_flac() - - check_mad() - { -- pkg_config MAD "mad" "" "-lmad -lm" -+ pkg_config MAD "libmad" "" "-lmad -lm" - return $? - } - diff --git a/audio/qtractor/files/patch-CMakeLists.txt b/audio/qtractor/files/patch-CMakeLists.txt index cf20ce0b7935..8a466b19ee5d 100644 --- a/audio/qtractor/files/patch-CMakeLists.txt +++ b/audio/qtractor/files/patch-CMakeLists.txt @@ -1,20 +1,11 @@ --- CMakeLists.txt.orig 2022-09-01 16:15:02 UTC +++ CMakeLists.txt @@ -201,7 +201,7 @@ endif () # Check for Qt... if (CONFIG_QT6) - find_package (Qt6 QUIET) + find_package (Qt6 REQUIRED QUIET) if (NOT Qt6_FOUND) set (CONFIG_QT6 0) endif () -@@ -385,7 +385,7 @@ endif () - - # Check for MAD libraries. - if (CONFIG_LIBMAD) -- pkg_check_modules (MAD IMPORTED_TARGET mad) -+ pkg_check_modules (MAD IMPORTED_TARGET libmad) - if (NOT MAD_FOUND) - message (WARNING "*** MAD library not found.") - set (CONFIG_LIBMAD 0) diff --git a/audio/sonic-visualiser/files/patch-configure.ac b/audio/sonic-visualiser/files/patch-configure.ac index 3efda3765b36..657ce488d309 100644 --- a/audio/sonic-visualiser/files/patch-configure.ac +++ b/audio/sonic-visualiser/files/patch-configure.ac @@ -1,34 +1,29 @@ --- configure.ac.orig 2019-12-10 09:29:11 UTC +++ configure.ac -@@ -123,12 +123,12 @@ SV_MODULE_OPTIONAL([libpulse],[libpulse >= 0.9],[pulse - SV_MODULE_REQUIRED([lrdf],[lrdf >= 0.2],[lrdf.h],[lrdf],[lrdf_init]) - SV_MODULE_REQUIRED([oggz],[oggz >= 1.0.0],[oggz/oggz.h],[oggz],[oggz_run]) - SV_MODULE_REQUIRED([fishsound],[fishsound >= 1.0.0],[fishsound/fishsound.h],[fishsound],[fish_sound_new]) --SV_MODULE_REQUIRED([mad],[mad >= 0.15.0],[mad.h],[mad],[mad_decoder_init]) -+SV_MODULE_REQUIRED([mad],[libmad >= 0.15.0],[mad.h],[mad],[mad_decoder_init]) +@@ -127,8 +127,8 @@ SV_MODULE_REQUIRED([opus],[opusfile],[opus/opusfile.h] SV_MODULE_REQUIRED([id3tag],[id3tag >= 0.15.0],[id3tag.h],[id3tag],[id3_tag_new]) SV_MODULE_REQUIRED([opus],[opusfile],[opus/opusfile.h],[opusfile],[op_read_float]) -# Link in -lX11 if it exists -- this is for the X error handler -SV_MODULE_OPTIONAL([X11],[x11 >= 1.0.0],[X11/X.h],[x11],[XGetErrorText]) +# Link in -lX11 -- this is for the X error handler +SV_MODULE_REQUIRED([X11],[x11 >= 1.0.0],[X11/X.h],[x11],[XGetErrorText]) AC_SUBST(PERL) AC_SUBST(XARGS) -@@ -154,6 +154,7 @@ AC_CONFIG_FILES([config.pri]) +@@ -154,6 +154,7 @@ AC_OUTPUT AC_OUTPUT +if false; then if test -x repoint ; then if test -d .hg -o -d .git ; then if ! ./repoint install; then @@ -170,6 +171,7 @@ else if ! test -d vamp-plugin-sdk ; then AC_MSG_WARN([No vamp-plugin-sdk directory present, so external components might not have been updated]) fi +fi fi if ! $QMAKE -r sonic-visualiser.pro; then diff --git a/multimedia/dvbcut/files/patch-src_dvbcut.pro b/multimedia/dvbcut/files/patch-src_dvbcut.pro deleted file mode 100644 index e5f2540f027a..000000000000 --- a/multimedia/dvbcut/files/patch-src_dvbcut.pro +++ /dev/null @@ -1,14 +0,0 @@ ---- src/dvbcut.pro.orig 2018-08-19 23:08:52 UTC -+++ src/dvbcut.pro -@@ -112,9 +112,9 @@ system(pkg-config --exists ao) { - PKGCONFIG += ao - } else { error(Please install development package libao-dev) } - --system(pkg-config --exists mad) { -+system(pkg-config --exists libmad) { - QMAKE_CXXFLAGS += -DHAVE_LIB_MAD -- PKGCONFIG += mad -+ PKGCONFIG += libmad - } else { error(Please install development package libmad0-dev) } - - QMAKE_CXXFLAGS += -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -D_FILE_OFFSET_BITS=64 diff --git a/multimedia/libxine/files/patch-configure b/multimedia/libxine/files/patch-configure index 5ef94ba0253e..05d52d8a2e80 100644 --- a/multimedia/libxine/files/patch-configure +++ b/multimedia/libxine/files/patch-configure @@ -1,73 +1,29 @@ --- configure.orig 2022-03-09 13:16:43 UTC +++ configure @@ -21806,7 +21806,7 @@ $as_echo "#define ARCH_X86_X32 /**/" >>confdefs.h ;; - x86_64-*) + x86_64-*|amd64-*) arch_x86=64 @@ -22270,7 +22270,7 @@ fi if test "$sarchopt" != "no"; then case "$host_or_hostalias" in - i386-*) archopt_val="i386" ;; + i386-*) ;; i486-*) archopt_val="i486" ;; i586-*) archopt_val="pentium" ;; pentium-mmx-*) archopt_val="pentium-mmx" ;; @@ -29561,7 +29561,7 @@ fi if test x"$enable_dvb" != x"no"; then case "$host_os" in - linux*) have_dvb=yes ;; + linux*|freebsd*) have_dvb=yes ;; *) have_dvb=no ;; esac if test x"$hard_enable_dvb" = x"yes" && test x"$have_dvb" != x"yes"; then -@@ -32826,12 +32826,12 @@ if test -n "$PKG_CONFIG"; then - pkg_cv_LIBMAD_CFLAGS="$LIBMAD_CFLAGS" - else - if test -n "$PKG_CONFIG" && \ -- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"mad\""; } >&5 -- ($PKG_CONFIG --exists --print-errors "mad") 2>&5 -+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libmad\""; } >&5 -+ ($PKG_CONFIG --exists --print-errors "libmad") 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; }; then -- pkg_cv_LIBMAD_CFLAGS=`$PKG_CONFIG --cflags "mad" 2>/dev/null` -+ pkg_cv_LIBMAD_CFLAGS=`$PKG_CONFIG --cflags "libmad" 2>/dev/null` - else - pkg_failed=yes - fi -@@ -32844,12 +32844,12 @@ if test -n "$PKG_CONFIG"; then - pkg_cv_LIBMAD_LIBS="$LIBMAD_LIBS" - else - if test -n "$PKG_CONFIG" && \ -- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"mad\""; } >&5 -- ($PKG_CONFIG --exists --print-errors "mad") 2>&5 -+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libmad\""; } >&5 -+ ($PKG_CONFIG --exists --print-errors "libmad") 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; }; then -- pkg_cv_LIBMAD_LIBS=`$PKG_CONFIG --libs "mad" 2>/dev/null` -+ pkg_cv_LIBMAD_LIBS=`$PKG_CONFIG --libs "libmad" 2>/dev/null` - else - pkg_failed=yes - fi -@@ -32868,9 +32868,9 @@ else - _pkg_short_errors_supported=no - fi - if test $_pkg_short_errors_supported = yes; then -- LIBMAD_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "mad"` -+ LIBMAD_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libmad"` - else -- LIBMAD_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "mad"` -+ LIBMAD_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libmad"` - fi - # Put the nasty error message in config.log where it belongs - echo "$LIBMAD_PKG_ERRORS" >&5 diff --git a/sysutils/cdrdao/files/patch-configure.ac b/sysutils/cdrdao/files/patch-configure.ac index 62cbaebf259f..0c886722dd1e 100644 --- a/sysutils/cdrdao/files/patch-configure.ac +++ b/sysutils/cdrdao/files/patch-configure.ac @@ -1,48 +1,29 @@ Remove redundant check for libao which causes it to always be required even if mp3 and ogg support are disabled. -Temporarily support either mad.pc or libmad.pc to prevent breakage with future -versions of libmad. After libmad 0.16.3, new upstream renamed the pkgconfig -file to mad.pc [1], assumingly to conform to what we and most of the Linux -packagers decided upon almost 9 years ago [2], as the original libmad never -had a pkgconfig file. - -[1] https://codeberg.org/tenacityteam/libmad/commit/486e615d4d8aab5b426d8b82b7dfa9867f0b2146 -[2] https://cgit.freebsd.org/ports/commit/audio/libmad?id=d52971d56c7520e7b8af206bc70e05cceed295a5 - --- configure.ac.orig 2023-02-03 14:46:06 UTC +++ configure.ac @@ -314,8 +314,10 @@ dnl Check for libao esac dnl Check for libao +if test "$with_mp3_support" = yes || test "$with_ogg_support" = yes || test "$en_gcdmaster" = yes; then PKG_CHECK_MODULES(AO, ao >= 0.8, [AC_DEFINE(HAVE_AO,1,"")], [echo "gcdmaster, MP3 and Ogg support disabled"; en_gcdmaster=no; with_ogg_support=no; with_mp3_support=no]) +fi dnl Check for OGG support if test "$with_ogg_support" = yes; then -@@ -326,7 +328,8 @@ if test "$with_mp3_support" = yes; then - dnl Check for MP3 support - if test "$with_mp3_support" = yes; then - PKG_CHECK_MODULES(MAD, mad >= 0.10, [], -- [echo "libMAD detection via pkg-config failed"; with_mp3_support=no]) -+ [PKG_CHECK_MODULES(MAD, libmad >= 0.10, [], -+ [echo "libMAD detection via pkg-config failed"; with_mp3_support=no])]) - if test "$with_mp3_support" = no; then - AC_CHECK_LIB(mad, mad_stream_init, [AC_CHECK_HEADER([mad.h])]) - if test "$ac_cv_lib_mad_mad_stream_init" = yes; then -@@ -339,12 +342,6 @@ if test "$with_mp3_support" = yes; then +@@ -339,12 +341,6 @@ if test "$with_mp3_support" = yes; then echo "MP3 support disabled"; with_mp3_support=no fi fi -fi - -dnl Check for libao support -if test "$with_mp3_support" = yes || test "$with_ogg_support" = yes || test "$en_gcdmaster" = yes; then -PKG_CHECK_MODULES(AO, ao >= 0.8, [AC_DEFINE(HAVE_AO,1,"")], - [echo "Building of gcdmaster disabled"; en_gcdmaster=no]) fi if test "$with_ogg_support" = yes; then diff --git a/sysutils/mtpfs/files/patch-configure.ac b/sysutils/mtpfs/files/patch-configure.ac deleted file mode 100644 index a6bbcdd5db1a..000000000000 --- a/sysutils/mtpfs/files/patch-configure.ac +++ /dev/null @@ -1,11 +0,0 @@ ---- configure.ac.orig 2022-05-06 23:16:39 UTC -+++ configure.ac -@@ -22,7 +22,7 @@ AC_ARG_ENABLE([mad], - [AS_HELP_STRING([--disable-mad], [disable libmad handling of mp3 files])]) - - AS_IF([test "x$enable_mad" != "xno"] , [ -- PKG_CHECK_MODULES(MAD, mad >= 0.15 \ -+ PKG_CHECK_MODULES(MAD, libmad >= 0.15 \ - id3tag >= 0.15) - AC_SUBST(MAD_CFLAGS) - AC_SUBST(MAD_LIBS)