aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt
diff options
context:
space:
mode:
authormich <mich@FreeBSD.org>2006-11-08 22:04:29 +0800
committermich <mich@FreeBSD.org>2006-11-08 22:04:29 +0800
commit661b33f30d7dc39ac4a663982294cbeae0b01986 (patch)
tree78a1b8ce60efa3881c2cedc9594903fade549aa3 /net-mgmt
parent6ab0f1b32477123bb1d95fd0976c1a70e0001d00 (diff)
downloadfreebsd-ports-gnome-661b33f30d7dc39ac4a663982294cbeae0b01986.tar.gz
freebsd-ports-gnome-661b33f30d7dc39ac4a663982294cbeae0b01986.tar.zst
freebsd-ports-gnome-661b33f30d7dc39ac4a663982294cbeae0b01986.zip
- fix build failure on 4.x
Notified by: pointyhat
Diffstat (limited to 'net-mgmt')
-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);
+ }
+ /*