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 | |
parent | db8ef75b7fc5dcff95ad646e0de00020704b5bc7 (diff) | |
download | pkgsrc-d6d912e5140f5c90776bd3e4a51e5bdb593af413.tar.gz |
Avoid multi-line string constants.
Diffstat (limited to 'net')
-rw-r--r-- | net/openag/distinfo | 4 | ||||
-rw-r--r-- | net/openag/patches/patch-aa | 15 | ||||
-rw-r--r-- | net/openag/patches/patch-ab | 46 |
3 files changed, 64 insertions, 1 deletions
diff --git a/net/openag/distinfo b/net/openag/distinfo index 23b5b60b4a7..011120e3252 100644 --- a/net/openag/distinfo +++ b/net/openag/distinfo @@ -1,4 +1,6 @@ -$NetBSD: distinfo,v 1.2 2002/07/02 13:00:55 wiz Exp $ +$NetBSD: distinfo,v 1.3 2004/01/23 13:55:31 agc Exp $ SHA1 (OpenAG-1.1.1.tar.gz) = d56473ebd46ffe03e22df511d90d7bcd33dc573a Size (OpenAG-1.1.1.tar.gz) = 248032 bytes +SHA1 (patch-aa) = d42ac201455cc9dc2e684c000a279750992a1f78 +SHA1 (patch-ab) = fc363a3fabff367b0f68dd560788bd78b35e1e6e 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 |