[58307] trunk/dports/net/arping

snc at macports.org snc at macports.org
Fri Sep 25 12:43:49 PDT 2009


Revision: 58307
          http://trac.macports.org/changeset/58307
Author:   snc at macports.org
Date:     2009-09-25 12:43:45 -0700 (Fri, 25 Sep 2009)
Log Message:
-----------
add patch, ticket #21612. rename patch file.

Modified Paths:
--------------
    trunk/dports/net/arping/Portfile

Added Paths:
-----------
    trunk/dports/net/arping/files/patch-arping.c.diff

Removed Paths:
-------------
    trunk/dports/net/arping/files/patch-arping.c

Modified: trunk/dports/net/arping/Portfile
===================================================================
--- trunk/dports/net/arping/Portfile	2009-09-25 17:53:43 UTC (rev 58306)
+++ trunk/dports/net/arping/Portfile	2009-09-25 19:43:45 UTC (rev 58307)
@@ -5,6 +5,7 @@
 
 name                arping
 version             2.08
+revision            1
 categories          net
 platforms           darwin
 maintainers         snc openmaintainer
@@ -17,8 +18,9 @@
 checksums           md5     36dba82f8a6084b634aa6f4aac6225c6 \
                     sha1    296824cc039e617c00e627e1d86670af233d922f \
                     rmd160  a405de14e3a25cb72280a642ad823a7174e481b1
-patchfiles          patch-arping.c
+patchfiles          patch-arping.c.diff
 
+
 depends_lib         port:libnet11 \
                     lib:libpcap.DP:libpcap
 

Deleted: trunk/dports/net/arping/files/patch-arping.c
===================================================================
--- trunk/dports/net/arping/files/patch-arping.c	2009-09-25 17:53:43 UTC (rev 58306)
+++ trunk/dports/net/arping/files/patch-arping.c	2009-09-25 19:43:45 UTC (rev 58307)
@@ -1,11 +0,0 @@
---- arping-2/arping.c	Sun Aug 29 20:44:15 2004
-+++ arping-2/arping.c.new	Mon Aug 30 10:23:33 2004
-@@ -62,6 +62,8 @@
- #if defined(linux)
- #define HAVE_ESIZE_TYPES 1
- #define FINDIF 1
-+#elif __APPLE__
-+#define HAVE_ESIZE_TYPES 1
- #endif
- 
- #ifdef HAVE_NET_BPF_H

Copied: trunk/dports/net/arping/files/patch-arping.c.diff (from rev 58306, trunk/dports/net/arping/files/patch-arping.c)
===================================================================
--- trunk/dports/net/arping/files/patch-arping.c.diff	                        (rev 0)
+++ trunk/dports/net/arping/files/patch-arping.c.diff	2009-09-25 19:43:45 UTC (rev 58307)
@@ -0,0 +1,20 @@
+--- arping-2/arping.c.orig	2008-08-11 02:33:31.000000000 -0400
++++ arping-2/arping.c	2009-09-25 15:41:19.000000000 -0400
+@@ -66,6 +66,8 @@
+ #if defined(linux)
+ #define HAVE_ESIZE_TYPES 1
+ #define FINDIF 1
++#elif __APPLE__
++#define HAVE_ESIZE_TYPES 1
+ #endif
+ 
+ #ifdef HAVE_NET_BPF_H
+@@ -237,7 +239,7 @@
+ 	char *p,*p2;
+ 	int n;
+ 
+-	do_libnet_init(ifname);
++	//do_libnet_init(ifname);
+ 	libnet_addr2name4_r(dstip,0,buf1, 1024);
+ 	//libnet_addr2name4_r(srcip,0,buf1);
+ 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090925/36057566/attachment.html>


More information about the macports-changes mailing list