1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-17 03:25:46 +00:00
freebsd-ports/sysutils/apt/files/patch-apt-pkg_deb_dpkgpm.cc
Martin Wilke dbc44398c0 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>
2007-02-11 23:00:35 +00:00

14 lines
593 B
C++

--- 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;