rpms/libnice/devel libnice-0.0.8-sha1.patch, NONE, 1.1 libnice.spec, 1.6, 1.7
Warren Togami 砥上勇
wtogami at fedoraproject.org
Wed Jul 22 02:52:13 UTC 2009
Author: wtogami
Update of /cvs/pkgs/rpms/libnice/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv9316
Modified Files:
libnice.spec
Added Files:
libnice-0.0.8-sha1.patch
Log Message:
stun sha1 patch from upstream to make it work at all
libnice-0.0.8-sha1.patch:
sha1.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
--- NEW FILE libnice-0.0.8-sha1.patch ---
http://bugs.archlinux.org/task/15189
X-Git-Url: http://git.collabora.co.uk/?p=user%2Fkakaroto%2Flibnice.git;a=blobdiff_plain;f=stun%2Fsha1.c;h=d0e75d5047766c11fd5c37166e29d9a73e6e0d61;hp=94b2b4b096114d20ee0e12c3a688a10769eb678e;hb=e571e13fb03d217d27c1164379760f9d0c13d3ca;hpb=52f330873715fea4198c1450bd9bf3ff6bdd2f6d
diff --git a/stun/sha1.c b/stun/sha1.c
index 94b2b4b..d0e75d5 100644
--- a/stun/sha1.c
+++ b/stun/sha1.c
@@ -143,11 +143,11 @@ static void SHA1Transform(uint32_t state[5], const unsigned char buffer[64])
{
uint32_t a, b, c, d, e;
typedef union {
- unsigned char c[64];
+ uint8_t c[64];
uint32_t l[16];
} CHAR64LONG16;
CHAR64LONG16* block;
- uint32_t workspace[16];
+ uint8_t workspace[64];
block = (CHAR64LONG16 *) workspace;
memcpy(block, buffer, 64);
Index: libnice.spec
===================================================================
RCS file: /cvs/pkgs/rpms/libnice/devel/libnice.spec,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -p -r1.6 -r1.7
--- libnice.spec 22 Jun 2009 00:04:41 -0000 1.6
+++ libnice.spec 22 Jul 2009 02:52:13 -0000 1.7
@@ -1,12 +1,13 @@
Name: libnice
Version: 0.0.8
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: GLib ICE implementation
Group: System Environment/Libraries
License: LGPLv2 and MPLv1.1
URL: http://nice.freedesktop.org/wiki/
Source0: http://nice.freedesktop.org/releases/%{name}-%{version}.tar.gz
+Patch0: libnice-0.0.8-sha1.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: glib2-devel
@@ -39,6 +40,7 @@ developing applications that use %{name}
%prep
%setup -q
+%patch0 -p1
%build
@@ -82,6 +84,9 @@ rm -rf $RPM_BUILD_ROOT
%changelog
+* Tue Jul 21 2009 Warren Togami <wtogami at redhat.com> - 0.0.8-2
+- stun sha1 patch from upstream to make it work at all
+
* Sun Jun 21 2009 Brian Pepple <bpepple at fedoraproject.org> - 0.0.8-1
- Update to 0.0.8.
More information about the fedora-extras-commits
mailing list