diff options
author | hubertf <hubertf@pkgsrc.org> | 1997-12-29 04:22:57 +0000 |
---|---|---|
committer | hubertf <hubertf@pkgsrc.org> | 1997-12-29 04:22:57 +0000 |
commit | 7cc11e4a0517572a410284b150fdf2ac5dccc60a (patch) | |
tree | b8a6782b362e6e7c8d41dbdabcda63380fc0554d /x11/xautolock/patches | |
parent | 7c5d08d8cd24734299379d70677eedd0f6eebdec (diff) | |
download | pkgsrc-7cc11e4a0517572a410284b150fdf2ac5dccc60a.tar.gz |
Used to activate xlock after a user defined time of inactivity.
Diffstat (limited to 'x11/xautolock/patches')
-rw-r--r-- | x11/xautolock/patches/patch-aa | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/x11/xautolock/patches/patch-aa b/x11/xautolock/patches/patch-aa new file mode 100644 index 00000000000..c10821e552d --- /dev/null +++ b/x11/xautolock/patches/patch-aa @@ -0,0 +1,47 @@ +*** xautolock.c.orig Sat Jul 20 17:32:41 1996 +--- xautolock.c Sat Jul 20 17:56:41 1996 +*************** +*** 196,201 **** +--- 196,203 ---- + * with vroot.h, because it needs to know the real root window. + */ + ++ #include <sys/param.h> ++ + #if defined(hpux) || defined (__hpux) + #ifndef _HPUX_SOURCE + #define _HPUX_SOURCE +*************** +*** 235,241 **** +--- 237,247 ---- + #endif /* !NOSTDHDRS */ + + #if !defined (apollo) && !defined (VMS) ++ ++ #if !defined (BSD) + #include <malloc.h> ++ #endif /* !BSD */ ++ + #include <unistd.h> + #endif /* !apollo && !VMS */ + +*************** +*** 1587,1593 **** + #else /* VMS */ + if (locker_pid) + { +! #if !defined (UTEKV) && !defined (SYSV) && !defined(SVR4) + union wait status; /* childs process status */ + #else /* !UTEKV && !SYSV && !SVR4 */ + int status; /* childs process status */ +--- 1593,1602 ---- + #else /* VMS */ + if (locker_pid) + { +! +! #if defined (BSD) +! int status; +! #elif !defined (UTEKV) && !defined (SYSV) && !defined(SVR4) + union wait status; /* childs process status */ + #else /* !UTEKV && !SYSV && !SVR4 */ + int status; /* childs process status */ |