|
@@ -1,7 +1,7 @@
|
|
|
%define pkg_name ghc
|
|
|
%define pkg_version 8.4.3
|
|
|
# %define pkg_subversion b
|
|
|
-%define pkg_release 1%{?_dist_release}
|
|
|
+%define pkg_release 2%{?_dist_release}
|
|
|
|
|
|
%ifarch %{ix86}
|
|
|
%define rpmarch i386
|
|
@@ -28,6 +28,10 @@ Source1: macros.ghc
|
|
|
# # ghc-pkg: recompute `abi-depends` for updated packages
|
|
|
# Patch1: ghc-8.2.2-fix-shadowed_dependencies.patch
|
|
|
|
|
|
+# https://ghc.haskell.org/trac/ghc/ticket/15260
|
|
|
+# Xmobar crashes with segmentation fault
|
|
|
+Patch2: ghc.git-3ec1d931218e603ba1622faa2b52884b2477a7db.patch
|
|
|
+
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
|
BuildRequires: ghc
|
|
@@ -80,6 +84,7 @@ Highlights:
|
|
|
%{__rm} -rf ${RPM_BUILD_ROOT}
|
|
|
%setup -q
|
|
|
# %patch1 -p1 -b .fix-shadowed_dependencies
|
|
|
+%patch2 -p1 -b .fix-xmobar_segfault
|
|
|
|
|
|
%build
|
|
|
%{_configure} \
|
|
@@ -116,6 +121,9 @@ Highlights:
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
+* Wed Aug 08 2018 Toshiaki Ara <ara_t@384.jp> 8.4.3-2
|
|
|
+- add Patch2 (fixed that xmobar crashes with segmentation fault)
|
|
|
+
|
|
|
* Thu Jul 19 2018 Toshiaki Ara <ara_t@384.jp> 8.4.3-1
|
|
|
- update to 8.4.3
|
|
|
- drop Patch1 (fixed at upstream)
|