Compare commits

..

No commits in common. "069140dc6312cad52482667711c0b43a342e7684" and "3a44cfdfecaf1fd88e1bce7dfbfbd9de74cd8038" have entirely different histories.

5 changed files with 44 additions and 23 deletions

Binary file not shown.

BIN
speexdsp-1.2rc3.tar.gz Normal file

Binary file not shown.

View File

@ -0,0 +1,36 @@
diff --git a/configure.ac b/configure.ac
index 2cd2d1e..1de0c23 100644
--- a/configure.ac
+++ b/configure.ac
@@ -334,6 +334,12 @@ AC_SUBST([USIZE16])
AC_SUBST([SIZE32])
AC_SUBST([USIZE32])
+AS_IF([test "$ac_cv_header_stdint_h" = "yes"], [INCLUDE_STDINT="#include <stdint.h>"],
+ [test "$ac_cv_header_inttypes_h" = "yes"], [INCLUDE_STDINT="#include <inttypes.h>"],
+ [test "$ac_cv_header_sys_types_h" = "yes"], [INCLUDE_STDINT="#include <sys/types.h>"])
+
+AC_SUBST([INCLUDE_STDINT])
+
AC_CONFIG_FILES([
Makefile libspeexdsp/Makefile doc/Makefile SpeexDSP.spec
include/Makefile include/speex/Makefile speexdsp.pc
diff --git a/include/speex/speexdsp_config_types.h.in b/include/speex/speexdsp_config_types.h.in
index 02b82fd..5ea7b55 100644
--- a/include/speex/speexdsp_config_types.h.in
+++ b/include/speex/speexdsp_config_types.h.in
@@ -1,13 +1,7 @@
#ifndef __SPEEX_TYPES_H__
#define __SPEEX_TYPES_H__
-#if defined HAVE_STDINT_H
-# include <stdint.h>
-#elif defined HAVE_INTTYPES_H
-# include <inttypes.h>
-#elif defined HAVE_SYS_TYPES_H
-# include <sys/types.h>
-#endif
+@INCLUDE_STDINT@
typedef @SIZE16@ spx_int16_t;
typedef @USIZE16@ spx_uint16_t;

View File

@ -1,11 +1,15 @@
%define ver rc3
Name: speexdsp
Summary: An open-source, patent-free speech codec
Version: 1.2.1
Release: 1
Version: 1.2
Release: 3.%{ver}
License: BSD
Source0: http://downloads.us.xiph.org/releases/speex/%{name}-%{version}.tar.gz
Source0: http://www.speex.org/download/%{name}-%{version}%{ver}.tar.gz
URL: http://www.speex.org/
Patch0: speexdsp-fixbuilds-774c87d.patch
Buildrequires: autoconf automake libtool gdb
%description
@ -24,7 +28,7 @@ Speex development files.
%package_help
%prep
%autosetup -n %{name}-%{version} -p1
%autosetup -n %{name}-%{version}%{ver} -p1
%build
autoreconf -fiv
@ -61,21 +65,6 @@ autoreconf -fiv
%{_docdir}/%{name}/*.pdf
%changelog
* Mon Nov 7 2022 Bin Hu <hubin73@huawei.com> - 1.2.1-1
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:update version 1.2.1
* Tue Oct 25 2022 yanglongkang <yanglongkang@h-partners.com> - 1.2.0-3
- rebuild for next release
* Sat Sep 5 2020 dingyue <dingyue5@huawei.com> - 1.2.0-2
- modify Source0
* Fri Jan 10 2020 guanyalong <gyl93216@163.com> - 1.2.0-1
- update speexdsp to 1.2.0
* Thu Nov 21 2019 fangyufa<fangyufa1@huawei.com> - 1.2-3.rc3
- fix build problem for x86_64 platform

View File

@ -1,4 +0,0 @@
version_control: github
src_repo: xiph/speexdsp
tag_prefix: ^SpeexDSP-
seperator: .