diff options
Diffstat (limited to 'multimedia/libmatroska/patches/patch-aa')
-rw-r--r-- | multimedia/libmatroska/patches/patch-aa | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/multimedia/libmatroska/patches/patch-aa b/multimedia/libmatroska/patches/patch-aa new file mode 100644 index 00000000000..75c70084fd6 --- /dev/null +++ b/multimedia/libmatroska/patches/patch-aa @@ -0,0 +1,31 @@ +$NetBSD: patch-aa,v 1.1.1.1 2004/04/07 12:52:16 salo Exp $ + +--- test/mux/test8.cpp.orig 2004-01-17 19:33:21.000000000 +0300 ++++ test/mux/test8.cpp +@@ -276,7 +276,7 @@ int main(int argc, char **argv) + } else if (EbmlId(*ElementLevel2) == KaxMuxingApp::ClassInfos.GlobalId) { + KaxMuxingApp *pApp = static_cast<KaxMuxingApp*>(ElementLevel2); + pApp->ReadData(aStream.I_O()); +-#if !defined(__CYGWIN__) && !defined(__APPLE__) ++#if !defined(__CYGWIN__) && !defined(__APPLE__) && !defined(__NetBSD__) + wprintf(L"Muxing App : %ls\n", UTFstring(*pApp).c_str()); + #else + printf("Muxing App : %s\n", UTFstring(*pApp).c_str()); +@@ -284,7 +284,7 @@ int main(int argc, char **argv) + } else if (EbmlId(*ElementLevel2) == KaxWritingApp::ClassInfos.GlobalId) { + KaxWritingApp *pApp = static_cast<KaxWritingApp*>(ElementLevel2); + pApp->ReadData(aStream.I_O()); +-#if !defined(__CYGWIN__) && !defined(__APPLE__) ++#if !defined(__CYGWIN__) && !defined(__APPLE__) && !defined(__NetBSD__) + wprintf(L"Writing App : %ls (יאפן)\n", UTFstring(*pApp).c_str()); + #else + printf("Writing App : %s (יאפן)\n", UTFstring(*pApp).c_str()); +@@ -603,7 +603,7 @@ int main(int argc, char **argv) + unsigned int Index4; + for (Index4 = 0; Index4<aDisplay.ListSize() ;Index4++) { + if (aDisplay[Index4]->Generic().GlobalId == KaxChapterString::ClassInfos.GlobalId) { +-#if !defined(__CYGWIN__) && !defined(__APPLE__) ++#if !defined(__CYGWIN__) && !defined(__APPLE__) && !defined(__NetBSD__) + wprintf(L" Display \"%s\"\n", UTFstring(*static_cast<EbmlUnicodeString *>(aDisplay[Index4])).c_str() ); + #else + printf(" Display \"%s\"\n", UTFstring(*static_cast<EbmlUnicodeString *>(aDisplay[Index4])).c_str() ); |