Skip to content
Snippets Groups Projects
Commit 929d154f authored by Florian Pritz's avatar Florian Pritz
Browse files

BUILDINFO rebuild

parent 44d1c38d
No related branches found
No related tags found
No related merge requests found
......@@ -4,15 +4,22 @@
pkgname=xautolock
pkgver=2.2
pkgrel=4
pkgrel=5
pkgdesc="An automatic X screen-locker/screen-saver"
arch=(x86_64)
url="http://ibiblio.org/pub/Linux/X11/screensavers/"
license=('GPL2')
depends=('libxss')
makedepends=('imake')
source=("http://ibiblio.org/pub/Linux/X11/screensavers/$pkgname-$pkgver.tgz")
md5sums=('9526347a202694ad235d731d9d3de91f')
source=("http://ibiblio.org/pub/Linux/X11/screensavers/$pkgname-$pkgver.tgz"
union-wait.patch)
md5sums=('9526347a202694ad235d731d9d3de91f'
'd313c2e392be59c2cbbb4226caf98bd4')
prepare() {
cd "$srcdir/$pkgname-$pkgver"
patch -p1 -i "$srcdir/union-wait.patch"
}
build() {
cd "$srcdir/$pkgname-$pkgver"
......
diff -ru xautolock-2.2-orig/src/engine.c xautolock-2.2/src/engine.c
--- xautolock-2.2-orig/src/engine.c 2007-12-28 18:15:26.000000000 +0100
+++ xautolock-2.2/src/engine.c 2018-05-31 14:13:55.438216644 +0200
@@ -210,22 +210,14 @@
#else /* VMS */
if (lockerPid)
{
-#if !defined (UTEKV) && !defined (SYSV) && !defined (SVR4)
- union wait status; /* childs process status */
-#else /* !UTEKV && !SYSV && !SVR4 */
int status = 0; /* childs process status */
-#endif /* !UTEKV && !SYSV && !SVR4 */
if (unlockNow && !disabled)
{
(void) kill (lockerPid, SIGTERM);
}
-#if !defined (UTEKV) && !defined (SYSV) && !defined (SVR4)
- if (wait3 (&status, WNOHANG, 0))
-#else /* !UTEKV && !SYSV && !SVR4 */
if (waitpid (-1, &status, WNOHANG))
-#endif /* !UTEKV && !SYSV && !SVR4 */
{
/*
* If the locker exited normally, we disable any pending kill
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment