summaryrefslogtreecommitdiff
path: root/x11-toolkits/xview/files/patch-lib+libxview+notify+ndet_loop.c
diff options
context:
space:
mode:
Diffstat (limited to 'x11-toolkits/xview/files/patch-lib+libxview+notify+ndet_loop.c')
-rw-r--r--x11-toolkits/xview/files/patch-lib+libxview+notify+ndet_loop.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/x11-toolkits/xview/files/patch-lib+libxview+notify+ndet_loop.c b/x11-toolkits/xview/files/patch-lib+libxview+notify+ndet_loop.c
index 3804f7bc32eb..bb851c9a55f8 100644
--- a/x11-toolkits/xview/files/patch-lib+libxview+notify+ndet_loop.c
+++ b/x11-toolkits/xview/files/patch-lib+libxview+notify+ndet_loop.c
@@ -1,6 +1,6 @@
---- lib/libxview/notify/ndet_loop.c.orig Tue Jun 29 07:18:19 1993
-+++ lib/libxview/notify/ndet_loop.c Sun Apr 2 03:32:17 2000
-@@ -14,13 +14,14 @@ static char sccsid[] = "@(#)ndet_loo
+--- lib/libxview/notify/ndet_loop.c.orig 2005-03-28 06:41:00.000000000 -0800
++++ lib/libxview/notify/ndet_loop.c 2012-02-02 21:04:53.576391986 -0800
+@@ -14,6 +14,7 @@
* Ndet_loop.c - Notification loop.
*/
@@ -8,21 +8,21 @@
#include <xview_private/i18n_impl.h>
#include <xview_private/ntfy.h>
#include <xview_private/ndet.h>
- #include <xview_private/nint.h>
+@@ -21,7 +22,7 @@
#include <xview_private/ndis.h> /* For ndis_dispatch */
+ #if !defined(__linux__) && !defined(__CYGWIN__)
#ifndef SVR4
-#include <syscall.h>
+#include <sys/syscall.h>
- #else SVR4
+ #else /* SVR4 */
#include <sys/syscall.h>
#include <sys/poll.h>
-@@ -224,7 +225,8 @@ notify_start()
+@@ -232,7 +233,7 @@
* will return with an EINTR when a signal arrives while IN
* select, not ON THE WAY into select).
*/
-#ifndef SVR4
-+
+#if !defined(SVR4) && !(defined(BSD) && (BSD >= 199103))
+ #if !defined(__linux__) && !defined(__CYGWIN__)
nfds = syscall(SYS_select,
FD_SETSIZE, &ibits, &obits, &ebits,
- (sigisempty(&ndet_sigs_received)) ? timer : &ndet_polling_tv);