summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-dialup/dial/files/dial-1.2-gcc3.3.patch')
-rw-r--r--net-dialup/dial/files/dial-1.2-gcc3.3.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/net-dialup/dial/files/dial-1.2-gcc3.3.patch b/net-dialup/dial/files/dial-1.2-gcc3.3.patch
new file mode 100644
index 000000000000..18cacbf4916e
--- /dev/null
+++ b/net-dialup/dial/files/dial-1.2-gcc3.3.patch
@@ -0,0 +1,13 @@
+diff -ur dial-1.2.orig/src/dial.c dial-1.2/src/dial.c
+--- dial-1.2.orig/src/dial.c 2003-11-28 13:24:13.000000000 +1300
++++ dial-1.2/src/dial.c 2003-11-28 13:25:12.000000000 +1300
+@@ -162,8 +162,7 @@
+ snprintf(rcfile, MAXPATHLEN, "%s/.dialrc", home);
+ #else
+ if (strlen(home) + strlen("/.dialrc") + 1 > MAXPATHLEN) {
+- fprintf(stderr, "$HOME environment variable too
+- long\n");
++ fprintf(stderr, "$HOME environment variable too long\n");
+ return 1;
+ }
+ sprintf(rcfile, "%s/.dialrc", home);