summaryrefslogtreecommitdiff
path: root/geography/qlandkartem/patches/patch-aa
diff options
context:
space:
mode:
Diffstat (limited to 'geography/qlandkartem/patches/patch-aa')
-rw-r--r--geography/qlandkartem/patches/patch-aa13
1 files changed, 13 insertions, 0 deletions
diff --git a/geography/qlandkartem/patches/patch-aa b/geography/qlandkartem/patches/patch-aa
new file mode 100644
index 00000000000..80249ad8c46
--- /dev/null
+++ b/geography/qlandkartem/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1 2010/03/02 21:48:55 jkunz Exp $
+
+--- 3rdparty/qserialiodevice.cpp.orig 2009-03-15 14:46:11.000000000 +0100
++++ 3rdparty/qserialiodevice.cpp
+@@ -464,7 +464,7 @@ void QPseudoTtyProcess::setupChildProces
+
+ //we have to change pppd's process group because pppd terminates its process group
+ //when receiving SIGTERM while it is running the chat script
+- int ret = ::setpgrp();
++ int ret = ::setpgid( 0, 0);
+ if ( ret < 0 )
+ perror("change process grp");
+ #endif