<pre style='margin:0'>
Rainer Müller (raimue) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/be266ab9ca0895669e7e3a0b6173ca822bc599a0">https://github.com/macports/macports-ports/commit/be266ab9ca0895669e7e3a0b6173ca822bc599a0</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit be266ab9ca0895669e7e3a0b6173ca822bc599a0
</span>Author: Ryan Schmidt <ryandesign@macports.org>
AuthorDate: Mon Sep 18 02:06:55 2023 -0500
<span style='display:block; white-space:pre;color:#404040;'> tagtool: Don't link with C++ library nor with zlib
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Closes: https://trac.macports.org/ticket/68184
</span>---
audio/tagtool/Portfile | 6 ++++--
audio/tagtool/files/configure.ac.patch | 24 ++++++++++++++++++++++++
2 files changed, 28 insertions(+), 2 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/audio/tagtool/Portfile b/audio/tagtool/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index ef9efa41666..cca350e3f37 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/audio/tagtool/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/audio/tagtool/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -4,7 +4,7 @@ PortSystem 1.0
</span>
name tagtool
version 0.12.3
<span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 3
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 4
</span> checksums rmd160 9f5ae223580948c403cd44d82ecef0d03040ff09 \
sha256 273f41031dd2ad80c09d1865fdc71d9052831a5ce9cd8c53705cc518a9d3d411 \
size 303743
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -26,7 +26,8 @@ homepage https://sourceforge.net/projects/tagtool/
</span> master_sites sourceforge:project/${name}/${name}/${version}
use_bzip2 yes
<span style='display:block; white-space:pre;background:#ffe0e0;'>-patchfiles patch-str_util-lp64.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles configure.ac.patch \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patch-str_util-lp64.diff
</span>
depends_build port:pkgconfig \
port:intltool
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -40,6 +41,7 @@ depends_lib port:id3lib \
</span> port:libffi
# Don't do intltool's INTLTOOL_PERL dance
<span style='display:block; white-space:pre;background:#e0ffe0;'>+# and we are patching configure.ac
</span> use_autoreconf yes
autoreconf.args -fvi
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/audio/tagtool/files/configure.ac.patch b/audio/tagtool/files/configure.ac.patch
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..e8624b96850
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/audio/tagtool/files/configure.ac.patch
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,24 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Do not link with a C++ standard library nor with zlib; tagtool does not use them.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+id3lib uses them and, of course, links with them.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- configure.ac.orig 2007-02-26 16:12:54.000000000 -0600
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ configure.ac 2023-09-18 01:57:06.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -64,19 +64,10 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ [enable_mp3=no; disable_mp3_reason="(missing id3lib headers)"])
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ fi;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if test "$enable_mp3" = "yes"; then
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- dnl Fix missing link dependencies in libid3.so (some distros have fixed
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- dnl this in their own libid3 packages, others haven't...)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- SAVE_LDFLAGS=$LDFLAGS
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- LDFLAGS="-lstdc++ -lz $LDFLAGS"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ AC_CHECK_LIB(id3, main,,
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ [enable_mp3=no; disable_mp3_reason="(missing id3 library)"])
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ AC_CHECK_LIB(id3, ID3FrameInfo_LongName,,
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ [AC_DEFINE(LIBID3_MISSING_ID3FRAMEINFO, 1, [Define to 1 if the ID3FrameInfo_* functions are missing from libid3])])
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if test "$enable_mp3" = "no"; then
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- LDFLAGS=$SAVE_LDFLAGS
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- fi;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ fi;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if test "$enable_vorbis" = "yes"; then
</span></pre><pre style='margin:0'>
</pre>