[tidyp] Tweak config.guess and config.sub to add aarch64 support (#926635)
Paul Howarth
pghmcfc at fedoraproject.org
Mon Mar 25 10:53:30 UTC 2013
commit 41add9cada47b16f2ed7665b1a40e16f920e28c5
Author: Paul Howarth <paul at city-fan.org>
Date: Mon Mar 25 10:46:38 2013 +0000
Tweak config.guess and config.sub to add aarch64 support (#926635)
tidyp-1.04-aarch64.patch | 36 ++++++++++++++++++++++++++++++++++++
tidyp.spec | 21 ++++++++++++++-------
2 files changed, 50 insertions(+), 7 deletions(-)
---
diff --git a/tidyp-1.04-aarch64.patch b/tidyp-1.04-aarch64.patch
new file mode 100644
index 0000000..e4d3557
--- /dev/null
+++ b/tidyp-1.04-aarch64.patch
@@ -0,0 +1,36 @@
+Add aarch64 support (http://bugzilla.redhat.com/926635)
+
+--- config.guess
++++ config.guess
+@@ -808,6 +808,13 @@ EOF
+ i*86:Minix:*:*)
+ echo ${UNAME_MACHINE}-pc-minix
+ exit 0 ;;
++ aarch64:Linux:*:*)
++ echo ${UNAME_MACHINE}-unknown-linux-gnu
++ exit 0 ;;
++ aarch64_be:Linux:*:*)
++ UNAME_MACHINE=aarch64_be
++ echo ${UNAME_MACHINE}-unknown-linux-gnu
++ exit 0 ;;
+ arm*:Linux:*:*)
+ echo ${UNAME_MACHINE}-unknown-linux-gnu
+ exit 0 ;;
+--- config.sub
++++ config.sub
+@@ -226,6 +226,7 @@ case $basic_machine in
+ # Some are omitted here because they have special meanings below.
+ 1750a | 580 \
+ | a29k \
++ | aarch64 | aarch64_be \
+ | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
+ | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
+ | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr \
+@@ -291,6 +292,7 @@ case $basic_machine in
+ # Recognize the basic CPU types with company name.
+ 580-* \
+ | a29k-* \
++ | aarch64-* | aarch64_be-* \
+ | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \
+ | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \
+ | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \
diff --git a/tidyp.spec b/tidyp.spec
index 3e6088e..65bf081 100644
--- a/tidyp.spec
+++ b/tidyp.spec
@@ -1,13 +1,14 @@
Summary: Clean up and pretty-print HTML/XHTML/XML
Name: tidyp
Version: 1.02
-Release: 8%{?dist}
+Release: 9%{?dist}
License: W3C
Group: Applications/Text
Url: http://www.tidyp.com/
Source0: http://github.com/downloads/petdance/tidyp/tidyp-%{version}.tar.gz
Patch0: tidy-outfile-raw.patch
Patch1: tidyp-cflags.patch
+Patch2: tidyp-1.04-aarch64.patch
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
Requires: libtidyp%{?_isa} = %{version}-%{release}
@@ -40,6 +41,9 @@ Development files for libtidyp.
# Remove unwanted CFLAGS
%patch1 -p1
+# Tweak config.guess and config.sub to add aarch64 support (#926635)
+%patch2
+
# Fix permissions for debuginfo
chmod -x src/{mappedio.*,version.h}
@@ -82,11 +86,14 @@ rm -rf %{buildroot}
%exclude %{_libdir}/libtidyp.la
%changelog
-* Fri Feb 15 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.02-8
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
+* Mon Mar 25 2013 Paul Howarth <paul at city-fan.org> 1.02-9
+- tweak config.guess and config.sub to add aarch64 support (#926635)
+
+* Fri Feb 15 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> 1.02-8
+- rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
-* Sat Jul 21 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.02-7
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
+* Sat Jul 21 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> 1.02-7
+- rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
* Wed Jan 11 2012 Paul Howarth <paul at city-fan.org> 1.02-6
- rebuilt for gcc 4.7 in Rawhide
@@ -151,7 +158,7 @@ rm -rf %{buildroot}
* Tue Feb 19 2008 Paul Howarth <paul at city-fan.org> 0.99.0-17.20070615.1
- respin (gcc 4.3.0)
-* Mon Aug 28 2007 Paul Howarth <paul at city-fan.org> 0.99.0-16.20070615.1
+* Mon Aug 27 2007 Paul Howarth <paul at city-fan.org> 0.99.0-16.20070615.1
- respin (BuildID)
* Fri Aug 24 2007 Paul Howarth <paul at city-fan.org> 0.99.0-15.20070615.1
@@ -194,7 +201,7 @@ rm -rf %{buildroot}
- Update to 050803 and docs to 050705
- Rename packages *again* to be compatible with Fedora Extras
-* Sun Jun 2 2005 Paul Howarth <paul at city-fan.org> 0.99.0-5.20050531
+* Thu Jun 2 2005 Paul Howarth <paul at city-fan.org> 0.99.0-5.20050531
- Update to 050531 version
- Incorporate documentation, version 050502
- Rename/reversion package for Fedora Extras compatibility
More information about the scm-commits
mailing list