Hello community,

here is the log from the commit of package xautolock for openSUSE:Factory 
checked in at 2016-10-10 16:25:46
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/xautolock (Old)
 and      /work/SRC/openSUSE:Factory/.xautolock.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "xautolock"

Changes:
--------
--- /work/SRC/openSUSE:Factory/xautolock/xautolock.changes      2014-11-11 
01:11:06.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.xautolock.new/xautolock.changes 2016-10-10 
16:25:59.000000000 +0200
@@ -1,0 +2,5 @@
+Mon Oct 10 10:06:32 UTC 2016 - meiss...@suse.com
+
+- xautolock-fixbuild.patch: fix build on factory, boo#1003289
+
+-------------------------------------------------------------------

New:
----
  xautolock-fixbuild.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ xautolock.spec ++++++
--- /var/tmp/diff_new_pack.OKKIJb/_old  2016-10-10 16:26:00.000000000 +0200
+++ /var/tmp/diff_new_pack.OKKIJb/_new  2016-10-10 16:26:00.000000000 +0200
@@ -23,6 +23,7 @@
 Url:            http://freecode.com/projects/xautolock/
 Group:          System/X11/Utilities
 Source:         
http://www.ibiblio.org/pub/Linux/X11/screensavers/%{name}-%{version}.tgz
+Patch0:         xautolock-fixbuild.patch
 Provides:       xautolck = %{version}
 Obsoletes:      xautolck <= %{version}
 BuildRequires:  imake
@@ -38,6 +39,7 @@
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 xmkmf -a

++++++ xautolock-fixbuild.patch ++++++
Index: xautolock-2.2/src/engine.c
===================================================================
--- xautolock-2.2.orig/src/engine.c
+++ xautolock-2.2/src/engine.c
@@ -210,7 +210,7 @@ evaluateTriggers (Display* d)
 #else /* VMS */
   if (lockerPid)
   {
-#if !defined (UTEKV) && !defined (SYSV) && !defined (SVR4)
+#if !defined (UTEKV) && !defined (SYSV) && !defined (SVR4) && !defined(linux)
     union wait  status;      /* childs process status */
 #else /* !UTEKV && !SYSV && !SVR4 */
     int         status = 0;  /* childs process status */
@@ -221,7 +221,7 @@ evaluateTriggers (Display* d)
       (void) kill (lockerPid, SIGTERM);
     }
 
-#if !defined (UTEKV) && !defined (SYSV) && !defined (SVR4)
+#if !defined (UTEKV) && !defined (SYSV) && !defined (SVR4) && !defined(linux)
     if (wait3 (&status, WNOHANG, 0))
 #else /* !UTEKV && !SYSV && !SVR4 */
     if (waitpid (-1, &status, WNOHANG)) 

Reply via email to