mirror of
https://git.freebsd.org/ports.git
synced 2025-06-30 00:50:29 -04:00
It contain a library and an executable compressor/decompressor of .ape files. Does not build under 4.x, we hit the wall with missing wcstol(). Working patches would be welcomed. PR: ports/70153 Submitted by: Martin Dieringer <Martin.Dieringer@t-online.de>
20 lines
812 B
C++
20 lines
812 B
C++
--- src/MACLib/MACLib.cpp.orig Wed May 12 08:56:22 2004
|
|
+++ src/MACLib/MACLib.cpp Mon Aug 9 20:27:19 2004
|
|
@@ -62,7 +62,7 @@
|
|
pExtension--;
|
|
|
|
// take the appropriate action (based on the extension)
|
|
- if (wcsicmp(pExtension, L".apl") == 0)
|
|
+ if (wcscmp(pExtension, L".apl") == 0)
|
|
{
|
|
// "link" file (.apl linked large APE file)
|
|
CAPELink APELink(pFilename);
|
|
@@ -72,7 +72,7 @@
|
|
nStartBlock = APELink.GetStartBlock(); nFinishBlock = APELink.GetFinishBlock();
|
|
}
|
|
}
|
|
- else if ((wcsicmp(pExtension, L".mac") == 0) || (wcsicmp(pExtension, L".ape") == 0))
|
|
+ else if ((wcscmp(pExtension, L".mac") == 0) || (wcscmp(pExtension, L".ape") == 0))
|
|
{
|
|
// plain .ape file
|
|
pAPEInfo = new CAPEInfo(&nErrorCode, pFilename);
|