[DHG_packages] 01/01: hsh: Patch in order to work with newer versions of process

Ilias Tsitsimpis iliastsi-guest at moszumanska.debian.org
Wed Dec 7 17:11:15 UTC 2016


This is an automated email from the git hooks/post-receive script.

iliastsi-guest pushed a commit to branch master
in repository DHG_packages.

commit cf05763f0c7a58ef8017cdf04aca2486ce8ed9df
Author: Ilias Tsitsimpis <i.tsitsimpis at gmail.com>
Date:   Wed Dec 7 19:05:03 2016 +0200

    hsh: Patch in order to work with newer versions of process
---
 p/haskell-hsh/debian/changelog             |  7 +++++
 p/haskell-hsh/debian/patches/newer-process | 41 ++++++++++++++++++++++++++++++
 p/haskell-hsh/debian/patches/series        |  1 +
 3 files changed, 49 insertions(+)

diff --git a/p/haskell-hsh/debian/changelog b/p/haskell-hsh/debian/changelog
index a153363..a9b5eba 100644
--- a/p/haskell-hsh/debian/changelog
+++ b/p/haskell-hsh/debian/changelog
@@ -1,3 +1,10 @@
+haskell-hsh (2.1.2-7) unstable; urgency=medium
+
+  * Patch in order to work with newer versions of
+    process (Closes: #847158).
+
+ -- Ilias Tsitsimpis <i.tsitsimpis at gmail.com>  Wed, 07 Dec 2016 19:04:41 +0200
+
 haskell-hsh (2.1.2-6) unstable; urgency=medium
 
   * Upload to unstable as part of GHC 8 transition.
diff --git a/p/haskell-hsh/debian/patches/newer-process b/p/haskell-hsh/debian/patches/newer-process
new file mode 100644
index 0000000..cb3c590
--- /dev/null
+++ b/p/haskell-hsh/debian/patches/newer-process
@@ -0,0 +1,41 @@
+Description: Update for fields added in newer versions of process
+Author: Ilias Tsitsimpis <i.tsitsimpis at gmail.com>
+Bug-Debian: https://bugs.debian.org/847158
+Forwarded: https://github.com/jgoerzen/hsh/pull/16
+
+Index: b/HSH/Command.hs
+===================================================================
+--- a/HSH/Command.hs
++++ b/HSH/Command.hs
+@@ -301,6 +301,15 @@ genericCommand c environ (ChanHandle ih)
+ #if MIN_VERSION_process(1,2,0)
+ 			    , delegate_ctlc = False
+ #endif
++#if MIN_VERSION_process(1,3,0)
++          , detach_console = False
++          , create_new_console = False
++          , new_session = False
++#endif
++#if MIN_VERSION_process(1,4,0)
++          , child_group = Nothing
++          , child_user = Nothing
++#endif
+ 			   }
+     in do (_, oh', _, ph) <- createProcess cp
+           let oh = fromJust oh'
+@@ -320,6 +329,15 @@ genericCommand cspec environ ichan =
+ #if MIN_VERSION_process(1,2,0)
+ 			    , delegate_ctlc = False
+ #endif
++#if MIN_VERSION_process(1,3,0)
++          , detach_console = False
++          , create_new_console = False
++          , new_session = False
++#endif
++#if MIN_VERSION_process(1,4,0)
++          , child_group = Nothing
++          , child_user = Nothing
++#endif
+ 			   }
+     in do (ih', oh', _, ph) <- createProcess cp
+           let ih = fromJust ih'
diff --git a/p/haskell-hsh/debian/patches/series b/p/haskell-hsh/debian/patches/series
index 8320b23..bb486e7 100644
--- a/p/haskell-hsh/debian/patches/series
+++ b/p/haskell-hsh/debian/patches/series
@@ -1 +1,2 @@
 newer-directory
+newer-process

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-haskell/DHG_packages.git



More information about the Pkg-haskell-commits mailing list