Compare commits

...

No commits in common. 'c9' and 'i10cs' have entirely different histories.
c9 ... i10cs

@ -0,0 +1,26 @@
Port the GNU/Linux parts of config.guess to C99 because the script is
invoked without CFLAGS.
diff --git a/autoconf/config.guess b/autoconf/config.guess
index 41249c1295106577..bf567065edc492a6 100755
--- a/autoconf/config.guess
+++ b/autoconf/config.guess
@@ -686,7 +686,8 @@ EOF
# Determine whether the default compiler is a.out or elf
cat >dummy.c <<EOF
#include <features.h>
-main(argc, argv)
+#include <stdio.h>
+int main(argc, argv)
int argc;
char *argv[];
{
@@ -900,7 +901,7 @@ cat >dummy.c <<EOF
# include <sys/types.h>
# include <sys/utsname.h>
#endif
-main ()
+int main (void)
{
#if defined (sony)
#if defined (MIPSEB)

@ -3,8 +3,8 @@
Summary: An archiving tool with ACL support
Name: star
Version: 1.6
Release: 6%{?dist}
License: CDDL
Release: 16%{?dist}
License: CDDL-1.0 AND GPL-2.0-only
URL: http://freecode.com/projects/star
Source: https://downloads.sourceforge.net/s-tar/%{name}-%{version}.tar.bz2
@ -27,6 +27,7 @@ Patch4: star-1.5.2-rmt-rh-access.patch
# ~> downstream
# ~> related to #968980
Patch5: star-1.5.2-use-ssh-by-default.patch
Patch6: star-configure-c99.patch
BuildRequires: make
BuildRequires: libattr-devel libacl-devel libtool libselinux-devel
@ -90,7 +91,7 @@ star_recode()
star_recode AN-1.5 AN-1.5.2 star/star.4
for PLAT in %{arm} %{power64} aarch64 %{mips} x86_64 s390 s390x sh3 sh4 sh4a sparcv9; do
for PLAT in %{arm} %{power64} aarch64 i686 %{mips} x86_64 s390 s390x sh3 sh4 sh4a sparcv9 riscv64; do
for AFILE in gcc cc; do
[ ! -e RULES/${PLAT}-linux-${AFILE}.rul ] \
&& ln -s i586-linux-${AFILE}.rul RULES/${PLAT}-linux-${AFILE}.rul
@ -100,7 +101,10 @@ done
%build
# This is config/work-around for atypical build system. Variables used are
# docummented makefiles.5. GMAKE_NOWARN silences irritating warnings in
# GNU/Linux ecosystem.
# GNU/Linux ecosystem. Build in C89 mode (-std=gnu89) because these
# many of these warnings are actually errors as later C standards are
# concerned.
%global build_type_safety_c 0
%global make_flags GMAKE_NOWARN=true \\\
RUNPATH= \\\
LDPATH= \\\
@ -109,7 +113,7 @@ done
INS_BASE=$RPM_BUILD_ROOT%{_prefix} \\\
INS_RBASE=$RPM_BUILD_ROOT \\\
INSTALL='sh $(SRCROOT)/conf/install-sh -c -m $(INSMODEINS)' \\\
COPTX="$RPM_OPT_FLAGS -DTRY_EXT2_FS" \\\
COPTX="%build_cflags -DTRY_EXT2_FS" \\\
LDOPTX="$RPM_LD_FLAGS" \\\
DEFCCOM=gcc
@ -198,12 +202,45 @@ fi
%{_sysconfdir}/rmt
%changelog
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 1.6-6
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
Related: rhbz#1991688
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 1.6-16
- Bump release for October 2024 mass rebuild:
Resolves: RHEL-64018
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1.6-5
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
* Fri Oct 25 2024 MSVSphere Packaging Team <packager@msvsphere-os.ru> - 1.6-15
- Rebuilt for MSVSphere 10
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 1.6-15
- Bump release for June 2024 mass rebuild
* Thu Mar 28 2024 David Abdurachmanov <david.abdurachmanov@gmail.com> - 1.6-14
- Enable riscv64
* Mon Jan 29 2024 Florian Weimer <fweimer@redhat.com> - 1.6-13
- Link in build configuration for i686 to use Fedora build flags
* Sat Jan 27 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.6-12
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Wed Aug 16 2023 Florian Weimer <fweimer@redhat.com> - 1.6-11
- Set build_type_safety_c to 0 (#2187168)
* Sat Jul 22 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.6-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Mon Apr 17 2023 Florian Weimer <fweimer@redhat.com> - 1.6-9
- Build in C89 mode (#2187168)
* Sat Jan 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.6-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.6-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Sat Jan 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.6-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.6-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.6-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild

Loading…
Cancel
Save