pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/audio/lame lame: update to 3.100.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/cc7d0872b1ba
branches:  trunk
changeset: 370634:cc7d0872b1ba
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Sat Oct 21 22:51:00 2017 +0000

description:
lame: update to 3.100.

Many bug fixes and security fixes.

diffstat:

 audio/lame/Makefile                            |    5 +-
 audio/lame/distinfo                            |   17 +-
 audio/lame/patches/patch-ab                    |    8 +-
 audio/lame/patches/patch-configure             |  184 -------------------------
 audio/lame/patches/patch-configure.in          |   19 --
 audio/lame/patches/patch-frontend_get__audio.c |   17 --
 audio/lame/patches/patch-libmp3lame_lame.c     |   19 --
 audio/lame/patches/patch-libmp3lame_util.c     |   23 ---
 8 files changed, 12 insertions(+), 280 deletions(-)

diffs (truncated from 336 to 300 lines):

diff -r 122aa2601be1 -r cc7d0872b1ba audio/lame/Makefile
--- a/audio/lame/Makefile       Sat Oct 21 18:08:03 2017 +0000
+++ b/audio/lame/Makefile       Sat Oct 21 22:51:00 2017 +0000
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.79 2016/09/02 14:07:43 maya Exp $
+# $NetBSD: Makefile,v 1.80 2017/10/21 22:51:00 wiz Exp $
 
-DISTNAME=      lame-3.99.5
-PKGREVISION=   3
+DISTNAME=      lame-3.100
 CATEGORIES=    audio
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=lame/}
 
diff -r 122aa2601be1 -r cc7d0872b1ba audio/lame/distinfo
--- a/audio/lame/distinfo       Sat Oct 21 18:08:03 2017 +0000
+++ b/audio/lame/distinfo       Sat Oct 21 22:51:00 2017 +0000
@@ -1,13 +1,8 @@
-$NetBSD: distinfo,v 1.28 2016/09/02 14:30:34 maya Exp $
+$NetBSD: distinfo,v 1.29 2017/10/21 22:51:00 wiz Exp $
 
-SHA1 (lame-3.99.5.tar.gz) = 03a0bfa85713adcc6b3383c12e2cc68a9cfbf4c4
-RMD160 (lame-3.99.5.tar.gz) = 8a0990af918b635cc79eb27a3beafc6c0ee13a9f
-SHA512 (lame-3.99.5.tar.gz) = ce62d7eb9fc8c53c343374ded30f11153a296910f0be7e649197bca7412c6660aad1aa6143d56b750f866229eb492cf7bb4f682535c383fb4aa57d7077d8b4d8
-Size (lame-3.99.5.tar.gz) = 1445348 bytes
-SHA1 (patch-ab) = e356b7614cfd4a2012f66926fe58a717dcc130f3
+SHA1 (lame-3.100.tar.gz) = 64c53b1a4d493237cef5e74944912cd9f98e618d
+RMD160 (lame-3.100.tar.gz) = e467c1f9458ca6878cd46e89fffce8970b9ea936
+SHA512 (lame-3.100.tar.gz) = 0844b9eadb4aacf8000444621451277de365041cc1d97b7f7a589da0b7a23899310afd4e4d81114b9912aa97832621d20588034715573d417b2923948c08634b
+Size (lame-3.100.tar.gz) = 1524133 bytes
+SHA1 (patch-ab) = ee5b570e8800aefdaffe94a6ed072fa7b62fba6b
 SHA1 (patch-ad) = fa14817f765a61f046a96a1b556e2c8203fc27ad
-SHA1 (patch-configure) = eabfd5c2fb68a7687f28d184dac75511772eef9a
-SHA1 (patch-configure.in) = 6ca01d610b94a402f2c2b351aa901a5072f3a0cb
-SHA1 (patch-frontend_get__audio.c) = c6df7a003d07e916c5129d45322c708f09b524e8
-SHA1 (patch-libmp3lame_lame.c) = bdc403ff8a1a7d5a6082b4d214fd43df99b1344e
-SHA1 (patch-libmp3lame_util.c) = b327113542f6ea7c9ec6af96a63635275335d364
diff -r 122aa2601be1 -r cc7d0872b1ba audio/lame/patches/patch-ab
--- a/audio/lame/patches/patch-ab       Sat Oct 21 18:08:03 2017 +0000
+++ b/audio/lame/patches/patch-ab       Sat Oct 21 22:51:00 2017 +0000
@@ -1,10 +1,10 @@
-$NetBSD: patch-ab,v 1.10 2011/11/29 20:26:48 wiz Exp $
+$NetBSD: patch-ab,v 1.11 2017/10/21 22:51:00 wiz Exp $
 
---- doc/html/Makefile.in.orig  2011-04-20 12:53:27.000000000 +0000
+--- doc/html/Makefile.in.orig  2017-10-13 20:21:58.000000000 +0000
 +++ doc/html/Makefile.in
-@@ -215,7 +215,7 @@ top_builddir = @top_builddir@
+@@ -298,7 +298,7 @@ top_builddir = @top_builddir@
  top_srcdir = @top_srcdir@
- AUTOMAKE_OPTIONS = foreign ansi2knr
+ AUTOMAKE_OPTIONS = foreign
  pkgdocdir = $(docdir)/$(PACKAGE)
 -pkghtmldir = $(pkgdocdir)/html
 +pkghtmldir = $(pkgdocdir)
diff -r 122aa2601be1 -r cc7d0872b1ba audio/lame/patches/patch-configure
--- a/audio/lame/patches/patch-configure        Sat Oct 21 18:08:03 2017 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,184 +0,0 @@
-$NetBSD: patch-configure,v 1.3 2016/09/02 14:30:06 maya Exp $
-
-initscr is a curses function, not termcap.
-
-test if we can compile SSE at configure, don't just
-assume that we can because we have xmmintrin.h
-
---- configure.orig     2012-02-28 18:54:37.000000000 +0000
-+++ configure
-@@ -11922,7 +11922,6 @@ for ac_header in \
-                sys/soundcard.h \
-                sys/time.h \
-                unistd.h \
--               xmmintrin.h \
-                linux/soundcard.h
- do :
-   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
-@@ -11936,6 +11935,30 @@ fi
- 
- done
- 
-+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking working SSE intrinsics" >&5
-+$as_echo_n "checking working SSE intrinsics... " >&6; }
-+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-+/* end confdefs.h.  */
-+#include <xmmintrin.h>
-+int
-+main ()
-+{
-+_mm_sfence();
-+  ;
-+  return 0;
-+}
-+_ACEOF
-+if ac_fn_c_try_compile "$LINENO"; then :
-+
-+$as_echo "#define HAVE_XMMINTRIN_H 1" >>confdefs.h
-+
-+     ac_cv_header_xmmintrin_h=yes
-+else
-+  ac_cv_header_xmmintrin_h=no
-+fi
-+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_cv_header_xmmintrin_h}" >&5
-+$as_echo "${ac_cv_header_xmmintrin_h}" >&6; }
- 
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
- $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
-@@ -13602,9 +13625,9 @@ fi
- 
- done
- 
--{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for initscr in -ltermcap" >&5
--$as_echo_n "checking for initscr in -ltermcap... " >&6; }
--if ${ac_cv_lib_termcap_initscr+:} false; then :
-+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgetent in -ltermcap" >&5
-+$as_echo_n "checking for tgetent in -ltermcap... " >&6; }
-+if ${ac_cv_lib_termcap_tgetent+:} false; then :
-   $as_echo_n "(cached) " >&6
- else
-   ac_check_lib_save_LIBS=$LIBS
-@@ -13618,33 +13641,33 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_
- #ifdef __cplusplus
- extern "C"
- #endif
--char initscr ();
-+char tgetent ();
- int
- main ()
- {
--return initscr ();
-+return tgetent ();
-   ;
-   return 0;
- }
- _ACEOF
- if ac_fn_c_try_link "$LINENO"; then :
--  ac_cv_lib_termcap_initscr=yes
-+  ac_cv_lib_termcap_tgetent=yes
- else
--  ac_cv_lib_termcap_initscr=no
-+  ac_cv_lib_termcap_tgetent=no
- fi
- rm -f core conftest.err conftest.$ac_objext \
-     conftest$ac_exeext conftest.$ac_ext
- LIBS=$ac_check_lib_save_LIBS
- fi
--{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_termcap_initscr" >&5
--$as_echo "$ac_cv_lib_termcap_initscr" >&6; }
--if test "x$ac_cv_lib_termcap_initscr" = xyes; then :
-+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_termcap_tgetent" >&5
-+$as_echo "$ac_cv_lib_termcap_tgetent" >&6; }
-+if test "x$ac_cv_lib_termcap_tgetent" = xyes; then :
-   HAVE_TERMCAP="termcap"
- fi
- 
--{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for initscr in -lcurses" >&5
--$as_echo_n "checking for initscr in -lcurses... " >&6; }
--if ${ac_cv_lib_curses_initscr+:} false; then :
-+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgetent in -lcurses" >&5
-+$as_echo_n "checking for tgetent in -lcurses... " >&6; }
-+if ${ac_cv_lib_curses_tgetent+:} false; then :
-   $as_echo_n "(cached) " >&6
- else
-   ac_check_lib_save_LIBS=$LIBS
-@@ -13658,33 +13681,33 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_
- #ifdef __cplusplus
- extern "C"
- #endif
--char initscr ();
-+char tgetent ();
- int
- main ()
- {
--return initscr ();
-+return tgetent ();
-   ;
-   return 0;
- }
- _ACEOF
- if ac_fn_c_try_link "$LINENO"; then :
--  ac_cv_lib_curses_initscr=yes
-+  ac_cv_lib_curses_tgetent=yes
- else
--  ac_cv_lib_curses_initscr=no
-+  ac_cv_lib_curses_tgetent=no
- fi
- rm -f core conftest.err conftest.$ac_objext \
-     conftest$ac_exeext conftest.$ac_ext
- LIBS=$ac_check_lib_save_LIBS
- fi
--{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_curses_initscr" >&5
--$as_echo "$ac_cv_lib_curses_initscr" >&6; }
--if test "x$ac_cv_lib_curses_initscr" = xyes; then :
-+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_curses_tgetent" >&5
-+$as_echo "$ac_cv_lib_curses_tgetent" >&6; }
-+if test "x$ac_cv_lib_curses_tgetent" = xyes; then :
-   HAVE_TERMCAP="curses"
- fi
- 
--{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for initscr in -lncurses" >&5
--$as_echo_n "checking for initscr in -lncurses... " >&6; }
--if ${ac_cv_lib_ncurses_initscr+:} false; then :
-+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgetent in -lncurses" >&5
-+$as_echo_n "checking for tgetent in -lncurses... " >&6; }
-+if ${ac_cv_lib_ncurses_tgetent+:} false; then :
-   $as_echo_n "(cached) " >&6
- else
-   ac_check_lib_save_LIBS=$LIBS
-@@ -13698,27 +13721,27 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_
- #ifdef __cplusplus
- extern "C"
- #endif
--char initscr ();
-+char tgetent ();
- int
- main ()
- {
--return initscr ();
-+return tgetent ();
-   ;
-   return 0;
- }
- _ACEOF
- if ac_fn_c_try_link "$LINENO"; then :
--  ac_cv_lib_ncurses_initscr=yes
-+  ac_cv_lib_ncurses_tgetent=yes
- else
--  ac_cv_lib_ncurses_initscr=no
-+  ac_cv_lib_ncurses_tgetent=no
- fi
- rm -f core conftest.err conftest.$ac_objext \
-     conftest$ac_exeext conftest.$ac_ext
- LIBS=$ac_check_lib_save_LIBS
- fi
--{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ncurses_initscr" >&5
--$as_echo "$ac_cv_lib_ncurses_initscr" >&6; }
--if test "x$ac_cv_lib_ncurses_initscr" = xyes; then :
-+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ncurses_tgetent" >&5
-+$as_echo "$ac_cv_lib_ncurses_tgetent" >&6; }
-+if test "x$ac_cv_lib_ncurses_tgetent" = xyes; then :
-   HAVE_TERMCAP="ncurses"
- fi
- 
diff -r 122aa2601be1 -r cc7d0872b1ba audio/lame/patches/patch-configure.in
--- a/audio/lame/patches/patch-configure.in     Sat Oct 21 18:08:03 2017 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,19 +0,0 @@
-$NetBSD: patch-configure.in,v 1.1 2013/10/10 10:49:30 roy Exp $
-
-initscr is a curses function, not termcap.
-
---- configure.in.orig  2013-10-10 10:45:45.000000000 +0000
-+++ configure.in
-@@ -372,9 +372,9 @@ dnl Checks for libraries.
- 
- AC_CHECK_HEADERS(termcap.h)
- AC_CHECK_HEADERS(ncurses/termcap.h)
--AC_CHECK_LIB(termcap, initscr, HAVE_TERMCAP="termcap")
--AC_CHECK_LIB(curses, initscr, HAVE_TERMCAP="curses")
--AC_CHECK_LIB(ncurses, initscr, HAVE_TERMCAP="ncurses")
-+AC_CHECK_LIB(termcap, tgetent, HAVE_TERMCAP="termcap")
-+AC_CHECK_LIB(curses, tgetent, HAVE_TERMCAP="curses")
-+AC_CHECK_LIB(ncurses, tgetent, HAVE_TERMCAP="ncurses")
- 
- AM_ICONV
-  
diff -r 122aa2601be1 -r cc7d0872b1ba audio/lame/patches/patch-frontend_get__audio.c
--- a/audio/lame/patches/patch-frontend_get__audio.c    Sat Oct 21 18:08:03 2017 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,17 +0,0 @@
-$NetBSD: patch-frontend_get__audio.c,v 1.1 2015/02/27 19:49:16 snj Exp $
-
-https://bugs.debian.org/777159
-
---- frontend/get_audio.c.orig  2012-02-14 02:35:58.000000000 -0800
-+++ frontend/get_audio.c       2015-02-27 11:15:11.000000000 -0800
-@@ -1448,6 +1448,10 @@ parse_wave_header(lame_global_flags * gf
-         else {
-             (void) lame_set_in_samplerate(gfp, global_reader.input_samplerate);
-         }
-+        /* avoid division by zero */
-+        if (bits_per_sample < 1)
-+            return -1;
-+
-         global. pcmbitwidth = bits_per_sample;
-         global. pcm_is_unsigned_8bit = 1;
-         global. pcm_is_ieee_float = (format_tag == WAVE_FORMAT_IEEE_FLOAT ? 1 : 0);
diff -r 122aa2601be1 -r cc7d0872b1ba audio/lame/patches/patch-libmp3lame_lame.c
--- a/audio/lame/patches/patch-libmp3lame_lame.c        Sat Oct 21 18:08:03 2017 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,19 +0,0 @@
-$NetBSD: patch-libmp3lame_lame.c,v 1.1 2015/02/27 19:49:16 snj Exp $
-
-https://bugs.debian.org/778703
-
---- libmp3lame/lame.c.orig     2011-10-18 14:51:20.000000000 -0700
-+++ libmp3lame/lame.c  2015-02-27 11:06:06.000000000 -0800
-@@ -822,6 +822,12 @@ lame_init_params(lame_global_flags * gfp
-     }
- #endif
- 



Home | Main Index | Thread Index | Old Index