commit: b99810ec684151e2e3a909caa1fe2a1600992c2d Author: Daniel Pielmeier <billie <AT> gentoo <DOT> org> AuthorDate: Sun Apr 6 06:47:48 2025 +0000 Commit: Daniel Pielmeier <billie <AT> gentoo <DOT> org> CommitDate: Sun Apr 6 06:47:48 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b99810ec
media-sound/mac/files: Add missing patches Closes: https://bugs.gentoo.org/953233 Signed-off-by: Daniel Pielmeier <billie <AT> gentoo.org> media-sound/mac/files/mac-11.02-linux.patch | 24 ++++++++++++++++ media-sound/mac/files/mac-11.02-output.patch | 43 ++++++++++++++++++++++++++++ 2 files changed, 67 insertions(+) diff --git a/media-sound/mac/files/mac-11.02-linux.patch b/media-sound/mac/files/mac-11.02-linux.patch new file mode 100644 index 000000000000..efa99d7609eb --- /dev/null +++ b/media-sound/mac/files/mac-11.02-linux.patch @@ -0,0 +1,24 @@ +diff '--color=auto' -Naur mac-11.02_orig/Shared/All.h mac-11.02/Shared/All.h +--- mac-11.02_orig/Shared/All.h 2025-04-05 12:05:08.846377914 +0200 ++++ mac-11.02/Shared/All.h 2025-04-05 12:05:42.068980250 +0200 +@@ -11,7 +11,7 @@ + **************************************************************************************************/ + #if !defined(PLATFORM_WINDOWS) && !defined(PLATFORM_APPLE) && !defined(PLATFORM_LINUX) && !defined(PLATFORM_ANDROID) + #pragma message("No platform set for MACLib, defaulting to Windows") +- #define PLATFORM_WINDOWS ++ #define PLATFORM_LINUX + #endif + + #ifdef PLATFORM_ANDROID +diff '--color=auto' -Naur mac-11.02_orig/Source/Shared/All.h mac-11.02/Source/Shared/All.h +--- mac-11.02_orig/Source/Shared/All.h 2025-04-05 12:05:08.853381414 +0200 ++++ mac-11.02/Source/Shared/All.h 2025-04-05 12:05:44.045968210 +0200 +@@ -11,7 +11,7 @@ + **************************************************************************************************/ + #if !defined(PLATFORM_WINDOWS) && !defined(PLATFORM_APPLE) && !defined(PLATFORM_LINUX) && !defined(PLATFORM_ANDROID) + #pragma message("No platform set for MACLib, defaulting to Windows") +- #define PLATFORM_WINDOWS ++ #define PLATFORM_LINUX + #endif + + #ifdef PLATFORM_ANDROID diff --git a/media-sound/mac/files/mac-11.02-output.patch b/media-sound/mac/files/mac-11.02-output.patch new file mode 100644 index 000000000000..e4e58fc01b2a --- /dev/null +++ b/media-sound/mac/files/mac-11.02-output.patch @@ -0,0 +1,43 @@ +diff '--color=auto' -Naur mac-11.02_orig/Source/Console/Console.cpp mac-11.02/Source/Console/Console.cpp +--- mac-11.02_orig/Source/Console/Console.cpp 2025-04-05 12:09:20.941357361 +0200 ++++ mac-11.02/Source/Console/Console.cpp 2025-04-05 12:11:09.272493708 +0200 +@@ -68,7 +68,7 @@ + **************************************************************************************************/ + static void DisplayProperUsage(FILE * pFile) + { +- fwprintf(pFile, L"Proper Usage: [EXE] [Input File] [Output File] [Mode]\n\n"); ++ fwprintf(pFile, L"Proper Usage: [mac] [Input File] [Output File] [Mode]\n\n"); + + fwprintf(pFile, L"Modes:\n"); + fwprintf(pFile, L" Compress (fast): '-c1000'\n"); +@@ -88,18 +88,18 @@ + fwprintf(pFile, L" Set the number of threads when compressing or decompressing: -threads=#'\n\n"); + + fwprintf(pFile, L"Examples:\n"); +- fwprintf(pFile, L" Compress: mac.exe \"Metallica - One.wav\" \"Metallica - One.ape\" -c2000\n"); +- fwprintf(pFile, L" Compress: mac.exe \"Metallica - One.wav\" \"Metallica - One.ape\" -c2000 -threads=16 -t \"Artist=Metallica|Album=Black|Name=One\"\n"); +- fwprintf(pFile, L" Compress: mac.exe \"Metallica - One.wav\" \"Metallica - One.ape\" -c2000 -t \"Artist=Metallica|Album=Black|Name=One\"\n"); +- fwprintf(pFile, L" Compress: mac.exe \"Metallica - One.wav\" auto -c2000\n"); +- fwprintf(pFile, L" Transcode from pipe: ffmpeg.exe -i \"Metallica - One.flac\" -f wav - | mac.exe - \"Metallica - One.ape\" -c2000\n"); +- fwprintf(pFile, L" Decompress: mac.exe \"Metallica - One.ape\" \"Metallica - One.wav\" -d\n"); +- fwprintf(pFile, L" Decompress: mac.exe \"Metallica - One.ape\" auto -d\n"); +- fwprintf(pFile, L" Decompress: mac.exe \"Metallica - One.ape\" \"Metallica - One.wav\" -d -threads=16\n"); +- fwprintf(pFile, L" Verify: mac.exe \"Metallica - One.ape\" -v\n"); +- fwprintf(pFile, L" Full Verify: mac.exe \"Metallica - One.ape\" -V\n"); +- fwprintf(pFile, L" Tag: mac.exe \"Metallica - One.ape\" -t \"Artist=Metallica|Album=Black|Name=One|Comment=\\\"This is in quotes\\\"\"\n"); +- fwprintf(pFile, L" Remove tag: mac.exe \"Metallica - One.ape\" -r\n"); ++ fwprintf(pFile, L" Compress: mac \"Metallica - One.wav\" \"Metallica - One.ape\" -c2000\n"); ++ fwprintf(pFile, L" Compress: mac \"Metallica - One.wav\" \"Metallica - One.ape\" -c2000 -threads=16 -t \"Artist=Metallica|Album=Black|Name=One\"\n"); ++ fwprintf(pFile, L" Compress: mac \"Metallica - One.wav\" \"Metallica - One.ape\" -c2000 -t \"Artist=Metallica|Album=Black|Name=One\"\n"); ++ fwprintf(pFile, L" Compress: mac \"Metallica - One.wav\" auto -c2000\n"); ++ fwprintf(pFile, L" Transcode from pipe: ffmpeg -i \"Metallica - One.flac\" -f wav - | mac - \"Metallica - One.ape\" -c2000\n"); ++ fwprintf(pFile, L" Decompress: mac \"Metallica - One.ape\" \"Metallica - One.wav\" -d\n"); ++ fwprintf(pFile, L" Decompress: mac \"Metallica - One.ape\" auto -d\n"); ++ fwprintf(pFile, L" Decompress: mac \"Metallica - One.ape\" \"Metallica - One.wav\" -d -threads=16\n"); ++ fwprintf(pFile, L" Verify: mac \"Metallica - One.ape\" -v\n"); ++ fwprintf(pFile, L" Full Verify: mac \"Metallica - One.ape\" -V\n"); ++ fwprintf(pFile, L" Tag: mac \"Metallica - One.ape\" -t \"Artist=Metallica|Album=Black|Name=One|Comment=\\\"This is in quotes\\\"\"\n"); ++ fwprintf(pFile, L" Remove tag: mac \"Metallica - One.ape\" -r\n"); + } + + /**************************************************************************************************
