summaryrefslogtreecommitdiff
path: root/sysutils/apt/files/patch-apt-pkg_deb_dpkgpm.cc
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2007-02-11 23:00:35 +0000
committerMartin Wilke <miwi@FreeBSD.org>2007-02-11 23:00:35 +0000
commitdbc44398c0c4985d87788a366cc07af63ecd2cd8 (patch)
treed45553e9d6456ddf0882a9066aca747a932f1bb2 /sysutils/apt/files/patch-apt-pkg_deb_dpkgpm.cc
parentUpdate to version 1.46. (diff)
APT is the Debian project's advanced front-end for dpkg. APT features complete
installation ordering, multiple source capability and several other unique features. WWW: http://packages.debian.org/apt PR: ports/105563 Submitted by: Nick Barkas <snb at threerings.net>
Notes
Notes: svn path=/head/; revision=184923
Diffstat (limited to 'sysutils/apt/files/patch-apt-pkg_deb_dpkgpm.cc')
-rw-r--r--sysutils/apt/files/patch-apt-pkg_deb_dpkgpm.cc13
1 files changed, 13 insertions, 0 deletions
diff --git a/sysutils/apt/files/patch-apt-pkg_deb_dpkgpm.cc b/sysutils/apt/files/patch-apt-pkg_deb_dpkgpm.cc
new file mode 100644
index 000000000000..b0481cfc6839
--- /dev/null
+++ b/sysutils/apt/files/patch-apt-pkg_deb_dpkgpm.cc
@@ -0,0 +1,13 @@
+--- apt-pkg/deb/dpkgpm.cc.orig Sat Sep 30 07:17:49 2006
++++ apt-pkg/deb/dpkgpm.cc Mon Oct 23 13:42:03 2006
+@@ -515,8 +515,8 @@
+ it forks scripts. What happens is that when you hit ctrl-c it sends
+ it to all processes in the group. Since dpkg ignores the signal
+ it doesn't die but we do! So we must also ignore it */
+- sighandler_t old_SIGQUIT = signal(SIGQUIT,SIG_IGN);
+- sighandler_t old_SIGINT = signal(SIGINT,SIG_IGN);
++ sig_t old_SIGQUIT = signal(SIGQUIT,SIG_IGN);
++ sig_t old_SIGINT = signal(SIGINT,SIG_IGN);
+
+ // Fork dpkg
+ pid_t Child;