[ghc-hinotify] don't build via-C since it breaks assembler on x86_64 (#715799)
Jens Petersen
petersen at fedoraproject.org
Fri Jul 22 04:11:22 UTC 2011
commit 91a5f5678f536bc4a6da54da9cd881e3237018c5
Author: Jens Petersen <petersen at redhat.com>
Date: Fri Jul 22 13:11:10 2011 +0900
don't build via-C since it breaks assembler on x86_64 (#715799)
ghc-hinotify.spec | 3 +++
hinotify-no-via-C.patch | 11 +++++++++++
2 files changed, 14 insertions(+), 0 deletions(-)
---
diff --git a/ghc-hinotify.spec b/ghc-hinotify.spec
index e66c518..bac4647 100644
--- a/ghc-hinotify.spec
+++ b/ghc-hinotify.spec
@@ -24,6 +24,7 @@ BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-rpm-macros
BuildRequires: hscolour
BuildRequires: ghc-containers-prof, ghc-directory-prof, ghc-unix-prof
+Patch1: hinotify-no-via-C.patch
%description
%{common_description}
@@ -31,6 +32,7 @@ BuildRequires: ghc-containers-prof, ghc-directory-prof, ghc-unix-prof
%prep
%setup -q -n %{pkg_name}-%{version}
+%patch1 -p1 -b .orig
%build
@@ -51,6 +53,7 @@ install -p README %{buildroot}/%{_docdir}/%{name}-%{version}/README
%changelog
* Thu Jun 23 2011 Jens Petersen <petersen at redhat.com> - 0.3.1-11
- BR ghc-Cabal-devel instead of ghc-prof and use ghc_arches (cabal2spec-0.23.2)
+- don't build via-C since it breaks assembler on x86_64 (#715799)
* Wed May 11 2011 Ben Boeckel <mathstuf at gmail.com> - 0.3.1-10
- Update to cabal2spec-0.22.7
diff --git a/hinotify-no-via-C.patch b/hinotify-no-via-C.patch
new file mode 100644
index 0000000..ab5ddbe
--- /dev/null
+++ b/hinotify-no-via-C.patch
@@ -0,0 +1,11 @@
+diff -u hinotify-0.3.1/hinotify.cabal\~ hinotify-0.3.1/hinotify.cabal
+--- hinotify-0.3.1/hinotify.cabal~ 2009-12-06 23:12:01.000000000 +0900
++++ hinotify-0.3.1/hinotify.cabal 2011-07-22 11:53:31.472156979 +0900
+@@ -33,6 +33,6 @@
+ other-modules:
+ System.INotify.Masks
+
+- ghc-options: -fvia-C -Wall
++ ghc-options: -Wall
+
+ hs-source-dirs: src
More information about the scm-commits
mailing list