[52466] trunk/dports/security/libident

toby at macports.org toby at macports.org
Tue Jun 16 22:01:23 PDT 2009


Revision: 52466
          http://trac.macports.org/changeset/52466
Author:   toby at macports.org
Date:     2009-06-16 22:01:22 -0700 (Tue, 16 Jun 2009)
Log Message:
-----------
fix warnings

Modified Paths:
--------------
    trunk/dports/security/libident/Portfile

Added Paths:
-----------
    trunk/dports/security/libident/files/
    trunk/dports/security/libident/files/patch-id_parse.c
    trunk/dports/security/libident/files/patch-ident.c

Modified: trunk/dports/security/libident/Portfile
===================================================================
--- trunk/dports/security/libident/Portfile	2009-06-17 04:53:23 UTC (rev 52465)
+++ trunk/dports/security/libident/Portfile	2009-06-17 05:01:22 UTC (rev 52466)
@@ -21,6 +21,9 @@
                  sha1 4658807b017f21928a64f3442ee3a2b91f48d14e \
                  rmd160 45c01b3c54a441b085ea3b8dc451eb8c33b7bd2e
 
+patchfiles       patch-id_parse.c patch-ident.c
+
+configure.cflags-append  -Wall -W
 configure.args   --mandir=${prefix}/share/man
 
 livecheck.url    ${master_sites}

Added: trunk/dports/security/libident/files/patch-id_parse.c
===================================================================
--- trunk/dports/security/libident/files/patch-id_parse.c	                        (rev 0)
+++ trunk/dports/security/libident/files/patch-id_parse.c	2009-06-17 05:01:22 UTC (rev 52466)
@@ -0,0 +1,12 @@
+--- id_parse.c.orig	2009-06-16 21:53:13.000000000 -0700
++++ id_parse.c	2009-06-16 21:53:19.000000000 -0700
+@@ -38,7 +38,8 @@
+ {
+     char c, *cp, *tmp_charset;
+     fd_set rs;
+-    int pos, res=0, lp, fp;
++    int res=0, lp, fp;
++    size_t pos;
+     
+     errno = 0;
+     

Added: trunk/dports/security/libident/files/patch-ident.c
===================================================================
--- trunk/dports/security/libident/files/patch-ident.c	                        (rev 0)
+++ trunk/dports/security/libident/files/patch-ident.c	2009-06-17 05:01:22 UTC (rev 52466)
@@ -0,0 +1,11 @@
+--- ident.c.orig	2009-06-16 21:52:53.000000000 -0700
++++ ident.c	2009-06-16 21:53:04.000000000 -0700
+@@ -37,7 +37,7 @@
+ IDENT *ident_lookup (int fd, int timeout)
+ {
+     struct sockaddr_storage localaddr, remoteaddr;
+-    int len;
++    socklen_t len;
+     
+     len = sizeof(remoteaddr);
+     if (getpeername(fd, (struct sockaddr*)&remoteaddr, &len) < 0)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090616/6c31cbde/attachment.html>


More information about the macports-changes mailing list