aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/cdpr
diff options
context:
space:
mode:
authorMichael Landin <mich@FreeBSD.org>2006-11-08 14:04:29 +0000
committerMichael Landin <mich@FreeBSD.org>2006-11-08 14:04:29 +0000
commit83c3b662a56a8041bee15b69668eb4b1b2897747 (patch)
tree74ed0568e5ed3aa60e0978adce0a020f619c2b57 /net-mgmt/cdpr
parentd463cce736ef48b53bafe6324cb06fb1e2ea5b4b (diff)
downloadports-83c3b662a56a8041bee15b69668eb4b1b2897747.tar.gz
ports-83c3b662a56a8041bee15b69668eb4b1b2897747.zip
Notes
Diffstat (limited to 'net-mgmt/cdpr')
-rw-r--r--net-mgmt/cdpr/files/patch-conffile.c22
1 files changed, 22 insertions, 0 deletions
diff --git a/net-mgmt/cdpr/files/patch-conffile.c b/net-mgmt/cdpr/files/patch-conffile.c
new file mode 100644
index 000000000000..0820d6ff7dad
--- /dev/null
+++ b/net-mgmt/cdpr/files/patch-conffile.c
@@ -0,0 +1,22 @@
+
+$FreeBSD$
+
+--- conffile.c.orig
++++ conffile.c
+@@ -57,6 +57,7 @@
+ struct hostent *h;
+ char *addy;
+ int port;
++ char *tport;
+
+ if (ip && url)
+ {
+@@ -70,7 +71,7 @@
+ else
+ {
+ strtok(ip,":");
+- char *tport = strtok(NULL,":");
++ tport = strtok(NULL,":");
+ port = atoi(tport);
+ }
+ /*