From 70faa8e9a0ff3cba74b4f753e257d56b768fcbd2 Mon Sep 17 00:00:00 2001 From: Mubashshir Date: Thu, 3 Aug 2023 16:33:41 +0600 Subject: Import Upstream version 1.1.1+bzr982 --- debian/patches/py3_inheritable.patch | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 debian/patches/py3_inheritable.patch (limited to 'debian/patches/py3_inheritable.patch') diff --git a/debian/patches/py3_inheritable.patch b/debian/patches/py3_inheritable.patch new file mode 100644 index 0000000..f642733 --- /dev/null +++ b/debian/patches/py3_inheritable.patch @@ -0,0 +1,14 @@ +=== modified file 'aptdaemon/progress.py' +--- a/aptdaemon/progress.py 2014-02-07 20:40:15 +0000 ++++ b/aptdaemon/progress.py 2014-04-11 11:58:33 +0000 +@@ -395,6 +395,9 @@ + self.last_activity = 0 + self.child_pid = 0 + self.status_parent_fd, self.status_child_fd = os.pipe() ++ if hasattr(os, "set_inheritable"): ++ os.set_inheritable(self.status_parent_fd, True) ++ os.set_inheritable(self.status_child_fd, True) + self.output = "" + self._line_buffer = "" + + -- cgit v1.2.3