diff --git a/gift-ares/gift-ares.patch b/gift-ares/gift-ares.patch new file mode 100644 index 0000000000..77d86d2387 --- /dev/null +++ b/gift-ares/gift-ares.patch @@ -0,0 +1,21 @@ +Index: lib/as_session.c +--- lib/as_session.c.orig 2005-10-12 09:38:49 +0200 ++++ lib/as_session.c 2005-10-12 09:41:43 +0200 +@@ -401,7 +401,7 @@ + /* hardcoded zero byte (only if original nonce is used) */ + as_packet_put_8 (packet, 0x00); + /* 22 byte nonce created from supernode guid */ +- if(!(nonce = as_cipher_nonce (session->cipher, supernode_guid)) ++ if(!(nonce = as_cipher_nonce (session->cipher, supernode_guid))) + { + AS_ERR ("Handshake nonce creation failed"); + as_packet_free (packet); +@@ -413,7 +413,7 @@ + else if (type == PACKET_ACK2) + { + /* 20 byte nonce2 created from supernode guid */ +- if(!(nonce = as_cipher_nonce2 (supernode_guid)) ++ if(!(nonce = as_cipher_nonce2 (supernode_guid))) + { + AS_ERR ("Handshake nonce2 creation failed"); + as_packet_free (packet); diff --git a/gift-ares/gift-ares.spec b/gift-ares/gift-ares.spec index 72081f53c5..a3b54abc21 100644 --- a/gift-ares/gift-ares.spec +++ b/gift-ares/gift-ares.spec @@ -35,11 +35,12 @@ Class: PLUS Group: Network License: GPL Version: 0.2.2 -Release: 20051002 +Release: 20051012 # list of sources # Source0: http://download.berlios.de/gift-ares/gift-ares-%{version}.tar.gz -Source0: ftp://ftp.openpkg.org/sources/CPY/gift/gift-ares-CVS-20051002.tar.gz +Source0: ftp://ftp.openpkg.org/sources/CPY/gift/gift-ares-CVS-20051012.tar.gz +Patch0: gift-ares.patch # build information Prefix: %{l_prefix} @@ -69,6 +70,7 @@ AutoReqProv: no %prep %setup -q -n gift-ares + %patch -p0 %{l_shtool} subst \ -e 's;@GIFT_LIBS@;;' \ lib/Makefile.in