Loading p/gtk2hs-buildtools/debian/changelog +7 −0 Original line number Diff line number Diff line gtk2hs-buildtools (0.13.5.0-2) unstable; urgency=medium * Remove obsolete `BangPatterns` patch * Build with -O0 on ppc64el to workaround a GHC bug (Closes: #942585) -- Ilias Tsitsimpis <iliastsi@debian.org> Fri, 25 Oct 2019 12:25:32 +0300 gtk2hs-buildtools (0.13.5.0-1) unstable; urgency=medium [ Dmitry Bogatov ] Loading p/gtk2hs-buildtools/debian/patches/BangPatterns.patchdeleted 100644 → 0 +0 −23 Original line number Diff line number Diff line Description: The generated code has BangPatterns, newer ghc wants this mentioned explicitly Author: Joachim Breitner <nomeata@debian.org> Bug-Debian: http://bugs.debian.org/628302 Index: gtk2hs-buildtools-0.12.1/c2hs/c/CLexer.x =================================================================== --- gtk2hs-buildtools-0.12.1.orig/c2hs/c/CLexer.x 2011-09-12 13:44:10.000000000 +0200 +++ gtk2hs-buildtools-0.12.1/c2hs/c/CLexer.x 2012-02-24 22:47:58.000000000 +0100 @@ -63,6 +63,7 @@ -- { +{-# LANGUAGE BangPatterns #-} module CLexer (lexC, parseError) where @@ -229,6 +230,7 @@ { +{-# LANGUAGE BangPatterns #-} -- We use the odd looking list of string patterns here rather than normal -- string literals since GHC converts the latter into a sequence of string p/gtk2hs-buildtools/debian/patches/series +0 −1 Original line number Diff line number Diff line manpages.patch BangPatterns.patch p/gtk2hs-buildtools/debian/rules +7 −0 Original line number Diff line number Diff line Loading @@ -5,6 +5,13 @@ include /usr/share/cdbs/1/class/hlibrary.mk DEB_SETUP_GHC_CONFIGURE_ARGS = --datasubdir=gtk2hs-buildtools # Build with -O0 on ppc64el to work-around a GHC bug # see https://bugs.debian.org/942585 # and https://gitlab.haskell.org/ghc/ghc/issues/17203 ifneq (,$(filter $(DEB_BUILD_ARCH),ppc64el ppc64)) DEB_SETUP_GHC_CONFIGURE_ARGS += --ghc-options="-O0" endif build/gtk2hs-buildtools:: build-ghc-stamp install/gtk2hs-buildtools:: Loading Loading
p/gtk2hs-buildtools/debian/changelog +7 −0 Original line number Diff line number Diff line gtk2hs-buildtools (0.13.5.0-2) unstable; urgency=medium * Remove obsolete `BangPatterns` patch * Build with -O0 on ppc64el to workaround a GHC bug (Closes: #942585) -- Ilias Tsitsimpis <iliastsi@debian.org> Fri, 25 Oct 2019 12:25:32 +0300 gtk2hs-buildtools (0.13.5.0-1) unstable; urgency=medium [ Dmitry Bogatov ] Loading
p/gtk2hs-buildtools/debian/patches/BangPatterns.patchdeleted 100644 → 0 +0 −23 Original line number Diff line number Diff line Description: The generated code has BangPatterns, newer ghc wants this mentioned explicitly Author: Joachim Breitner <nomeata@debian.org> Bug-Debian: http://bugs.debian.org/628302 Index: gtk2hs-buildtools-0.12.1/c2hs/c/CLexer.x =================================================================== --- gtk2hs-buildtools-0.12.1.orig/c2hs/c/CLexer.x 2011-09-12 13:44:10.000000000 +0200 +++ gtk2hs-buildtools-0.12.1/c2hs/c/CLexer.x 2012-02-24 22:47:58.000000000 +0100 @@ -63,6 +63,7 @@ -- { +{-# LANGUAGE BangPatterns #-} module CLexer (lexC, parseError) where @@ -229,6 +230,7 @@ { +{-# LANGUAGE BangPatterns #-} -- We use the odd looking list of string patterns here rather than normal -- string literals since GHC converts the latter into a sequence of string
p/gtk2hs-buildtools/debian/patches/series +0 −1 Original line number Diff line number Diff line manpages.patch BangPatterns.patch
p/gtk2hs-buildtools/debian/rules +7 −0 Original line number Diff line number Diff line Loading @@ -5,6 +5,13 @@ include /usr/share/cdbs/1/class/hlibrary.mk DEB_SETUP_GHC_CONFIGURE_ARGS = --datasubdir=gtk2hs-buildtools # Build with -O0 on ppc64el to work-around a GHC bug # see https://bugs.debian.org/942585 # and https://gitlab.haskell.org/ghc/ghc/issues/17203 ifneq (,$(filter $(DEB_BUILD_ARCH),ppc64el ppc64)) DEB_SETUP_GHC_CONFIGURE_ARGS += --ghc-options="-O0" endif build/gtk2hs-buildtools:: build-ghc-stamp install/gtk2hs-buildtools:: Loading