pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/multimedia/libmp4v2 libmp4v2: Use C++03, fix a couple ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/02a1668698f5
branches: trunk
changeset: 375208:02a1668698f5
user: jperkin <jperkin%pkgsrc.org@localhost>
date: Mon Feb 05 18:37:21 2018 +0000
description:
libmp4v2: Use C++03, fix a couple of SunOS issues.
diffstat:
multimedia/libmp4v2/Makefile | 4 ++--
multimedia/libmp4v2/distinfo | 6 +++---
multimedia/libmp4v2/patches/patch-ae | 11 ++++++++++-
multimedia/libmp4v2/patches/patch-ah | 15 ++++++++++++---
4 files changed, 27 insertions(+), 9 deletions(-)
diffs (95 lines):
diff -r a0421f803111 -r 02a1668698f5 multimedia/libmp4v2/Makefile
--- a/multimedia/libmp4v2/Makefile Mon Feb 05 18:09:35 2018 +0000
+++ b/multimedia/libmp4v2/Makefile Mon Feb 05 18:37:21 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.20 2017/12/30 11:12:01 he Exp $
+# $NetBSD: Makefile,v 1.21 2018/02/05 18:37:21 jperkin Exp $
DISTNAME= mpeg4ip-1.6.1
PKGNAME= libmp4v2-1.6.1
@@ -12,7 +12,7 @@
HOMEPAGE= http://mpeg4ip.sourceforge.net/
COMMENT= Library for reading and modifying mp4 files
-USE_LANGUAGES= c c++
+USE_LANGUAGES= c c++03
USE_PKGLOCALEDIR= yes
USE_LIBTOOL= yes
GNU_CONFIGURE= yes
diff -r a0421f803111 -r 02a1668698f5 multimedia/libmp4v2/distinfo
--- a/multimedia/libmp4v2/distinfo Mon Feb 05 18:09:35 2018 +0000
+++ b/multimedia/libmp4v2/distinfo Mon Feb 05 18:37:21 2018 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.19 2017/12/30 11:12:01 he Exp $
+$NetBSD: distinfo,v 1.20 2018/02/05 18:37:21 jperkin Exp $
SHA1 (mpeg4ip-1.6.1.tar.gz) = 2af97fc0da6a5c0bcb7b433c6715967487b80e38
RMD160 (mpeg4ip-1.6.1.tar.gz) = ee8375d9581cccbbf685f730bb36f3866eaf12f7
@@ -8,10 +8,10 @@
SHA1 (patch-ab) = ddf8650416757f161f156b0928062d39eae7fe3e
SHA1 (patch-ac) = 9e4683fdbbfa3b85941243547773814ea50125a9
SHA1 (patch-ad) = e5dd062d7f17230bf27ffde0fc2db72d8357fd56
-SHA1 (patch-ae) = 232d380e2d65577f6e53dac0d52b167d80ccb067
+SHA1 (patch-ae) = ae22ab68419800bc3e90da8279645b3e50bc51f7
SHA1 (patch-af) = a69e136fbe8db5ae844c90ae5e2f06e86bf2ed85
SHA1 (patch-ag) = 76ec743b051ef39e4edb211a15a2accbf491d0b1
-SHA1 (patch-ah) = b5db1d879cf790c2b9c7e9132b14e1fc59e9cb4d
+SHA1 (patch-ah) = 9892b635bd38f4dcabe83d9b2228777df021fda8
SHA1 (patch-ai) = 8815f81cc09bb36944bf33691aaf9060b545c76e
SHA1 (patch-aj) = f0aeab4c17bb8a737a9ae3d4385c9f2989540ea7
SHA1 (patch-ak) = 36da5d4d2824cc8b3ac62e10924058dd651cb2a7
diff -r a0421f803111 -r 02a1668698f5 multimedia/libmp4v2/patches/patch-ae
--- a/multimedia/libmp4v2/patches/patch-ae Mon Feb 05 18:09:35 2018 +0000
+++ b/multimedia/libmp4v2/patches/patch-ae Mon Feb 05 18:37:21 2018 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-ae,v 1.3 2017/04/17 08:40:56 wiz Exp $
+$NetBSD: patch-ae,v 1.4 2018/02/05 18:37:21 jperkin Exp $
let <string.h> declare strcasestr() correctly
Fix fpos_t cast on NetBSD (_pos vs. __pos)
@@ -30,6 +30,15 @@
#else
#define FPOS_TO_VAR(fpos, typed, var) (var) = (typed)(fpos)
#define VAR_TO_FPOS(fpos, var) (fpos) = (var)
+@@ -194,7 +189,7 @@ typedef uint16_t in_port_t;
+ typedef unsigned int socklen_t;
+ #endif
+
+-#ifdef sun
++#ifdef __sun
+ #include <limits.h>
+ #define u_int8_t uint8_t
+ #define u_int16_t uint16_t
@@ -233,7 +228,8 @@ char *strsep(char **strp, const char *de
#define ADV_SPACE(a) {while (isspace(*(a)) && (*(a) != '\0'))(a)++;}
diff -r a0421f803111 -r 02a1668698f5 multimedia/libmp4v2/patches/patch-ah
--- a/multimedia/libmp4v2/patches/patch-ah Mon Feb 05 18:09:35 2018 +0000
+++ b/multimedia/libmp4v2/patches/patch-ah Mon Feb 05 18:37:21 2018 +0000
@@ -1,10 +1,10 @@
-$NetBSD: patch-ah,v 1.1.1.1 2007/02/09 19:57:48 drochner Exp $
+$NetBSD: patch-ah,v 1.2 2018/02/05 18:37:21 jperkin Exp $
The MAX macro is not defined on all systems (e.g. solaris)
---- lib/rtp/rtp.c.orig 2006-03-20 18:08:24.000000000 -0500
+--- lib/rtp/rtp.c.orig 2007-01-22 17:31:08.000000000 +0000
+++ lib/rtp/rtp.c
-@@ -61,6 +61,10 @@
+@@ -62,6 +62,10 @@
#include "rtp.h"
@@ -15,3 +15,12 @@
typedef struct {
uint32_t key; /* Original allocation number */
uint32_t size; /* Size of allocation requested */
+@@ -2553,7 +2557,7 @@ int rtp_send_data_iov (struct rtp *sessi
+ /* Add the RTP packet header to the beginning of the iov list */
+ my_iov = (struct iovec*)xmalloc(my_iov_count * sizeof(struct iovec));
+
+- my_iov[0].iov_base = buffer + RTP_PACKET_HEADER_SIZE;
++ my_iov[0].iov_base = (void *)buffer + RTP_PACKET_HEADER_SIZE;
+ my_iov[0].iov_len = buffer_len;
+
+ for (i = 1, payload_len = 0; i < my_iov_count; i++) {
Home |
Main Index |
Thread Index |
Old Index