pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/audio/mp3check



Module Name:    pkgsrc
Committed By:   nia
Date:           Sat Dec 20 20:40:05 UTC 2025

Modified Files:
        pkgsrc/audio/mp3check: Makefile distinfo
Added Files:
        pkgsrc/audio/mp3check/patches: patch-Makefile

Log Message:
mp3check: Fix build with GCC 12 and newer.

As a nice side effect, also honour the user's compilation settings.


To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.24 pkgsrc/audio/mp3check/Makefile
cvs rdiff -u -r1.14 -r1.15 pkgsrc/audio/mp3check/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/audio/mp3check/patches/patch-Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/audio/mp3check/Makefile
diff -u pkgsrc/audio/mp3check/Makefile:1.23 pkgsrc/audio/mp3check/Makefile:1.24
--- pkgsrc/audio/mp3check/Makefile:1.23 Fri Dec 15 17:58:52 2023
+++ pkgsrc/audio/mp3check/Makefile      Sat Dec 20 20:40:05 2025
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.23 2023/12/15 17:58:52 zafer Exp $
+# $NetBSD: Makefile,v 1.24 2025/12/20 20:40:05 nia Exp $
 
 DISTNAME=      mp3check-0.8.7
 CATEGORIES=    audio
@@ -19,6 +19,8 @@ BUILD_TARGET= mp3check
 # Fails with C++14 default language.
 FORCE_CXX_STD= c++03
 
+CXXFLAGS+=     -fpermissive
+
 INSTALLATION_DIRS=     bin ${PKGMANDIR}/man1
 
 do-install:

Index: pkgsrc/audio/mp3check/distinfo
diff -u pkgsrc/audio/mp3check/distinfo:1.14 pkgsrc/audio/mp3check/distinfo:1.15
--- pkgsrc/audio/mp3check/distinfo:1.14 Tue Oct 26 09:59:14 2021
+++ pkgsrc/audio/mp3check/distinfo      Sat Dec 20 20:40:05 2025
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.14 2021/10/26 09:59:14 nia Exp $
+$NetBSD: distinfo,v 1.15 2025/12/20 20:40:05 nia Exp $
 
 BLAKE2s (mp3check-0.8.7.tgz) = 3449ea528ce91d01c9a3cd6b9ce4e1f9f213b724ca0eeba3fde5821d73412faf
 SHA512 (mp3check-0.8.7.tgz) = 5b5c9bde0cc7fd9dc02de53e4ccc3e403001547c06121be57f8f693b9224302d24f0c84f928b329b0f69c67dd4fb51fa3b60368f57a9446476d8344417bd09fd
 Size (mp3check-0.8.7.tgz) = 71629 bytes
+SHA1 (patch-Makefile) = 0f5c94e6dc2825f70fc30079cc30f6333550ded9
 SHA1 (patch-aa) = b5eccef8ae3ccccbfe7fd54ae3bc3b6a15e7f614
 SHA1 (patch-ae) = 45e1a74fd38fe3413faa85909878a896ddd87620

Added files:

Index: pkgsrc/audio/mp3check/patches/patch-Makefile
diff -u /dev/null pkgsrc/audio/mp3check/patches/patch-Makefile:1.1
--- /dev/null   Sat Dec 20 20:40:05 2025
+++ pkgsrc/audio/mp3check/patches/patch-Makefile        Sat Dec 20 20:40:05 2025
@@ -0,0 +1,18 @@
+$NetBSD: patch-Makefile,v 1.1 2025/12/20 20:40:05 nia Exp $
+
+Honour environment variables from infrastructure.
+
+--- Makefile.orig      2012-06-04 22:33:07.000000000 +0000
++++ Makefile
+@@ -5,9 +5,8 @@ OPT =
+ WARN = -Wall -W -g
+ #OPT = -O2
+ OPT =
+-CPPFLAGS = $(ADDITIONAL_CPPFLAGS)
+-CXXFLAGS = $(WARN) $(OPT)
+-CXX = g++
++CPPFLAGS += $(ADDITIONAL_CPPFLAGS)
++CXXFLAGS += $(WARN) $(OPT)
+ CC = $(CXX)
+ 
+ # --- default target



Home | Main Index | Thread Index | Old Index