[iasl] Update to latest upstream version (20120913).
Richard W.M. Jones
rjones at fedoraproject.org
Thu Oct 11 16:05:34 UTC 2012
commit e7e3898f0897bbbd4f6c40e40acc71851ea9e99d
Author: Richard W.M. Jones <rjones at redhat.com>
Date: Thu Oct 11 16:45:54 2012 +0100
Update to latest upstream version (20120913).
- Fix project homepage.
- Remove the old patches, since they don't affect the new version.
- Add a configuration patch.
- Fix .gitignore file.
.gitignore | 5 +++-
iasl-config.patch | 37 ++++++++++++++++++++++++++++++++++++
iasl-const-correctness.patch | 42 -----------------------------------------
iasl-no-strict-aliasing.patch | 15 --------------
iasl-nsdump.patch | 19 ------------------
iasl-pointer-casts.patch | 36 -----------------------------------
iasl.spec | 25 +++++++++++------------
sources | 2 +-
8 files changed, 54 insertions(+), 127 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 76e5ec5..4870c54 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,4 @@
-acpica-unix-20100528.tar.gz
+*~
+.build*.log
+clog
+/acpica-unix-*.tar.gz
diff --git a/iasl-config.patch b/iasl-config.patch
new file mode 100644
index 0000000..2606249
--- /dev/null
+++ b/iasl-config.patch
@@ -0,0 +1,37 @@
+Remove -D_FORTIFY_SOURCE=2 because it only works with -O. Upstream
+disables -O because (they claim) it leads to miscompilation.
+
+Remove -Wstrict-aliasing=0. If these warnings happen, they are
+serious.
+
+Remove -Wredundant-decls. This happens several times, and is not
+serious.
+
+diff -ur acpica-unix-20120913.old/generate/unix/Makefile.config acpica-unix-20120913/generate/unix/Makefile.config
+--- acpica-unix-20120913.old/generate/unix/Makefile.config 2012-09-13 20:37:42.000000000 +0100
++++ acpica-unix-20120913/generate/unix/Makefile.config 2012-10-11 16:59:53.463041507 +0100
+@@ -107,7 +107,6 @@
+ $(BITSFLAG) \
+ -D$(HOST) \
+ -D_GNU_SOURCE \
+- -D_FORTIFY_SOURCE=2 \
+ -I$(ACPICA_INCLUDE)
+
+ LDFLAGS += $(BITSFLAG)
+@@ -121,7 +120,6 @@
+ -Wformat=2 \
+ -Wmissing-declarations \
+ -Wmissing-prototypes \
+- -Wstrict-aliasing=0 \
+ -Wstrict-prototypes \
+ -Wswitch-default \
+ -Wpointer-arith \
+@@ -142,7 +140,7 @@
+ -Wnested-externs \
+ -Wold-style-declaration \
+ -Wold-style-definition \
+- -Wredundant-decls \
++ -Wno-redundant-decls \
+ -Wtype-limits
+
+ #
diff --git a/iasl.spec b/iasl.spec
index 45a931c..cf99bd7 100644
--- a/iasl.spec
+++ b/iasl.spec
@@ -1,11 +1,11 @@
Name: iasl
-Version: 20100528
-Release: 6%{?dist}
+Version: 20120913
+Release: 1%{?dist}
Summary: Intel ASL compiler/decompiler
Group: Development/Languages
License: Intel ACPI
-URL: http://developer.intel.com/technology/iapc/acpi/
+URL: https://www.acpica.org/
Source0: http://www.acpica.org/download/acpica-unix-%{version}.tar.gz
Source1: iasl-README.Fedora
Source2: iasl.1
@@ -13,13 +13,8 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: bison patchutils flex
-# Patches to fix errors found using gcc -Wall. Patch 4 is most
-# serious since it fixes a segfault in the compiler (RHBZ#856856).
-Patch1: iasl-no-strict-aliasing.patch
-Patch2: iasl-const-correctness.patch
-Patch3: iasl-nsdump.patch
-Patch4: iasl-pointer-casts.patch
-
+# Configure. See top of patch for details.
+Patch1: iasl-config.patch
%description
iasl compiles ASL (ACPI Source Language) into AML (ACPI Machine Language),
@@ -30,9 +25,6 @@ disassemble AML, for debugging purposes.
%prep
%setup -q -n acpica-unix-%{version}
%patch1 -p1
-%patch2 -p1
-%patch3 -p1
-%patch4 -p1
cp -p %{SOURCE1} README.Fedora
cp -p %{SOURCE2} iasl.1
@@ -63,6 +55,13 @@ rm -rf $RPM_BUILD_ROOT
%changelog
+* Thu Oct 11 2012 Richard W.M. Jones <rjones at redhat.com> - 20120913-1
+- Update to latest upstream version (20120913).
+- Fix project homepage.
+- Remove the old patches, since they don't affect the new version.
+- Add a configuration patch.
+- Fix .gitignore file.
+
* Wed Oct 10 2012 Richard W.M. Jones <rjones at redhat.com> - 20100528-6
- Fix errors found using gcc -Wall (RHBZ#856856).
diff --git a/sources b/sources
index 66fe61a..4b6153c 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-f80f0b079af06134769a2642b490cd30 acpica-unix-20100528.tar.gz
+d3c60737e37b26a1be5fa9321229f445 acpica-unix-20120913.tar.gz
More information about the scm-commits
mailing list