pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/audio/sox update to 14.4.1



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ea756c3e962e
branches:  trunk
changeset: 624893:ea756c3e962e
user:      drochner <drochner%pkgsrc.org@localhost>
date:      Wed Oct 02 14:21:27 2013 +0000

description:
update to 14.4.1
changes:
-Re-enable file-type detection when reading from a pipe
-bugfixes

diffstat:

 audio/sox/Makefile         |   8 ++------
 audio/sox/distinfo         |  10 +++++-----
 audio/sox/patches/patch-ak |  18 +++++++++---------
 3 files changed, 16 insertions(+), 20 deletions(-)

diffs (83 lines):

diff -r 916ee8492572 -r ea756c3e962e audio/sox/Makefile
--- a/audio/sox/Makefile        Wed Oct 02 14:17:25 2013 +0000
+++ b/audio/sox/Makefile        Wed Oct 02 14:21:27 2013 +0000
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.58 2013/02/16 11:20:21 wiz Exp $
+# $NetBSD: Makefile,v 1.59 2013/10/02 14:21:27 drochner Exp $
 
-DISTNAME=      sox-14.4.0
-PKGREVISION=   1
+DISTNAME=      sox-14.4.1
 CATEGORIES=    audio
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=sox/}
 
@@ -28,9 +27,6 @@
 SUBST_SED.gsm=         -e "s!gsm/gsm.h!gsm.h!"
 SUBST_STAGE.gsm=       pre-configure
 
-post-install:
-       ${RMDIR} ${DESTDIR}${PREFIX}/lib/sox
-
 .include "options.mk"
 
 .include "../../audio/flac/buildlink3.mk"
diff -r 916ee8492572 -r ea756c3e962e audio/sox/distinfo
--- a/audio/sox/distinfo        Wed Oct 02 14:17:25 2013 +0000
+++ b/audio/sox/distinfo        Wed Oct 02 14:21:27 2013 +0000
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.23 2012/12/18 14:42:29 jperkin Exp $
+$NetBSD: distinfo,v 1.24 2013/10/02 14:21:27 drochner Exp $
 
-SHA1 (sox-14.4.0.tar.gz) = d809cab382c7a9d015491c69051a9d1c1a1a44f1
-RMD160 (sox-14.4.0.tar.gz) = af1b6c02d29c988f9b0dfec9ca9ebb30949b0663
-Size (sox-14.4.0.tar.gz) = 1105756 bytes
+SHA1 (sox-14.4.1.tar.gz) = 71f05afc51e3d9b03376b2f98fd452d3a274d595
+RMD160 (sox-14.4.1.tar.gz) = 2f3890ef1a2a7fe3ee8d819912b3b529e58986fe
+Size (sox-14.4.1.tar.gz) = 1111653 bytes
 SHA1 (patch-aa) = e6f3d06450862795648622a017b2c696328872f5
-SHA1 (patch-ak) = 1691ec39f3c96327f919388cd87b02fb6a99900b
+SHA1 (patch-ak) = 46e2e23f7688201c1e4bcdce42982c7583fa0e5e
diff -r 916ee8492572 -r ea756c3e962e audio/sox/patches/patch-ak
--- a/audio/sox/patches/patch-ak        Wed Oct 02 14:17:25 2013 +0000
+++ b/audio/sox/patches/patch-ak        Wed Oct 02 14:21:27 2013 +0000
@@ -1,12 +1,12 @@
-$NetBSD: patch-ak,v 1.2 2012/12/18 14:42:29 jperkin Exp $
+$NetBSD: patch-ak,v 1.3 2013/10/02 14:21:27 drochner Exp $
 
 * On DragonFly, FILE is hidden, only allowed to modify in __FILE_public.
 
 * Disable file-type pipe detection on 64-bit Solaris.
 
---- src/formats.c.orig 2012-03-04 22:54:16.000000000 +0000
-+++ src/formats.c      2012-12-18 14:37:03.629252407 +0000
-@@ -406,17 +406,22 @@
+--- src/formats.c.orig 2013-01-13 19:57:39.000000000 +0000
++++ src/formats.c
+@@ -407,17 +407,22 @@ static void UNUSED rewind_pipe(FILE * fp
  /* _FSTDIO is for Torek stdio (i.e. most BSD-derived libc's)
   * In theory, we no longer need to check _NEWLIB_VERSION or __APPLE__ */
  #if defined _FSTDIO || defined _NEWLIB_VERSION || defined __APPLE__
@@ -15,18 +15,18 @@
 +  fpp->_p -= AUTO_DETECT_SIZE;
 +  fpp->_r += AUTO_DETECT_SIZE;
 +#  else
-   fp->_p -= AUTO_DETECT_SIZE;
-   fp->_r += AUTO_DETECT_SIZE;
+   fp->_p -= PIPE_AUTO_DETECT_SIZE;
+   fp->_r += PIPE_AUTO_DETECT_SIZE;
 +#  endif
  #elif defined __GLIBC__
    fp->_IO_read_ptr = fp->_IO_read_base;
--#elif defined _MSC_VER || defined __MINGW_H || defined _ISO_STDIO_ISO_H
-+#elif defined _MSC_VER || defined __MINGW_H || (defined _ISO_STDIO_ISO_H && !(defined(__sun) && defined(_LP64)))
+-#elif defined _MSC_VER || defined _WIN32 || defined _WIN64 || defined _ISO_STDIO_ISO_H
++#elif defined _MSC_VER || defined _WIN32 || defined _WIN64 || (defined _ISO_STDIO_ISO_H && !(defined(__sun) && defined(_LP64)))
    fp->_ptr = fp->_base;
  #else
    /* To fix this #error, either simply remove the #error line and live without
     * file-type detection with pipes, or add support for your compiler in the
-    * lines above.  Test with cat monkey.au | ./sox --info - */
+    * lines above.  Test with cat monkey.wav | ./sox --info - */
 -  #error FIX NEEDED HERE
    #define NO_REWIND_PIPE
    (void)fp;



Home | Main Index | Thread Index | Old Index