pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/security/hydra Added compatibility patch for ISO C90. ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/56f48c629610
branches:  trunk
changeset: 493217:56f48c629610
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Fri Apr 29 22:17:13 2005 +0000

description:
Added compatibility patch for ISO C90. Approved by wiz.

diffstat:

 security/hydra/distinfo         |   3 ++-
 security/hydra/patches/patch-ae |  30 ++++++++++++++++++++++++++++++
 2 files changed, 32 insertions(+), 1 deletions(-)

diffs (48 lines):

diff -r 00cefa6788d2 -r 56f48c629610 security/hydra/distinfo
--- a/security/hydra/distinfo   Fri Apr 29 22:16:12 2005 +0000
+++ b/security/hydra/distinfo   Fri Apr 29 22:17:13 2005 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.2 2005/04/24 10:42:49 adrianp Exp $
+$NetBSD: distinfo,v 1.3 2005/04/29 22:17:13 rillig Exp $
 
 SHA1 (hydra-4.6-src.tar.gz) = acf0f61f8dc2a5307e266c337231dbdb3a9b9d79
 RMD160 (hydra-4.6-src.tar.gz) = 72cffce9eda1659023b74f22baabfad43ac5933d
@@ -7,3 +7,4 @@
 SHA1 (patch-ab) = 7c2697a746b6439bab35a801bbf30760920898fa
 SHA1 (patch-ac) = c9ba9d8b584ec92b940dbf2e69768dad4ff86d25
 SHA1 (patch-ad) = 3734123af4511161eee93f624b1b9dd575be0ae7
+SHA1 (patch-ae) = 68952bea6383a3f5fa6b94925710437be6aeea3a
diff -r 00cefa6788d2 -r 56f48c629610 security/hydra/patches/patch-ae
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/hydra/patches/patch-ae   Fri Apr 29 22:17:13 2005 +0000
@@ -0,0 +1,30 @@
+$NetBSD: patch-ae,v 1.1 2005/04/29 22:17:13 rillig Exp $
+
+Needed for ISO C90 compliance.
+
+--- hydra-teamspeak.c.orig     Thu Jan  6 16:39:55 2005
++++ hydra-teamspeak.c  Tue Apr 26 12:16:41 2005
+@@ -14,11 +14,6 @@ start_teamspeak(int s, unsigned long int
+   char *login, *pass; 
+   char buf[100]; 
+ 
+-  if (strlen(login = hydra_get_next_login()) == 0)
+-    login = empty;
+-  if (strlen(pass = hydra_get_next_password()) == 0)
+-    pass = empty;
+-
+   struct team_speak {
+     char header[16];
+     unsigned long crc;
+@@ -35,6 +30,11 @@ start_teamspeak(int s, unsigned long int
+     char login[29];
+   };
+   struct team_speak teamspeak;
++
++  if (strlen(login = hydra_get_next_login()) == 0)
++    login = empty;
++  if (strlen(pass = hydra_get_next_password()) == 0)
++    pass = empty;
+ 
+   memset(&teamspeak, 0, sizeof(struct team_speak));
+ 



Home | Main Index | Thread Index | Old Index