mpg123-1.32.3
This commit is contained in:
8
NEWS
8
NEWS
@@ -1,3 +1,11 @@
|
|||||||
|
1.32.3
|
||||||
|
------
|
||||||
|
- ports/cmake: Only enable modules with GetThreadErrorMode() on Windows.
|
||||||
|
- compat: Define EOVERFLOW for ancient Windows toolchains.
|
||||||
|
- libmpg123, libsyn123: always ifdef LFS_LARGEFILE_64 (not just if)
|
||||||
|
- libsyn123: re-introduce _32 wrappers in addition to suffix-less ones
|
||||||
|
(regression from 1.31, bug 363)
|
||||||
|
|
||||||
1.32.2
|
1.32.2
|
||||||
------
|
------
|
||||||
|
|
||||||
|
|||||||
24
configure
vendored
24
configure
vendored
@@ -1,6 +1,6 @@
|
|||||||
#! /bin/sh
|
#! /bin/sh
|
||||||
# Guess values for system-dependent variables and create Makefiles.
|
# Guess values for system-dependent variables and create Makefiles.
|
||||||
# Generated by GNU Autoconf 2.71 for mpg123 1.32.2.
|
# Generated by GNU Autoconf 2.71 for mpg123 1.32.3.
|
||||||
#
|
#
|
||||||
# Report bugs to <maintainer@mpg123.org>.
|
# Report bugs to <maintainer@mpg123.org>.
|
||||||
#
|
#
|
||||||
@@ -621,8 +621,8 @@ MAKEFLAGS=
|
|||||||
# Identity of this package.
|
# Identity of this package.
|
||||||
PACKAGE_NAME='mpg123'
|
PACKAGE_NAME='mpg123'
|
||||||
PACKAGE_TARNAME='mpg123'
|
PACKAGE_TARNAME='mpg123'
|
||||||
PACKAGE_VERSION='1.32.2'
|
PACKAGE_VERSION='1.32.3'
|
||||||
PACKAGE_STRING='mpg123 1.32.2'
|
PACKAGE_STRING='mpg123 1.32.3'
|
||||||
PACKAGE_BUGREPORT='maintainer@mpg123.org'
|
PACKAGE_BUGREPORT='maintainer@mpg123.org'
|
||||||
PACKAGE_URL=''
|
PACKAGE_URL=''
|
||||||
|
|
||||||
@@ -1726,7 +1726,7 @@ if test "$ac_init_help" = "long"; then
|
|||||||
# Omit some internal or obsolete options to make the list less imposing.
|
# Omit some internal or obsolete options to make the list less imposing.
|
||||||
# This message is too long to be a string in the A/UX 3.1 sh.
|
# This message is too long to be a string in the A/UX 3.1 sh.
|
||||||
cat <<_ACEOF
|
cat <<_ACEOF
|
||||||
\`configure' configures mpg123 1.32.2 to adapt to many kinds of systems.
|
\`configure' configures mpg123 1.32.3 to adapt to many kinds of systems.
|
||||||
|
|
||||||
Usage: $0 [OPTION]... [VAR=VALUE]...
|
Usage: $0 [OPTION]... [VAR=VALUE]...
|
||||||
|
|
||||||
@@ -1797,7 +1797,7 @@ fi
|
|||||||
|
|
||||||
if test -n "$ac_init_help"; then
|
if test -n "$ac_init_help"; then
|
||||||
case $ac_init_help in
|
case $ac_init_help in
|
||||||
short | recursive ) echo "Configuration of mpg123 1.32.2:";;
|
short | recursive ) echo "Configuration of mpg123 1.32.3:";;
|
||||||
esac
|
esac
|
||||||
cat <<\_ACEOF
|
cat <<\_ACEOF
|
||||||
|
|
||||||
@@ -2074,7 +2074,7 @@ fi
|
|||||||
test -n "$ac_init_help" && exit $ac_status
|
test -n "$ac_init_help" && exit $ac_status
|
||||||
if $ac_init_version; then
|
if $ac_init_version; then
|
||||||
cat <<\_ACEOF
|
cat <<\_ACEOF
|
||||||
mpg123 configure 1.32.2
|
mpg123 configure 1.32.3
|
||||||
generated by GNU Autoconf 2.71
|
generated by GNU Autoconf 2.71
|
||||||
|
|
||||||
Copyright (C) 2021 Free Software Foundation, Inc.
|
Copyright (C) 2021 Free Software Foundation, Inc.
|
||||||
@@ -2619,7 +2619,7 @@ cat >config.log <<_ACEOF
|
|||||||
This file contains any messages produced by compilers while
|
This file contains any messages produced by compilers while
|
||||||
running configure, to aid debugging if configure makes a mistake.
|
running configure, to aid debugging if configure makes a mistake.
|
||||||
|
|
||||||
It was created by mpg123 $as_me 1.32.2, which was
|
It was created by mpg123 $as_me 1.32.3, which was
|
||||||
generated by GNU Autoconf 2.71. Invocation command line was
|
generated by GNU Autoconf 2.71. Invocation command line was
|
||||||
|
|
||||||
$ $0$ac_configure_args_raw
|
$ $0$ac_configure_args_raw
|
||||||
@@ -3388,9 +3388,9 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
LIBMPG123_VERSION=48:0:48
|
LIBMPG123_VERSION=48:1:48
|
||||||
LIBOUT123_VERSION=5:0:5
|
LIBOUT123_VERSION=5:0:5
|
||||||
LIBSYN123_VERSION=2:1:2
|
LIBSYN123_VERSION=2:2:2
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -3989,7 +3989,7 @@ fi
|
|||||||
|
|
||||||
# Define the identity of the package.
|
# Define the identity of the package.
|
||||||
PACKAGE='mpg123'
|
PACKAGE='mpg123'
|
||||||
VERSION='1.32.2'
|
VERSION='1.32.3'
|
||||||
|
|
||||||
|
|
||||||
printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
|
printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
|
||||||
@@ -22648,7 +22648,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
|||||||
# report actual input values of CONFIG_FILES etc. instead of their
|
# report actual input values of CONFIG_FILES etc. instead of their
|
||||||
# values after options handling.
|
# values after options handling.
|
||||||
ac_log="
|
ac_log="
|
||||||
This file was extended by mpg123 $as_me 1.32.2, which was
|
This file was extended by mpg123 $as_me 1.32.3, which was
|
||||||
generated by GNU Autoconf 2.71. Invocation command line was
|
generated by GNU Autoconf 2.71. Invocation command line was
|
||||||
|
|
||||||
CONFIG_FILES = $CONFIG_FILES
|
CONFIG_FILES = $CONFIG_FILES
|
||||||
@@ -22716,7 +22716,7 @@ ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\
|
|||||||
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
||||||
ac_cs_config='$ac_cs_config_escaped'
|
ac_cs_config='$ac_cs_config_escaped'
|
||||||
ac_cs_version="\\
|
ac_cs_version="\\
|
||||||
mpg123 config.status 1.32.2
|
mpg123 config.status 1.32.3
|
||||||
configured by $0, generated by GNU Autoconf 2.71,
|
configured by $0, generated by GNU Autoconf 2.71,
|
||||||
with options \\"\$ac_cs_config\\"
|
with options \\"\$ac_cs_config\\"
|
||||||
|
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
# - devel packages for alsa, sdl, etc... to build the respective output modules.
|
# - devel packages for alsa, sdl, etc... to build the respective output modules.
|
||||||
Summary: The fast console mpeg audio decoder/player.
|
Summary: The fast console mpeg audio decoder/player.
|
||||||
Name: mpg123
|
Name: mpg123
|
||||||
Version: 1.32.2
|
Version: 1.32.3
|
||||||
Release: 1
|
Release: 1
|
||||||
URL: http://www.mpg123.org/
|
URL: http://www.mpg123.org/
|
||||||
License: GPL
|
License: GPL
|
||||||
|
|||||||
@@ -139,15 +139,20 @@ check_type_size(long SIZEOF_LONG)
|
|||||||
check_type_size(off_t SIZEOF_OFF_T)
|
check_type_size(off_t SIZEOF_OFF_T)
|
||||||
|
|
||||||
if(WIN32 AND HAVE_WINDOWS_H)
|
if(WIN32 AND HAVE_WINDOWS_H)
|
||||||
check_c_source_compiles("
|
check_function_exists(GetThreadErrorMode HAVE_GETTHREADERRORMODE)
|
||||||
#include <windows.h>
|
if(HAVE_GETTHREADERRORMODE)
|
||||||
|
check_c_source_compiles("
|
||||||
|
#include <windows.h>
|
||||||
|
|
||||||
int main() {
|
int main() {
|
||||||
LoadLibraryW(0);
|
LoadLibraryW(0);
|
||||||
GetProcAddress(0, 0);
|
GetProcAddress(0, 0);
|
||||||
FreeLibrary(0);
|
FreeLibrary(0);
|
||||||
}"
|
}"
|
||||||
HAVE_WIN_DL)
|
HAVE_WIN_DL)
|
||||||
|
else()
|
||||||
|
set(HAVE_WIN_DL OFF)
|
||||||
|
endif()
|
||||||
else()
|
else()
|
||||||
function(check_dl)
|
function(check_dl)
|
||||||
set(CMAKE_REQUIRED_LIBRARIES dl)
|
set(CMAKE_REQUIRED_LIBRARIES dl)
|
||||||
|
|||||||
@@ -332,4 +332,9 @@ size_t INT123_unintr_fwrite(const void *ptr, size_t size, size_t nmemb, FILE *st
|
|||||||
void (*INT123_catchsignal(int signum, void(*handler)(int)))(int);
|
void (*INT123_catchsignal(int signum, void(*handler)(int)))(int);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
// Some ancient toolchains miss the documented errno value.
|
||||||
|
#if defined(_WIN32) && !defined(EOVERFLOW)
|
||||||
|
#define EOVERFLOW 132
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@@ -45,6 +45,9 @@
|
|||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
|
|
||||||
|
// A paranoid check that someone did not define a wrong SIZEOF_OFF_T at configure time.
|
||||||
|
typedef unsigned char MPG123_STATIC_ASSERT[(SIZEOF_OFF_T == sizeof(off_t)) ? 1 : -1];
|
||||||
|
|
||||||
#include "debug.h"
|
#include "debug.h"
|
||||||
|
|
||||||
// We do not want to expose this publicly, but it is cleaner to have it also defined
|
// We do not want to expose this publicly, but it is cleaner to have it also defined
|
||||||
@@ -91,7 +94,7 @@ struct wrap_data
|
|||||||
off_t (*r_lseek)(int, off_t, int);
|
off_t (*r_lseek)(int, off_t, int);
|
||||||
mpg123_ssize_t (*r_h_read)(void *, void *, size_t);
|
mpg123_ssize_t (*r_h_read)(void *, void *, size_t);
|
||||||
off_t (*r_h_lseek)(void*, off_t, int);
|
off_t (*r_h_lseek)(void*, off_t, int);
|
||||||
#if LFS_LARGEFILE_64
|
#ifdef LFS_LARGEFILE_64
|
||||||
mpg123_ssize_t (*r_read_64) (int, void *, size_t);
|
mpg123_ssize_t (*r_read_64) (int, void *, size_t);
|
||||||
off64_t (*r_lseek_64)(int, off64_t, int);
|
off64_t (*r_lseek_64)(int, off64_t, int);
|
||||||
mpg123_ssize_t (*r_h_read_64)(void *, void *, size_t);
|
mpg123_ssize_t (*r_h_read_64)(void *, void *, size_t);
|
||||||
@@ -176,7 +179,7 @@ static struct wrap_data* wrap_get(mpg123_handle *mh, int force_alloc)
|
|||||||
whd->r_lseek = NULL;
|
whd->r_lseek = NULL;
|
||||||
whd->r_h_read = NULL;
|
whd->r_h_read = NULL;
|
||||||
whd->r_h_lseek = NULL;
|
whd->r_h_lseek = NULL;
|
||||||
#if LFS_LARGEFILE_64
|
#ifdef LFS_LARGEFILE_64
|
||||||
whd->r_read_64 = NULL;
|
whd->r_read_64 = NULL;
|
||||||
whd->r_lseek_64 = NULL;
|
whd->r_lseek_64 = NULL;
|
||||||
whd->r_h_read_64 = NULL;
|
whd->r_h_read_64 = NULL;
|
||||||
|
|||||||
@@ -19,7 +19,7 @@
|
|||||||
*/
|
*/
|
||||||
#define MPG123_API_VERSION 48
|
#define MPG123_API_VERSION 48
|
||||||
/** library patch level at client build time */
|
/** library patch level at client build time */
|
||||||
#define MPG123_PATCHLEVEL 0
|
#define MPG123_PATCHLEVEL 1
|
||||||
|
|
||||||
#ifndef MPG123_EXPORT
|
#ifndef MPG123_EXPORT
|
||||||
/** Defines needed for MS Visual Studio(tm) DLL builds.
|
/** Defines needed for MS Visual Studio(tm) DLL builds.
|
||||||
|
|||||||
@@ -2040,15 +2040,19 @@ type attribute_align_arg name(long inrate, long outrate, type io) \
|
|||||||
#if SIZEOF_OFF_T == 8
|
#if SIZEOF_OFF_T == 8
|
||||||
resample_total_alias(off_t, syn123_resample_total, syn123_resample_total64)
|
resample_total_alias(off_t, syn123_resample_total, syn123_resample_total64)
|
||||||
resample_total_alias(off_t, syn123_resample_intotal, syn123_resample_intotal64)
|
resample_total_alias(off_t, syn123_resample_intotal, syn123_resample_intotal64)
|
||||||
|
resample_total_alias(off_t, syn123_resample_total_64, syn123_resample_total64)
|
||||||
|
resample_total_alias(off_t, syn123_resample_intotal_64, syn123_resample_intotal64)
|
||||||
#elif SIZEOF_OFF_T == 4
|
#elif SIZEOF_OFF_T == 4
|
||||||
resample_total_wrap(off_t, INT32_MAX, syn123_resample_total, syn123_resample_total64)
|
resample_total_wrap(off_t, INT32_MAX, syn123_resample_total, syn123_resample_total64)
|
||||||
resample_total_wrap(off_t, INT32_MAX, syn123_resample_intotal, syn123_resample_intotal64)
|
resample_total_wrap(off_t, INT32_MAX, syn123_resample_intotal, syn123_resample_intotal64)
|
||||||
#if LFS_LARGEFILE_64
|
resample_total_wrap(off_t, INT32_MAX, syn123_resample_total_32, syn123_resample_total64)
|
||||||
|
resample_total_wrap(off_t, INT32_MAX, syn123_resample_intotal_32, syn123_resample_intotal64)
|
||||||
|
#ifdef LFS_LARGEFILE_64
|
||||||
resample_total_alias(off64_t, syn123_resample_total_64, syn123_resample_total64)
|
resample_total_alias(off64_t, syn123_resample_total_64, syn123_resample_total64)
|
||||||
resample_total_alias(off64_t, syn123_resample_intotal_64, syn123_resample_intotal64)
|
resample_total_alias(off64_t, syn123_resample_intotal_64, syn123_resample_intotal64)
|
||||||
#endif
|
#endif
|
||||||
#else
|
#else
|
||||||
#error "Unexpected LFS_ALIAS_BITS value."
|
#error "Unexpected off_t size."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@@ -25,7 +25,7 @@
|
|||||||
*/
|
*/
|
||||||
#define SYN123_API_VERSION 2
|
#define SYN123_API_VERSION 2
|
||||||
/** library patch level at client build time */
|
/** library patch level at client build time */
|
||||||
#define SYN123_PATCHLEVEL 1
|
#define SYN123_PATCHLEVEL 2
|
||||||
|
|
||||||
#ifndef MPG123_EXPORT
|
#ifndef MPG123_EXPORT
|
||||||
/** Defines needed for MS Visual Studio(tm) DLL builds.
|
/** Defines needed for MS Visual Studio(tm) DLL builds.
|
||||||
|
|||||||
@@ -16,7 +16,7 @@
|
|||||||
// only single spaces as separator to ease parsing by build scripts
|
// only single spaces as separator to ease parsing by build scripts
|
||||||
#define MPG123_MAJOR 1
|
#define MPG123_MAJOR 1
|
||||||
#define MPG123_MINOR 32
|
#define MPG123_MINOR 32
|
||||||
#define MPG123_PATCH 2
|
#define MPG123_PATCH 3
|
||||||
// Don't get too wild with that to avoid confusing m4. No brackets.
|
// Don't get too wild with that to avoid confusing m4. No brackets.
|
||||||
// Also, it should fit well into a sane file name for the tarball.
|
// Also, it should fit well into a sane file name for the tarball.
|
||||||
#define MPG123_SUFFIX ""
|
#define MPG123_SUFFIX ""
|
||||||
|
|||||||
Reference in New Issue
Block a user