aboutsummaryrefslogtreecommitdiff
path: root/math/rkward-kde4
diff options
context:
space:
mode:
authorThierry Thomas <thierry@FreeBSD.org>2011-11-18 17:24:45 +0000
committerThierry Thomas <thierry@FreeBSD.org>2011-11-18 17:24:45 +0000
commit3fe34cbcaba5d0df4c09e587920248fa1830ea19 (patch)
tree7cd2e7620366598d8708600d3a093947a6c5af55 /math/rkward-kde4
parent7c9cbfd4561ad31253b93d06bdd88a4bd335d8d0 (diff)
downloadports-3fe34cbcaba5d0df4c09e587920248fa1830ea19.tar.gz
ports-3fe34cbcaba5d0df4c09e587920248fa1830ea19.zip
Notes
Diffstat (limited to 'math/rkward-kde4')
-rw-r--r--math/rkward-kde4/files/patch-rkward_rbackend_rkrbackend.cpp16
1 files changed, 16 insertions, 0 deletions
diff --git a/math/rkward-kde4/files/patch-rkward_rbackend_rkrbackend.cpp b/math/rkward-kde4/files/patch-rkward_rbackend_rkrbackend.cpp
new file mode 100644
index 000000000000..3912272f47a9
--- /dev/null
+++ b/math/rkward-kde4/files/patch-rkward_rbackend_rkrbackend.cpp
@@ -0,0 +1,16 @@
+--- rkward/rbackend/rkrbackend.cpp.orig 2011-10-18 10:29:11.000000000 +0200
++++ rkward/rbackend/rkrbackend.cpp 2011-11-12 22:08:00.000000000 +0100
+@@ -1056,11 +1056,11 @@
+ if (backend_was_forked) return;
+ backend_was_forked = true;
+
+- // Block SIGCLD in the main thread from now on. I don't fully understand, why, but otherwise, these signals
++ // Block SIGCHLD in the main thread from now on. I don't fully understand, why, but otherwise, these signals
+ // interrupt the select() call in the fork()ing code of library(parallel)
+ sigset_t new_set;
+ sigemptyset (&new_set);
+- sigaddset (&new_set, SIGCLD);
++ sigaddset (&new_set, SIGCHLD);
+ pthread_sigmask (SIG_BLOCK, &new_set, NULL);
+
+ // This was used to show a warning message. Unfortunately, however, forks also occur on every popen (i.e. in system(..., intern=TRUE).