pkgsrc-Changes archive

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

CVS commit: pkgsrc/audio/libdca



Module Name:    pkgsrc
Committed By:   adam
Date:           Wed May 23 17:45:23 UTC 2018

Modified Files:
        pkgsrc/audio/libdca: Makefile distinfo
Added Files:
        pkgsrc/audio/libdca/patches: patch-configure patch-src_dcadec.c
Removed Files:
        pkgsrc/audio/libdca/patches: patch-ab patch-dtsdec

Log Message:
libdca: updated to 0.0.6

libdca-0.0.6:
New release with mostly build system bugfixes.


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 pkgsrc/audio/libdca/Makefile
cvs rdiff -u -r1.5 -r1.6 pkgsrc/audio/libdca/distinfo
cvs rdiff -u -r1.1 -r0 pkgsrc/audio/libdca/patches/patch-ab
cvs rdiff -u -r0 -r1.1 pkgsrc/audio/libdca/patches/patch-configure \
    pkgsrc/audio/libdca/patches/patch-src_dcadec.c
cvs rdiff -u -r1.2 -r0 pkgsrc/audio/libdca/patches/patch-dtsdec

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/audio/libdca/Makefile
diff -u pkgsrc/audio/libdca/Makefile:1.12 pkgsrc/audio/libdca/Makefile:1.13
--- pkgsrc/audio/libdca/Makefile:1.12   Tue Jan 27 00:36:22 2015
+++ pkgsrc/audio/libdca/Makefile        Wed May 23 17:45:23 2018
@@ -1,9 +1,8 @@
-# $NetBSD: Makefile,v 1.12 2015/01/27 00:36:22 jperkin Exp $
-#
+# $NetBSD: Makefile,v 1.13 2018/05/23 17:45:23 adam Exp $
 
-DISTNAME=      libdca-0.0.5
+DISTNAME=      libdca-0.0.6
 CATEGORIES=    audio
-MASTER_SITES=  http://download.videolan.org/pub/videolan/libdca/0.0.5/
+MASTER_SITES=  http://download.videolan.org/pub/videolan/libdca/${PKGVERSION_NOREV}/
 EXTRACT_SUFX=  .tar.bz2
 
 MAINTAINER=    shattered%NetBSD.org@localhost
@@ -11,21 +10,15 @@ HOMEPAGE=   http://www.videolan.org/develo
 COMMENT=       DTS Coherent Acoustics decoder
 LICENSE=       gnu-gpl-v2
 
-RESTRICTED=    Unresolved patent issue
-NO_BIN_ON_CDROM=${RESTRICTED}
-NO_BIN_ON_FTP= ${RESTRICTED}
-NO_SRC_ON_CDROM=${RESTRICTED}
-NO_SRC_ON_FTP= ${RESTRICTED}
-
-GNU_CONFIGURE= yes
-USE_TOOLS+=    pkg-config
-USE_LIBTOOL=   yes
-
-.include "../../mk/compiler.mk"
-
-# Avoid clang bugs resulting in "duplicate symbol ___sputc".
-.if !empty(PKGSRC_COMPILER:Mclang) && ${OPSYS} == "Darwin"
-CFLAGS+=       -std=gnu89
-.endif
+USE_LANGUAGES=         c99
+USE_LIBTOOL=           yes
+USE_TOOLS+=            pkg-config
+GNU_CONFIGURE=         yes
+
+RESTRICTED=            Unresolved patent issue
+NO_BIN_ON_CDROM=       ${RESTRICTED}
+NO_BIN_ON_FTP=         ${RESTRICTED}
+NO_SRC_ON_CDROM=       ${RESTRICTED}
+NO_SRC_ON_FTP=         ${RESTRICTED}
 
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/audio/libdca/distinfo
diff -u pkgsrc/audio/libdca/distinfo:1.5 pkgsrc/audio/libdca/distinfo:1.6
--- pkgsrc/audio/libdca/distinfo:1.5    Thu Mar 23 17:06:46 2017
+++ pkgsrc/audio/libdca/distinfo        Wed May 23 17:45:23 2018
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.5 2017/03/23 17:06:46 joerg Exp $
+$NetBSD: distinfo,v 1.6 2018/05/23 17:45:23 adam Exp $
 
-SHA1 (libdca-0.0.5.tar.bz2) = 3fa5188eaaa2fc83fb9c4196f6695a23cb17f3bc
-RMD160 (libdca-0.0.5.tar.bz2) = 979ef56b7484e6542db035d03258f5fba63b9302
-SHA512 (libdca-0.0.5.tar.bz2) = d9f0ed34efeb3f27af8424fcb3e6df56744c6735854a65b5709c02b42b4513b9c4618dcc19eb44293afa051bd95616651bda5fc3b49dfabe975d0babfb1bc287
-Size (libdca-0.0.5.tar.bz2) = 393291 bytes
-SHA1 (patch-ab) = 7c736fec06ec3ed15bf7c2a4bb5d096469cfce8b
-SHA1 (patch-dtsdec) = 536268aa4009a3a0816ae2442e1be0f81233b0d1
+SHA1 (libdca-0.0.6.tar.bz2) = d292ddb7b4d60c90274f9f0398fa61df0df9442c
+RMD160 (libdca-0.0.6.tar.bz2) = 9857d7b0379266d9400f271d6f8d788cfb2227ee
+SHA512 (libdca-0.0.6.tar.bz2) = d264128019e7fd295a35691636311f81960c17802dbbc67764c4e00b2fdf12ebc69b057a4947b57551a130e5cfd1fef3fe3558c7067216ea04a0b6bbb881b4f1
+Size (libdca-0.0.6.tar.bz2) = 454121 bytes
+SHA1 (patch-configure) = 334d86745a5ef3c6077b0c2f65198632181d35d5
+SHA1 (patch-src_dcadec.c) = c60d59d5ed66c3525cbb1d92e02c3553b8a361b3

Added files:

Index: pkgsrc/audio/libdca/patches/patch-configure
diff -u /dev/null pkgsrc/audio/libdca/patches/patch-configure:1.1
--- /dev/null   Wed May 23 17:45:23 2018
+++ pkgsrc/audio/libdca/patches/patch-configure Wed May 23 17:45:23 2018
@@ -0,0 +1,15 @@
+$NetBSD: patch-configure,v 1.1 2018/05/23 17:45:23 adam Exp $
+
+Do not override compiler flags.
+
+--- configure.orig     2018-05-23 17:05:51.000000000 +0000
++++ configure
+@@ -4685,7 +4685,7 @@ fi
+ 
+ 
+ 
+-if test x"$GCC" = x"yes"; then
++if false; then
+ 
+ 
+             TRY_CFLAGS="$OPT_CFLAGS -Wall"
Index: pkgsrc/audio/libdca/patches/patch-src_dcadec.c
diff -u /dev/null pkgsrc/audio/libdca/patches/patch-src_dcadec.c:1.1
--- /dev/null   Wed May 23 17:45:23 2018
+++ pkgsrc/audio/libdca/patches/patch-src_dcadec.c      Wed May 23 17:45:23 2018
@@ -0,0 +1,25 @@
+$NetBSD: patch-src_dcadec.c,v 1.1 2018/05/23 17:45:23 adam Exp $
+
+No return statement, since we cannot know whether the return
+type is "void" or "int".
+
+Do not print debug info.
+
+--- src/dcadec.c.orig  2018-05-15 13:26:38.000000000 +0000
++++ src/dcadec.c
+@@ -66,7 +66,6 @@ static RETSIGTYPE signal_handler (int si
+ {
+     sigint = 1;
+     signal (sig, SIG_DFL);
+-    return (RETSIGTYPE)0;
+ }
+ 
+ static void print_fps (int final)
+@@ -273,7 +272,6 @@ static void dca_decode_data (uint8_t * s
+               length = dca_syncinfo (state, buf, &flags, &sample_rate,
+                                        &bit_rate, &frame_length);
+               if (!length) {
+-                  fprintf (stderr, "skip\n");
+                   for (bufptr = buf; bufptr < buf + HEADER_SIZE-1; bufptr++)
+                       bufptr[0] = bufptr[1];
+                   continue;



Home | Main Index | Thread Index | Old Index