Edit

IABSD.fr/ports/x11/xautolock/patches

Branch :

  • Show log

    Commit

  • Author : matthieu
    Date : 2002-03-19 19:45:15
    Hash : 6b7dec50
    Message : Re-add xautolock as a port. It was removed from main tree because of its GPL license. Ok brad@

  • patch-src_engine_c
  • --- src/engine.c.orig
    +++ src/engine.c
    @@ -209,7 +209,7 @@
     #else /* VMS */
       if (lockerPid)
       {
    -#if !defined (UTEKV) && !defined (SYSV) && !defined (SVR4)
    +#if !defined (UTEKV) && !defined (SYSV) && !defined (SVR4) && !defined(__OpenBSD__)
         union wait  status;      /* childs process status */
     #else /* !UTEKV && !SYSV && !SVR4 */
         int         status = 0;  /* childs process status */
    @@ -220,7 +220,7 @@
           (void) kill (lockerPid, SIGTERM);
         }
     
    -#if !defined (UTEKV) && !defined (SYSV) && !defined (SVR4)
    +#if !defined (UTEKV) && !defined (SYSV) && !defined (SVR4) && !defined(__OpenBSD__) 
         if (wait3 (&status, WNOHANG, 0))
     #else /* !UTEKV && !SYSV && !SVR4 */
         if (waitpid (-1, &status, WNOHANG))