pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/ortp Wrapping a macro in a do while(0) loop works ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5c6dc853223f
branches:  trunk
changeset: 652808:5c6dc853223f
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Mon Jun 08 13:43:45 2015 +0000

description:
Wrapping a macro in a do while(0) loop works better when including the do.

diffstat:

 net/ortp/Makefile                          |   4 ++--
 net/ortp/distinfo                          |   3 ++-
 net/ortp/patches/patch-include_ortp_ortp.h |  13 +++++++++++++
 3 files changed, 17 insertions(+), 3 deletions(-)

diffs (45 lines):

diff -r e66038b98031 -r 5c6dc853223f net/ortp/Makefile
--- a/net/ortp/Makefile Mon Jun 08 13:42:26 2015 +0000
+++ b/net/ortp/Makefile Mon Jun 08 13:43:45 2015 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.8 2012/10/23 17:18:45 asau Exp $
+# $NetBSD: Makefile,v 1.9 2015/06/08 13:43:45 joerg Exp $
 #
 
 DISTNAME=      ortp-0.16.1
-PKGREVISION=   5
+PKGREVISION=   6
 CATEGORIES=    net
 MASTER_SITES=  http://download.savannah.nongnu.org/releases/linphone/ortp/sources/
 
diff -r e66038b98031 -r 5c6dc853223f net/ortp/distinfo
--- a/net/ortp/distinfo Mon Jun 08 13:42:26 2015 +0000
+++ b/net/ortp/distinfo Mon Jun 08 13:43:45 2015 +0000
@@ -1,8 +1,9 @@
-$NetBSD: distinfo,v 1.5 2012/06/28 04:50:12 dholland Exp $
+$NetBSD: distinfo,v 1.6 2015/06/08 13:43:45 joerg Exp $
 
 SHA1 (ortp-0.16.1.tar.gz) = 4e6288745b066d51b58834e2e33d8bc48d50d94e
 RMD160 (ortp-0.16.1.tar.gz) = c1c85ebdf308de4b5be66707c56a156299f67b9e
 Size (ortp-0.16.1.tar.gz) = 466365 bytes
+SHA1 (patch-include_ortp_ortp.h) = b915d8b4ab2d63ee3612e880a3208fe70080a711
 SHA1 (patch-src_avprofile.c) = 1740714e00d22ed8cde08106a9e5f56d4c40abe7
 SHA1 (patch-src_stun.c) = 031c56685acc8061fa66ee06487f1855e45bd672
 SHA1 (patch-src_tests_rtprecv.c) = 5b42382fcd7ebcaf189fdadea893df42457029dd
diff -r e66038b98031 -r 5c6dc853223f net/ortp/patches/patch-include_ortp_ortp.h
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/ortp/patches/patch-include_ortp_ortp.h        Mon Jun 08 13:43:45 2015 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-include_ortp_ortp.h,v 1.1 2015/06/08 13:43:45 joerg Exp $
+
+--- include/ortp/ortp.h.orig   2015-06-08 12:29:53.000000000 +0000
++++ include/ortp/ortp.h
+@@ -104,7 +104,7 @@ extern unsigned int __ortp_log_mask;
+ 
+ #if !defined(WIN32) && !defined(_WIN32_WCE)
+ #define ortp_logv(level,fmt,args) \
+-{\
++do{\
+       if (ortp_logv_out!=NULL && ortp_log_level_enabled(level)) \
+               ortp_logv_out(level,fmt,args);\
+       if ((level)==ORTP_FATAL) abort();\



Home | Main Index | Thread Index | Old Index