diff options
author | rillig <rillig> | 2007-09-29 12:18:16 +0000 |
---|---|---|
committer | rillig <rillig> | 2007-09-29 12:18:16 +0000 |
commit | 59992caa4ead1c64d5998a6235e066d15b39d3a9 (patch) | |
tree | 9a28ff0e84b6b0b5550d034665d7fbd7dfd2b662 /chat | |
parent | 6ddcc5ae89d73a8e84fd0ae0ec1ef61d813a09ed (diff) | |
download | pkgsrc-59992caa4ead1c64d5998a6235e066d15b39d3a9.tar.gz |
Fixed gcc4 error message.
Diffstat (limited to 'chat')
-rw-r--r-- | chat/scrollz/distinfo | 3 | ||||
-rw-r--r-- | chat/scrollz/patches/patch-aa | 23 |
2 files changed, 25 insertions, 1 deletions
diff --git a/chat/scrollz/distinfo b/chat/scrollz/distinfo index b7729d44ac0..4e968363c7a 100644 --- a/chat/scrollz/distinfo +++ b/chat/scrollz/distinfo @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.6 2006/03/06 10:03:39 grant Exp $ +$NetBSD: distinfo,v 1.7 2007/09/29 12:18:16 rillig Exp $ SHA1 (ScrollZ-1.9.5.tar.gz) = 33496b0e8f4e87b3de9ce78a47d5b77b66b155c0 RMD160 (ScrollZ-1.9.5.tar.gz) = 8817697f6c47f47bcecef196793cb1cffc0031ba Size (ScrollZ-1.9.5.tar.gz) = 906167 bytes +SHA1 (patch-aa) = 8c30f9e340a291ff2badcf733861f74e4a44f413 diff --git a/chat/scrollz/patches/patch-aa b/chat/scrollz/patches/patch-aa new file mode 100644 index 00000000000..a3ad447e047 --- /dev/null +++ b/chat/scrollz/patches/patch-aa @@ -0,0 +1,23 @@ +$NetBSD: patch-aa,v 1.4 2007/09/29 12:18:16 rillig Exp $ + +Prototypes must match exactly, says gcc4. + +--- source/rijndael-alg-ref.c.orig 2002-01-21 22:37:36.000000000 +0100 ++++ source/rijndael-alg-ref.c 2007-09-29 14:16:54.000000000 +0200 +@@ -36,11 +36,11 @@ static word8 shifts[3][4][2] = { + }; + + word8 mul(word8, word8); +-void KeyAddition(word8 [][], word8 [][], word8); +-void Substitution(word8 [][], word8 box[], word8); +-void ShiftRow(word8 [][], word8, word8); +-void MixColumn(word8 [][], word8); +-void InvMixColumn(word8 [][], word8); ++void KeyAddition(word8 [4][MAXBC], word8 [4][MAXBC], word8); ++void Substitution(word8 [4][MAXBC], word8 box[256], word8); ++void ShiftRow(word8 [4][MAXBC], word8, word8); ++void MixColumn(word8 [4][MAXBC], word8); ++void InvMixColumn(word8 [4][MAXBC], word8); + + word8 mul(word8 a, word8 b) { + /* multiply two elements of GF(2^m) |