[ortp] add missing patch
Dan Horák
sharkcz at fedoraproject.org
Sat Sep 4 08:21:29 UTC 2010
commit e7c3e1fac95bde6567e1ce8a46015905f2b94630
Author: Dan Horák <dan at danny.cz>
Date: Sat Sep 4 10:21:24 2010 +0200
add missing patch
ortp-0.16.1-retval.patch | 20 ++++++++++++++++++++
1 files changed, 20 insertions(+), 0 deletions(-)
---
diff --git a/ortp-0.16.1-retval.patch b/ortp-0.16.1-retval.patch
new file mode 100644
index 0000000..679f8d7
--- /dev/null
+++ b/ortp-0.16.1-retval.patch
@@ -0,0 +1,20 @@
+diff -up ortp-0.16.1/src/stun.c.retval ortp-0.16.1/src/stun.c
+--- ortp-0.16.1/src/stun.c.retval 2010-09-04 10:14:53.000000000 +0200
++++ ortp-0.16.1/src/stun.c 2010-09-04 10:15:10.000000000 +0200
+@@ -1191,6 +1191,7 @@ stunRand(void)
+ int maxFd=0;
+ struct timeval tv;
+ int e;
++ int res;
+
+ int fd=open("/dev/random",O_RDONLY);
+
+@@ -1213,7 +1214,7 @@ stunRand(void)
+ closesocket(fd);
+ return random();
+ }
+- read(fd,&tick,sizeof(tick));
++ res = read(fd,&tick,sizeof(tick));
+ closesocket(fd);
+ }
+ #else
More information about the scm-commits
mailing list