Port configure script to C99.
https://fedoraproject.org/wiki/Toolchain/PortingToModernC Rebuilding configure with new autotools would also solve the problem.
This commit is contained in:
parent
5f5736080b
commit
171825a57b
15
openjade-configure-c99.patch
Normal file
15
openjade-configure-c99.patch
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
diff --git a/configure b/configure
|
||||||
|
index 89206c1..98bc43a 100755
|
||||||
|
--- a/configure
|
||||||
|
+++ b/configure
|
||||||
|
@@ -3417,8 +3417,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
|
@ -1,7 +1,7 @@
|
|||||||
Summary: A DSSSL implementation
|
Summary: A DSSSL implementation
|
||||||
Name: openjade
|
Name: openjade
|
||||||
Version: 1.3.2
|
Version: 1.3.2
|
||||||
Release: 70%{?dist}
|
Release: 71%{?dist}
|
||||||
Requires: sgml-common
|
Requires: sgml-common
|
||||||
URL: http://openjade.sourceforge.net/
|
URL: http://openjade.sourceforge.net/
|
||||||
Source: http://download.sourceforge.net/openjade/openjade-%{version}.tar.gz
|
Source: http://download.sourceforge.net/openjade/openjade-%{version}.tar.gz
|
||||||
@ -23,6 +23,7 @@ Patch3: openjade-nola.patch
|
|||||||
Patch4: openjade-1.3.2-gcc46.patch
|
Patch4: openjade-1.3.2-gcc46.patch
|
||||||
#use Getopt:Std to prevent build failure
|
#use Getopt:Std to prevent build failure
|
||||||
Patch5: openjade-getoptperl.patch
|
Patch5: openjade-getoptperl.patch
|
||||||
|
Patch6: openjade-configure-c99.patch
|
||||||
License: DMIT
|
License: DMIT
|
||||||
|
|
||||||
#Last jade version is from Red Hat 6.2
|
#Last jade version is from Red Hat 6.2
|
||||||
@ -53,6 +54,7 @@ XML, RTF, TeX, MIF (FrameMaker), SGML, or XML.
|
|||||||
%patch3 -p1 -b .nola
|
%patch3 -p1 -b .nola
|
||||||
%patch4 -p1 -b .gcc46
|
%patch4 -p1 -b .gcc46
|
||||||
%patch5 -p1 -b .getopt
|
%patch5 -p1 -b .getopt
|
||||||
|
%patch6 -p1 -b .configure-c99
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
@ -111,6 +113,9 @@ export QA_RPATHS=0x0001
|
|||||||
%{_datadir}/sgml/%{name}-%{version}
|
%{_datadir}/sgml/%{name}-%{version}
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Jan 14 2023 Peter Fordham <peter.fordham@gmail.com> - 1.3.2-71
|
||||||
|
- Port configure script to C99.
|
||||||
|
|
||||||
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.2-70
|
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.2-70
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user