opnsense-ports/sysutils/apt/files/patch-apt-pkg_deb_dpkgpm.cc
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

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