aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorse <se@FreeBSD.org>2006-11-04 05:34:23 +0800
committerse <se@FreeBSD.org>2006-11-04 05:34:23 +0800
commit14c807a637ac6aa0efdaddbb195d94559f65c620 (patch)
treef9fbea468123eb89cd8c06b2bee6936da5764dd0 /security
parentc50ebc0f391df30f908c93adec0b600235cafeb6 (diff)
downloadfreebsd-ports-gnome-14c807a637ac6aa0efdaddbb195d94559f65c620.tar.gz
freebsd-ports-gnome-14c807a637ac6aa0efdaddbb195d94559f65c620.tar.zst
freebsd-ports-gnome-14c807a637ac6aa0efdaddbb195d94559f65c620.zip
Fix a syntactically incorrect variable declaration in the middle of
a function. Seems that only the compiler in 4-stable complains about this violation of the C standard ... Reported by: pointyhat via kris
Diffstat (limited to 'security')
-rw-r--r--security/yersinia/files/patch-src_interfaces.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/security/yersinia/files/patch-src_interfaces.c b/security/yersinia/files/patch-src_interfaces.c
new file mode 100644
index 000000000000..0880e7478a16
--- /dev/null
+++ b/security/yersinia/files/patch-src_interfaces.c
@@ -0,0 +1,15 @@
+--- src/interfaces.c~ Sun Jun 18 17:23:33 2006
++++ src/interfaces.c Sat Oct 14 07:28:41 2006
+@@ -271,10 +271,12 @@
+
+ if (tty_tmp->debug)
+ write_log(0,"\n interfaces_init finish...\n");
+
++ {
+ dlist_t *p;
+ for (p=interfaces->list;p; p = dlist_next(interfaces->list, p)) {
+ iface_data = (struct interface_data *) dlist_data(p);
++ }
+ }
+
+ return 0;