aboutsummaryrefslogtreecommitdiff
path: root/net/linphone-base/files
diff options
context:
space:
mode:
authorPietro Cerutti <gahr@FreeBSD.org>2008-06-24 19:14:23 +0000
committerPietro Cerutti <gahr@FreeBSD.org>2008-06-24 19:14:23 +0000
commit5b406f1f6a5754d055cef629d0a9e2a96b868b7a (patch)
tree627c17f1eaf7f72665b6d9c4d66ea1d1b486567d /net/linphone-base/files
parentf538b91d4aa96eab0eb184ad5ab61735d4dfff0d (diff)
downloadports-5b406f1f6a5754d055cef629d0a9e2a96b868b7a.tar.gz
ports-5b406f1f6a5754d055cef629d0a9e2a96b868b7a.zip
- Unbreak on sparc64
Notes
Notes: svn path=/head/; revision=215724
Diffstat (limited to 'net/linphone-base/files')
-rw-r--r--net/linphone-base/files/patch-oRTP-src_stun.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/net/linphone-base/files/patch-oRTP-src_stun.c b/net/linphone-base/files/patch-oRTP-src_stun.c
new file mode 100644
index 000000000000..68ce7543775c
--- /dev/null
+++ b/net/linphone-base/files/patch-oRTP-src_stun.c
@@ -0,0 +1,11 @@
+--- oRTP/src/stun.c.orig 2008-06-24 14:21:05.000000000 +0000
++++ oRTP/src/stun.c 2008-06-24 14:21:47.000000000 +0000
+@@ -770,7 +770,7 @@
+ asm("rdtsc" : "=A" (tick));
+ #elif defined (__SUNPRO_CC) && defined( __sparc__ )
+ tick = gethrtime();
+-#elif defined(__MACH__)
++#elif defined(__MACH__) || defined(__sparc64__)
+ {
+ int fd=open("/dev/random",O_RDONLY);
+ read(fd,&tick,sizeof(tick));