diff options
author | joerg <joerg@pkgsrc.org> | 2015-06-08 13:43:45 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2015-06-08 13:43:45 +0000 |
commit | 05ddcb42934d509436cdecb52cd573974c6391a1 (patch) | |
tree | 70c977e86bf683136d6daf4f78062a5b1003d138 /net/ortp | |
parent | fae4bb215e0e1cc53f1284b5551a341cfe78dd4e (diff) | |
download | pkgsrc-05ddcb42934d509436cdecb52cd573974c6391a1.tar.gz |
Wrapping a macro in a do while(0) loop works better when including the do.
Diffstat (limited to 'net/ortp')
-rw-r--r-- | net/ortp/Makefile | 4 | ||||
-rw-r--r-- | net/ortp/distinfo | 3 | ||||
-rw-r--r-- | net/ortp/patches/patch-include_ortp_ortp.h | 13 |
3 files changed, 17 insertions, 3 deletions
diff --git a/net/ortp/Makefile b/net/ortp/Makefile index 0c82debdf92..1ac93961561 100644 --- a/net/ortp/Makefile +++ b/net/ortp/Makefile @@ -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 --git a/net/ortp/distinfo b/net/ortp/distinfo index 27bed1ae581..debfd239fb6 100644 --- a/net/ortp/distinfo +++ b/net/ortp/distinfo @@ -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 --git a/net/ortp/patches/patch-include_ortp_ortp.h b/net/ortp/patches/patch-include_ortp_ortp.h new file mode 100644 index 00000000000..ded37335450 --- /dev/null +++ b/net/ortp/patches/patch-include_ortp_ortp.h @@ -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();\ |