--- a/components/nmap/patches/libdnet-stripped.src.eth-dlpi.c.patch Fri Apr 26 17:13:13 2013 -0700
+++ b/components/nmap/patches/libdnet-stripped.src.eth-dlpi.c.patch Mon Apr 29 09:50:12 2013 -0700
@@ -1,5 +1,5 @@
---- nmap-5.21/libdnet-stripped/src/eth-dlpi.c.~1~ 2010-02-28 11:45:39.000000000 -0800
-+++ nmap-5.21/libdnet-stripped/src/eth-dlpi.c 2011-11-10 15:34:38.200529059 -0800
+--- nmap-6.25/libdnet-stripped/src/eth-dlpi.c.orig 2012-12-06 13:42:33.456937114 -0800
++++ nmap-6.25/libdnet-stripped/src/eth-dlpi.c 2012-12-06 13:43:16.505962826 -0800
@@ -134,7 +134,7 @@
{
union DL_primitives *dlp;
@@ -18,4 +18,4 @@
+#endif
if ((e->fd = open(dev, O_RDWR)) < 0) {
snprintf(dev, sizeof(dev), "/dev/%s", device);
- if ((e->fd = open(dev, O_RDWR)) < 0)
+ if ((e->fd = open(dev, O_RDWR)) < 0) {