ports/88334: update x11/xautolock to 2.1

Andrew Pantyukhin sat at proxy.gubkin.ru
Tue Nov 1 15:40:43 UTC 2005


>Number:         88334
>Category:       ports
>Synopsis:       update x11/xautolock to 2.1
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Nov 01 15:40:16 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Andrew Pantyukhin
>Release:        FreeBSD 5.4-RELEASE-p8 i386
>Organization:
>Environment:
System: FreeBSD proxy.gubkin.ru 5.4-RELEASE-p8 FreeBSD 5.4-RELEASE-p8 #6: Thu Oct 20 19:33:42 MSD 2005 sat at proxy.gubkin.ru:/usr/obj/usr/src/sys/SATPROXYGUB i386


	
>Description:
	- Update to 2.1
	- Select more appropriate MASTER_SITES
	
>How-To-Repeat:
	
>Fix:

	

--- xautolock.diff begins here ---
diff -urN /usr/ports/x11/xautolock/Makefile xautolock/Makefile
--- /usr/ports/x11/xautolock/Makefile	Mon Feb 14 18:43:10 2005
+++ xautolock/Makefile	Tue Nov  1 18:23:51 2005
@@ -6,11 +6,10 @@
 #
 
 PORTNAME=	xautolock
-PORTVERSION=	1.15
+PORTVERSION=	2.1
 CATEGORIES=	x11
-MASTER_SITES=	${MASTER_SITE_XCONTRIB}
-MASTER_SITE_SUBDIR=	applications
-DISTNAME=	${PORTNAME}-pl15
+MASTER_SITES=	${MASTER_SITE_SUNSITE}
+MASTER_SITE_SUBDIR=	X11/screensavers
 EXTRACT_SUFX=	.tgz
 
 MAINTAINER=	ports at FreeBSD.org
diff -urN /usr/ports/x11/xautolock/distinfo xautolock/distinfo
--- /usr/ports/x11/xautolock/distinfo	Wed Mar 31 07:12:42 2004
+++ xautolock/distinfo	Tue Nov  1 16:38:06 2005
@@ -1,2 +1,2 @@
-MD5 (xautolock-pl15.tgz) = 927c6dcbec6fa3c38dac359bd4ba41f4
-SIZE (xautolock-pl15.tgz) = 39240
+MD5 (xautolock-2.1.tgz) = 35c22fd9748f872fdb3ce8d861951704
+SIZE (xautolock-2.1.tgz) = 33789
diff -urN /usr/ports/x11/xautolock/files/patch-aa xautolock/files/patch-aa
--- /usr/ports/x11/xautolock/files/patch-aa	Sun Aug 22 19:46:35 2004
+++ xautolock/files/patch-aa	Tue Nov  1 17:57:25 2005
@@ -1,45 +1,13 @@
-
-$FreeBSD: ports/x11/xautolock/files/patch-aa,v 1.3 2004/08/22 15:46:35 krion Exp $
-
---- xautolock.c.orig	Thu Mar 11 23:43:25 1999
-+++ xautolock.c	Sun Aug 22 17:45:10 2004
-@@ -297,6 +297,8 @@
-  *  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
-@@ -368,7 +370,9 @@
- #endif /* !NOSTDHDRS */
- 
- #if !defined (apollo) && !defined (VMS)
-+#if !defined (BSD)
- #include <malloc.h>
-+#endif /* !BSD */
- #include <unistd.h>
- #endif /* !apollo && !VMS */
- 
-@@ -1970,7 +1974,8 @@
- #ifdef __GNUC__
- 	default: /* Makes gcc -Wall shut up. */
- #endif /* __GNUC__ */
--      }
-+      break;
-+	}
-     }
-   }
-   else
-@@ -2028,7 +2033,9 @@
+--- src/engine.c.orig	Tue Nov  1 16:57:31 2005
++++ src/engine.c	Tue Nov  1 17:11:51 2005
+@@ -209,7 +209,9 @@
  #else /* VMS */
-   if (locker_pid)
+   if (lockerPid)
    {
--#if !defined (UTEKV) && !defined (SYSV) && !defined(SVR4)
-+#if defined (BSD)
-+    int status;
-+#elif !defined (UTEKV) && !defined (SYSV) && !defined(SVR4)
+-#if !defined (UTEKV) && !defined (SYSV) && !defined (SVR4)
++#if defined (__FreeBSD__)
++    int		status;
++#elif !defined (UTEKV) && !defined (SYSV) && !defined (SVR4)
      union wait  status;      /* childs process status */
  #else /* !UTEKV && !SYSV && !SVR4 */
      int         status = 0;  /* childs process status */
--- xautolock.diff ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list