pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/openag Avoid multi-line string constants.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3e97740733cc
branches:  trunk
changeset: 466795:3e97740733cc
user:      agc <agc%pkgsrc.org@localhost>
date:      Fri Jan 23 13:55:31 2004 +0000

description:
Avoid multi-line string constants.

diffstat:

 net/openag/distinfo         |   4 ++-
 net/openag/patches/patch-aa |  15 ++++++++++++++
 net/openag/patches/patch-ab |  46 +++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 64 insertions(+), 1 deletions(-)

diffs (80 lines):

diff -r aa21cb127f9c -r 3e97740733cc net/openag/distinfo
--- a/net/openag/distinfo       Fri Jan 23 13:27:23 2004 +0000
+++ b/net/openag/distinfo       Fri Jan 23 13:55:31 2004 +0000
@@ -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 -r aa21cb127f9c -r 3e97740733cc net/openag/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/openag/patches/patch-aa       Fri Jan 23 13:55:31 2004 +0000
@@ -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 -r aa21cb127f9c -r 3e97740733cc net/openag/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/openag/patches/patch-ab       Fri Jan 23 13:55:31 2004 +0000
@@ -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



Home | Main Index | Thread Index | Old Index