pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/cia Add patch from CVS repository to make GCC 4.x ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/635c0786aa5f
branches:  trunk
changeset: 506906:635c0786aa5f
user:      tron <tron%pkgsrc.org@localhost>
date:      Mon Jan 23 18:46:00 2006 +0000

description:
Add patch from CVS repository to make GCC 4.x happy. This will
hopefully fix build problems under DragonFly.

diffstat:

 net/cia/distinfo         |   3 ++-
 net/cia/patches/patch-ac |  31 +++++++++++++++++++++++++++++++
 2 files changed, 33 insertions(+), 1 deletions(-)

diffs (48 lines):

diff -r 08f535a9b303 -r 635c0786aa5f net/cia/distinfo
--- a/net/cia/distinfo  Mon Jan 23 18:38:27 2006 +0000
+++ b/net/cia/distinfo  Mon Jan 23 18:46:00 2006 +0000
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.7 2005/02/24 12:13:43 agc Exp $
+$NetBSD: distinfo,v 1.8 2006/01/23 18:46:00 tron Exp $
 
 SHA1 (cia-20030922.tar.bz2) = 9d0b06c99c6943493ff47412bcb36efde67e40ca
 RMD160 (cia-20030922.tar.bz2) = 9f41f8ff057b3f022f5678cca7401ac9e7fe478a
 Size (cia-20030922.tar.bz2) = 7645 bytes
 SHA1 (patch-aa) = 6b56f84481813df9dc0bd8044d51d2f857cbaf5a
 SHA1 (patch-ab) = da697a1a5222bd0241ea43e7ce5d071b7932af89
+SHA1 (patch-ac) = 17e2a2bc343a980149b26340a43994474473f186
diff -r 08f535a9b303 -r 635c0786aa5f net/cia/patches/patch-ac
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/cia/patches/patch-ac  Mon Jan 23 18:46:00 2006 +0000
@@ -0,0 +1,31 @@
+$NetBSD: patch-ac,v 1.1 2006/01/23 18:46:00 tron Exp $
+
+Index: ipstat/config.c
+===================================================================
+RCS file: /share/cvsroot/net/ipstat/ipstat/config.c,v
+retrieving revision 1.6
+retrieving revision 1.7
+diff -u -r1.6 -r1.7
+--- ipstat/config.c    30 Dec 2004 21:41:39 -0000      1.6
++++ ipstat/config.c    23 Jan 2006 13:13:56 -0000      1.7
+@@ -312,8 +312,8 @@
+             {
+              struct in_addr *Addr,*Mask;
+ 
+-             Addr=&((Type==0)?Mt->m_SrcAddr:Mt->m_DstAddr);
+-             Mask=&((Type==0)?Mt->m_SrcMask:Mt->m_DstMask);
++             Addr=((Type==0)?&Mt->m_SrcAddr:&Mt->m_DstAddr);
++             Mask=((Type==0)?&Mt->m_SrcMask:&Mt->m_DstMask);
+              if (!ParseNet(*Arg,Addr,Mask))
+               {
+                (void)fprintf(stderr,
+@@ -362,7 +362,8 @@
+                return FALSE;
+               }
+ 
+-             ((Type==3)?Mt->m_SrcPort:Mt->m_DstPort)=Port;
++             if (Type==3) Mt->m_SrcPort=Port;
++             else Mt->m_DstPort=Port;
+             }
+           }
+ 



Home | Main Index | Thread Index | Old Index