]> git.ipfire.org Git - people/ms/dma.git/commitdiff
Add the 36-sa_nocldwait patch - fix the Hurd FTBFS.
authorPeter Pentchev <roam@ringlet.net>
Thu, 7 Oct 2010 08:31:24 +0000 (11:31 +0300)
committerPeter Pentchev <roam@ringlet.net>
Thu, 7 Oct 2010 08:31:24 +0000 (11:31 +0300)
changelog
patches/36-sa_nocldwait.patch [new file with mode: 0644]
patches/series

index 592667c4eaa3876e3759ff16195ac798047f1d10..2dec5e01d6a493bff134215ee7fac05e48e6cdd5 100644 (file)
--- a/changelog
+++ b/changelog
@@ -1,3 +1,9 @@
+dma (0.0.2010.06.17-5) UNRELEASED; urgency=low
+
+  * Only use SA_NOCLDWAIT if available to fix the Hurd FTBFS.
+
+ -- Peter Pentchev <roam@ringlet.net>  Thu, 07 Oct 2010 11:27:01 +0300
+
 dma (0.0.2010.06.17-4) unstable; urgency=low
 
   * Fix an infinite loop in dma-migrate if char is unsigned.
diff --git a/patches/36-sa_nocldwait.patch b/patches/36-sa_nocldwait.patch
new file mode 100644 (file)
index 0000000..9871a5e
--- /dev/null
@@ -0,0 +1,17 @@
+Description: Do not use SA_NOCLDWAIT on platforms like the GNU Hurd.
+Forwarded: no
+Author: Peter Pentchev <roam@ringlet.net>
+Last-Update: 2010-10-07
+
+--- a/dma.c
++++ b/dma.c
+@@ -218,7 +218,9 @@
+       daemonize = 0;
+       bzero(&sa, sizeof(sa));
++#ifdef SA_NOCLDWAIT
+       sa.sa_flags = SA_NOCLDWAIT;
++#endif
+       sa.sa_handler = SIG_IGN;
+       sigaction(SIGCHLD, &sa, NULL);
index a384032d2990f51dd18bdec0483b9dd7eeb0bdb1..63f6e9bca3a7af9b181d891ea16a25bea108c803 100644 (file)
@@ -18,3 +18,4 @@
 33-opportunistic-tls.patch
 34-manpage-defaults.patch
 35-delivery-retry.patch
+36-sa_nocldwait.patch