Compare commits

..

No commits in common. "rawhide" and "f40" have entirely different histories.

4 changed files with 58 additions and 26 deletions

View file

@ -0,0 +1,22 @@
--- a52dec-0.7.4/configure~ 2002-07-28 06:50:42.000000000 +0300
+++ a52dec-0.7.4/configure 2006-02-16 23:03:07.000000000 +0200
@@ -5839,7 +5839,7 @@
shlibpath_overrides_runpath=unknown
version_type=none
dynamic_linker="$host_os ld.so"
-sys_lib_dlsearch_path_spec="/lib /usr/lib"
+sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
case $host_os in
--- a52dec-0.7.4/aclocal.m4~ 2002-07-28 06:50:38.000000000 +0300
+++ a52dec-0.7.4/aclocal.m4 2006-02-16 23:02:38.000000000 +0200
@@ -2141,7 +2141,7 @@
shlibpath_overrides_runpath=unknown
version_type=none
dynamic_linker="$host_os ld.so"
-sys_lib_dlsearch_path_spec="/lib /usr/lib"
+sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
case $host_os in

View file

@ -0,0 +1,23 @@
Avoid an undeclared exit function call in obscure configure check.
This improves compatibility with strict(er) C99 compilers, which may
not support implicit function declarations because they were removed
from the C language in 1999.
Not submitted upstream as regeneration of configure with new autoconf
would fix.
diff --git a/configure b/configure
index b81fdff..49bcfc6 100755
--- a/configure
+++ b/configure
@@ -3850,8 +3850,8 @@ main ()
for (i = 0; i < 256; i++)
if (XOR (islower (i), ISLOWER (i))
|| toupper (i) != TOUPPER (i))
- exit(2);
- exit (0);
+ return 2;
+ return 0;
}
_ACEOF
rm -f conftest$ac_exeext

View file

@ -1,8 +1,8 @@
--- ./configure.in~ 2002-07-28 06:50:42.000000000 +0300
+++ ./configure.in 2003-04-13 17:20:53.000000000 +0300
@@ -33,13 +33,13 @@
dnl arch-specific flags
case "$host" in
--- ./configure~ 2002-07-28 06:50:42.000000000 +0300
+++ ./configure 2003-04-13 17:20:53.000000000 +0300
@@ -2857,13 +2857,13 @@
case "$host" in
i?86-* | k?-*)
- case "$host" in
- i386-*) OPT_CFLAGS="$CFLAGS -mcpu=i386";;
@ -18,6 +18,6 @@
+# i686-*) OPT_CFLAGS="$CFLAGS -mcpu=pentiumpro";;
+# k6-*) OPT_CFLAGS="$CFLAGS -mcpu=k6";;
+# esac
AC_TRY_CFLAGS([$OPT_CFLAGS],[CFLAGS=$OPT_CFLAGS]);;
sparc-* | sparc64-*)
OPT_CFLAGS="$CFLAGS -mtune=ultrasparc"
echo "$as_me:$LINENO: checking if $CC supports $OPT_CFLAGS flags" >&5
echo $ECHO_N "checking if $CC supports $OPT_CFLAGS flags... $ECHO_C" >&6
SAVE_CFLAGS="$CFLAGS"

View file

@ -1,14 +1,15 @@
Summary: Small test program for liba52
Name: a52dec
Version: 0.7.4
Release: 52%{?dist}
Release: 48%{?dist}
License: GPL-2.0-only
URL: http://liba52.sourceforge.net
Source0: %{url}/files/%{name}-%{version}.tar.gz
Patch0: a52dec-configure-optflags.patch
Patch1: a52dec-0.7.4-rpath64.patch
Patch2: liba52-silence.patch
Patch3: a52dec-configure-c99.patch
BuildRequires: autoconf automake libtool
BuildRequires: gcc
BuildRequires: make
@ -48,10 +49,8 @@ developing applications that use liba52-devel.
%prep
%autosetup -p1
sed -i -e 's/-prefer-non-pic/-prefer-pic/' liba52/configure.incl
# regenerate autotools
autoreconf -fiv
sed -i -e 's/-prefer-non-pic/-prefer-pic/' \
configure liba52/configure.incl
# Convert to utf-8
for file in AUTHORS; do
@ -92,18 +91,6 @@ done
%changelog
* Fri Jan 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.4-52
- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild
* Wed Jul 23 2025 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.4-51
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
* Thu Jan 16 2025 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.4-50
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
* Wed Jul 17 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.4-49
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.4-48
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild