diff options
author | agc <agc> | 2004-01-23 13:55:31 +0000 |
---|---|---|
committer | agc <agc> | 2004-01-23 13:55:31 +0000 |
commit | d6d912e5140f5c90776bd3e4a51e5bdb593af413 (patch) | |
tree | b03c72f7f910e33b18b5ac352a2bae117cb651d4 /net/openag/patches | |
parent | db8ef75b7fc5dcff95ad646e0de00020704b5bc7 (diff) | |
download | pkgsrc-d6d912e5140f5c90776bd3e4a51e5bdb593af413.tar.gz |
Avoid multi-line string constants.
Diffstat (limited to 'net/openag/patches')
-rw-r--r-- | net/openag/patches/patch-aa | 15 | ||||
-rw-r--r-- | net/openag/patches/patch-ab | 46 |
2 files changed, 61 insertions, 0 deletions
diff --git a/net/openag/patches/patch-aa b/net/openag/patches/patch-aa new file mode 100644 index 00000000000..37304f6b274 --- /dev/null +++ b/net/openag/patches/patch-aa @@ -0,0 +1,15 @@ +$NetBSD: patch-aa,v 1.1 2004/01/23 13:55:31 agc Exp $ + +--- libOpenAG/ParseMessage.cpp 2004/01/23 13:30:51 1.1 ++++ libOpenAG/ParseMessage.cpp 2004/01/23 13:31:11 +@@ -620,8 +620,8 @@ + break; + case 2: + delete(TheMessage); +- err_exit("Oops, server responded: \"Bad client version\"\nI sent client version: %s\n +- Please check %s for updates.", VERSION_STRING, AG_OPENAG_DOWNLOADPAGE); ++ err_exit("Oops, server responded: \"Bad client version\"\nI sent client version: %s\n" ++ "Please check %s for updates.", VERSION_STRING, AG_OPENAG_DOWNLOADPAGE); + break; + case 3: + delete(TheMessage); diff --git a/net/openag/patches/patch-ab b/net/openag/patches/patch-ab new file mode 100644 index 00000000000..348751d5186 --- /dev/null +++ b/net/openag/patches/patch-ab @@ -0,0 +1,46 @@ +$NetBSD: patch-ab,v 1.1 2004/01/23 13:55:31 agc Exp $ + +--- libOpenAG/AGMain.cpp 2004/01/23 13:34:41 1.1 ++++ libOpenAG/AGMain.cpp 2004/01/23 13:35:33 +@@ -1660,30 +1660,30 @@ + printf("about to execute: %s\n",temp3); + if (system(temp3) != 0) + { +- err_print("Completed Downloads directory: %s was not found, attempted to create, but failed. +- Completed file: %s will be left in its current temporary directory: %s.\n", ++ err_print("Completed Downloads directory: %s was not found, attempted to create, but failed. \n" ++ "Completed file: %s will be left in its current temporary directory: %s.\n", + STATS.Prefs->FinishedDownloadsDirectory, STATS.connections[i].FileName, + STATS.connections[i].FileDirectory); + } + else if (chdir((char*)STATS.Prefs->FinishedDownloadsDirectory) != 0) + { +- err_print("Completed Downloads directory: %s was not found, successfully created, +- but failed to access.\n This error will repeat, and files will be left in the +- Temporary Downloads Directory", STATS.Prefs->FinishedDownloadsDirectory); ++ err_print("Completed Downloads directory: %s was not found, successfully created, \n" ++ "but failed to access.\n This error will repeat, and files will be left in the \n" ++ "Temporary Downloads Directory", STATS.Prefs->FinishedDownloadsDirectory); + } + delete(temp3); + } + else if (errno == EACCES) + { +- err_print("You do not have the correct permissions to access your specified download directory. +- Please correct this and relogin (to audiogalaxy).\n +- As such, all downloaded files will be left in your temporary directory."); ++ err_print("You do not have the correct permissions to access your specified download directory. \n" ++ "Please correct this and relogin (to audiogalaxy).\n " ++ "As such, all downloaded files will be left in your temporary directory."); + } + else + { +- err_print("Unhandled error encountered while trying to verify your Download Path. +- Please check the error below and fix your download path. +- All downloaded files will be left in your temporary directory. Please Report.\n"); ++ err_print("Unhandled error encountered while trying to verify your Download Path. \n" ++ "Please check the error below and fix your download path. \n" ++ "All downloaded files will be left in your temporary directory. Please Report.\n"); + } + } + else |