* Remove -N from rts options, ghc doesn't support it on armv6.
[dgit import unpatched patat 0.8.1.2-1+rpi1]
--- /dev/null
--- /dev/null
++patat (0.8.1.2-1+rpi1) buster-staging; urgency=medium
++
++ * Remove -N from rts options, ghc doesn't support it on armv6.
++
++ -- Peter Michael Green <plugwash@raspbian.org> Sun, 27 Jan 2019 01:02:29 +0000
++
++patat (0.8.1.2-1) unstable; urgency=medium
++
++ * New upstream version 0.8.1.2
++
++ -- Félix Sipma <felix+debian@gueux.org> Mon, 29 Oct 2018 12:37:39 +0100
++
++patat (0.8.0.0-1) unstable; urgency=medium
++
++ * New upstream version 0.8.0.0
++ * update dependencies' version bounds
++ * add new dependencies: libghc-base64-bytestring-dev & libghc-colour-dev
++ * bump Standards-Version to 4.2.1 (no change required)
++ * fix lintian warning override_dh_auto_test-does-not-check-DEB_BUILD_OPTIONS
++
++ -- Félix Sipma <felix+debian@gueux.org> Sun, 02 Sep 2018 18:46:15 +0200
++
++patat (0.7.2.0-1) unstable; urgency=medium
++
++ * New upstream version 0.7.2.0
++
++ -- Félix Sipma <felix+debian@gueux.org> Sat, 09 Jun 2018 09:27:51 +0200
++
++patat (0.6.1.2-1) unstable; urgency=medium
++
++ * New upstream version 0.6.1.2
++ * bump dependencies
++ * remove patch to debianize README.md
++ * update rules: fix manpage building & tests running
++ * bump Standards-Version to 4.1.4 (no change required)
++
++ -- Félix Sipma <felix+debian@gueux.org> Mon, 30 Apr 2018 14:49:17 +0200
++
++patat (0.5.2.2-2) unstable; urgency=medium
++
++ * bump Standards-Compat to 4.1.3
++ - use priority "optional", instead of "extra"
++ * bump compat to 11 (no change required)
++ * move packaging repo to salsa
++
++ -- Félix Sipma <felix+debian@gueux.org> Wed, 07 Mar 2018 11:36:37 +0100
++
++patat (0.5.2.2-1) unstable; urgency=medium
++
++ * New upstream version 0.5.2.2
++ * update dependencies
++ * use https for the copyright-format URL
++ * use https for the Homepage URL
++ * bump Standard-Version to 4.0.0
++
++ -- Félix Sipma <felix+debian@gueux.org> Wed, 26 Jul 2017 10:37:11 +0200
++
++patat (0.5.1.2-1) experimental; urgency=medium
++
++ * New upstream version 0.5.1.2
++
++ -- Félix Sipma <felix+debian@gueux.org> Wed, 26 Apr 2017 14:16:27 +0200
++
++patat (0.5.1.1-1) experimental; urgency=medium
++
++ * New upstream version 0.5.1.1
++ * add bash-completion
++ * update dependencies
++
++ -- Félix Sipma <felix+debian@gueux.org> Mon, 24 Apr 2017 12:17:18 +0200
++
++patat (0.5.0.0-1) experimental; urgency=medium
++
++ * New upstream version 0.5.0.0
++
++ -- Félix Sipma <felix+debian@gueux.org> Mon, 06 Feb 2017 17:02:08 +0100
++
++patat (0.4.7.1-1) unstable; urgency=medium
++
++ * New upstream version 0.4.7.1
++
++ -- Félix Sipma <felix+debian@gueux.org> Mon, 23 Jan 2017 15:20:49 +0100
++
++patat (0.4.7.0-1) unstable; urgency=medium
++
++ * New upstream version 0.4.7.0
++ * update dependencies
++
++ -- Félix Sipma <felix+debian@gueux.org> Fri, 20 Jan 2017 14:39:17 +0100
++
++patat (0.4.6.0-1) unstable; urgency=medium
++
++ * New upstream version 0.4.6.0
++
++ -- Félix Sipma <felix+debian@gueux.org> Tue, 03 Jan 2017 16:13:46 +0100
++
++patat (0.4.5.0-1) unstable; urgency=medium
++
++ * New upstream version 0.4.5.0
++ * remove patch applied upstream
++
++ -- Félix Sipma <felix+debian@gueux.org> Mon, 12 Dec 2016 19:57:37 +0100
++
++patat (0.4.4.0-2) unstable; urgency=medium
++
++ * make build reproducible. Thanks, Daniel Shahaf (Closes: #846832)
++
++ -- Félix Sipma <felix+debian@gueux.org> Mon, 05 Dec 2016 09:22:37 +0100
++
++patat (0.4.4.0-1) unstable; urgency=medium
++
++ * New upstream version 0.4.4.0
++ * remove patch applied upstream
++
++ -- Félix Sipma <felix+debian@gueux.org> Fri, 02 Dec 2016 15:39:02 +0100
++
++patat (0.4.3.0-1) unstable; urgency=medium
++
++ * New upstream version 0.4.2.0
++ * generate and use upstream manpage
++ * update debian patch to debianize README.md
++ * add git as build dependency (needed for reproducible builds)
++ * remove pandoc as build dependency
++ * New upstream version 0.4.3.0
++ * remove git as build dependency
++ * use $(MAKE) instead of make in debian/rules
++ * add pandoc-data to build-depends
++ * use utf8 in extra/make-man.hs
++
++ -- Félix Sipma <felix+debian@gueux.org> Fri, 02 Dec 2016 14:11:58 +0100
++
++patat (0.4.0.0-1) unstable; urgency=medium
++
++ * New upstream version 0.4.0.0
++ * rebase Debian patch
++
++ -- Félix Sipma <felix+debian@gueux.org> Tue, 15 Nov 2016 15:27:42 +0100
++
++patat (0.3.3.0-1) unstable; urgency=medium
++
++ * Initial release (Closes: #840738)
++
++ -- Félix Sipma <felix+debian@gueux.org> Mon, 31 Oct 2016 13:28:53 +0100
--- /dev/null
--- /dev/null
++11
--- /dev/null
--- /dev/null
++Source: patat
++Maintainer: Félix Sipma <felix+debian@gueux.org>
++Priority: optional
++Section: haskell
++Build-Depends: debhelper (>= 11),
++ ghc,
++ libghc-aeson-dev (>= 0.9),
++ libghc-aeson-dev (<< 1.5),
++ libghc-ansi-terminal-dev (>= 0.6),
++ libghc-ansi-terminal-dev (<< 0.9),
++ libghc-ansi-wl-pprint-dev (>= 0.6),
++ libghc-ansi-wl-pprint-dev (<< 0.7),
++ libghc-base64-bytestring-dev (>= 1.0),
++ libghc-base64-bytestring-dev (<< 1.1),
++ libghc-mtl-dev (>= 2.2),
++ libghc-mtl-dev (<< 2.3),
++ libghc-optparse-applicative-dev (>= 0.12),
++ libghc-optparse-applicative-dev (<< 0.15),
++ libghc-pandoc-dev (>= 2.0.4),
++ libghc-pandoc-dev (<< 2.3),
++ libghc-skylighting-dev (>= 0.1),
++ libghc-skylighting-dev (<< 0.8),
++ libghc-terminal-size-dev (>= 0.3),
++ libghc-terminal-size-dev (<< 0.4),
++ libghc-text-dev (>= 1.2),
++ libghc-text-dev (<< 1.3),
++ libghc-colour-dev (>= 2.3),
++ libghc-colour-dev (<< 2.4),
++ libghc-unordered-containers-dev (>= 0.2),
++ libghc-unordered-containers-dev (<< 0.3),
++ libghc-yaml-dev (>= 0.7),
++ libghc-yaml-dev (<< 0.11),
++ pandoc-data
++Standards-Version: 4.2.1
++Homepage: https://github.com/jaspervdj/patat
++Vcs-Git: https://salsa.debian.org/felix-guest/patat.git
++Vcs-Browser: https://salsa.debian.org/felix-guest/patat
++
++Package: patat
++Architecture: any
++Section: misc
++Depends: ${shlibs:Depends}, ${haskell:Depends}, ${misc:Depends}
++Description: Terminal-based presentations using Pandoc
++ patat (*P*resentations *A*top *T*he *A*NSI *T*erminal) is a small tool that
++ allows you to show presentations using only an ANSI terminal. It does not
++ require `ncurses`.
--- /dev/null
--- /dev/null
++Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
++Upstream-Name: patat
++Upstream-Contact: Jasper Van der Jeugt <m@jaspervdj.be>
++Source: https://hackage.haskell.org/package/patat
++
++Files: *
++Copyright: 2016 Jasper Van der Jeugt <m@jaspervdj.be>
++License: GPL-2
++
++Files: debian/*
++Copyright: 2016 Félix Sipma <felix+debian@gueux.org>
++License: GPL-2
++
++License: GPL-2
++ This package is free software; you can redistribute it and/or modify
++ it under the terms of the GNU General Public License version 2 as
++ published by the Free Software Foundation.
++ .
++ This package is distributed in the hope that it will be useful,
++ but WITHOUT ANY WARRANTY; without even the implied warranty of
++ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
++ GNU General Public License for more details.
++ .
++ You should have received a copy of the GNU General Public License
++ along with this package; if not, write to the Free Software
++ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
++ .
++ On Debian systems, the complete text of the GNU General Public License version
++ 2 can be found in `/usr/share/common-licenses/GPL-2'.
--- /dev/null
--- /dev/null
++README.md
--- /dev/null
--- /dev/null
++# standard override for Haskell binary packages
++binary-or-shlib-defines-rpath
--- /dev/null
--- /dev/null
++extra/screenshot.png
--- /dev/null
--- /dev/null
++dist/build/patat/patat usr/bin
++bash-completion/completions/patat usr/share/bash-completion/completions
--- /dev/null
--- /dev/null
++extra/patat.1
--- /dev/null
--- /dev/null
++Description: Remove -N from rts options, ghc doesn't support it on armv6.
++Author: Peter Michael Green <plugwash@raspbian.org>
++
++---
++The information above should follow the Patch Tagging Guidelines, please
++checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
++are templates for supplementary fields that you might want to add:
++
++Origin: <vendor|upstream|other>, <url of original patch>
++Bug: <url in upstream bugtracker>
++Bug-Debian: https://bugs.debian.org/<bugnumber>
++Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
++Forwarded: <no|not-needed|url proving that it has been forwarded>
++Reviewed-By: <name and email of someone who approved the patch>
++Last-Update: 2019-01-27
++
++--- patat-0.8.1.2.orig/patat.cabal
+++++ patat-0.8.1.2/patat.cabal
++@@ -27,7 +27,7 @@ Flag patat-make-man
++
++ Executable patat
++ Main-is: Main.hs
++- Ghc-options: -Wall -threaded -rtsopts "-with-rtsopts=-N"
+++ Ghc-options: -Wall -threaded -rtsopts
++ Hs-source-dirs: src
++ Default-language: Haskell2010
++
--- /dev/null
--- /dev/null
++remove--N-option.patch
--- /dev/null
--- /dev/null
++#!/usr/bin/make -f
++
++# these rules originally written by Joey Hess for hothasktags package
++
++
++# Fix exception thrown running tests:
++# patat: <stdout>: commitBuffer: invalid argument (invalid character)
++export LANG=C.UTF-8
++export LC_ALL=C.UTF-8
++
++%:
++ dh $@
++
++override_dh_auto_configure:
++ ghc --make Setup
++ ./Setup configure
++
++override_dh_auto_build:
++ mkdir -p dist/build/patat
++ ghc extra/make-man.hs -o dist/build/patat/patat-make-man
++ ./Setup build
++ PATH="$(PATH):dist/build/patat/" $(MAKE) man
++ PATH="$(PATH):dist/build/patat/" $(MAKE) completion
++ mkdir -p bash-completion/completions
++ cp extra/patat.bash-completion bash-completion/completions/patat
++
++override_dh_auto_clean:
++ $(MAKE) clean
++ if [ -x Setup ]; then ./Setup clean; fi
++ rm -f Setup Setup.o Setup.hi
++
++override_dh_auto_test:
++ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
++ PATH="$(PATH):dist/build/patat/" bash test.sh
++endif
++
++override_dh_strip:
++ # GHC cannot produce debugging symbols so the -dbgsym package
++ # ends up empty, so disable generating it
++ dh_strip --no-automatic-dbgsym
--- /dev/null
--- /dev/null
++3.0 (quilt)
--- /dev/null
--- /dev/null
++version=3
++
++opts=filenamemangle=s/.+\/v?(\d\S*)\.tar\.gz/patat-$1\.tar\.gz/ \
++ https://github.com/jaspervdj/patat/tags .*/v?(\d\S*)\.tar\.gz