summaryrefslogtreecommitdiff
path: root/comms/echolinux/files/patch-echogui_testgui_cb.c
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2006-03-20 21:11:01 +0000
committerPav Lucistnik <pav@FreeBSD.org>2006-03-20 21:11:01 +0000
commite312077ae1ec01c523f2ad25503fc16829388a79 (patch)
tree97365259b59bf6c1ed414aa8893af759eda269ff /comms/echolinux/files/patch-echogui_testgui_cb.c
parentForgot to commit the patch for AT90USB647. (diff)
- Update to 0.17a
PR: ports/94700 Submitted by: Diane Bruce <db@db.net> (maintainer)
Diffstat (limited to 'comms/echolinux/files/patch-echogui_testgui_cb.c')
-rw-r--r--comms/echolinux/files/patch-echogui_testgui_cb.c34
1 files changed, 0 insertions, 34 deletions
diff --git a/comms/echolinux/files/patch-echogui_testgui_cb.c b/comms/echolinux/files/patch-echogui_testgui_cb.c
deleted file mode 100644
index 706e1e6ab09f..000000000000
--- a/comms/echolinux/files/patch-echogui_testgui_cb.c
+++ /dev/null
@@ -1,34 +0,0 @@
---- echogui/testgui_cb.c.orig Tue Feb 3 03:28:03 2004
-+++ echogui/testgui_cb.c Mon Jul 5 00:14:13 2004
-@@ -14,9 +14,10 @@
- #include <linux/soundcard.h>
- #include <sys/ioctl.h>
- #include <fcntl.h>
--#include <forms.h>
-+#include <X11/forms.h>
- #include <math.h>
- #include <signal.h>
-+#include <pthread.h>
-
- #include "testgui.h"
- #include "serverglobals.h"
-@@ -345,6 +346,7 @@
- {
- int error;
- char line[3];
-+ struct timeval timenow;
- struct timespec timeout;
-
- // kill(controlPid, SIGKILL);
-@@ -354,8 +356,9 @@
- line[1] = '\n';
- write(controlOutPipe[1], line, 2);
-
-- gettimeofday(&timeout);
-- timeout.tv_sec += 5;
-+ gettimeofday(&timenow, NULL);
-+ timeout.tv_sec = timenow.tv_sec + 5;
-+ timeout.tv_nsec = 0;
- pthread_mutex_lock(&serverLoggedOffLock);
- sendServerCommand(LOGOFF);
- pthread_cond_timedwait(&serverLoggedOff,