summaryrefslogtreecommitdiff
path: root/repo/x11/xautolock
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-05-31 11:05:19 +0100
committerdavidovski <david@davidovski.xyz>2022-05-31 11:05:19 +0100
commit48ca75555522716f0f686dcae3dd6cf3d8ad714d (patch)
tree00c0f58550ba4661e87376f2f02c8001c69bae44 /repo/x11/xautolock
parent871b2b573f01c1b3176a0f65458b3d281b41c437 (diff)
removed idea of repos
Diffstat (limited to 'repo/x11/xautolock')
-rw-r--r--repo/x11/xautolock/processwait.patch33
-rw-r--r--repo/x11/xautolock/xautolock.xibuild26
2 files changed, 0 insertions, 59 deletions
diff --git a/repo/x11/xautolock/processwait.patch b/repo/x11/xautolock/processwait.patch
deleted file mode 100644
index a288d9a..0000000
--- a/repo/x11/xautolock/processwait.patch
+++ /dev/null
@@ -1,33 +0,0 @@
---- a/src/engine.c.orig 2014-08-28 12:50:56.086307943 +0000
-+++ b/src/engine.c 2014-08-28 12:50:59.496333650 +0000
-@@ -209,24 +209,24 @@ evaluateTriggers (Display* d)
- {
- #else /* VMS */
- if (lockerPid)
- {
--#if !defined (UTEKV) && !defined (SYSV) && !defined (SVR4)
-+#if (!defined (UTEKV) && !defined (SYSV) && !defined (SVR4)) && defined (__GLIBC__)
- union wait status; /* childs process status */
--#else /* !UTEKV && !SYSV && !SVR4 */
-+#else /* (!UTEKV && !SYSV && !SVR4) && __GLIBC__ */
- int status = 0; /* childs process status */
--#endif /* !UTEKV && !SYSV && !SVR4 */
-+#endif /* (!UTEKV && !SYSV && !SVR4) && __GLIBC__ */
-
- if (unlockNow && !disabled)
- {
- (void) kill (lockerPid, SIGTERM);
- }
-
--#if !defined (UTEKV) && !defined (SYSV) && !defined (SVR4)
-+#if (!defined (UTEKV) && !defined (SYSV) && !defined (SVR4)) && defined (__GLIBC__)
- if (wait3 (&status, WNOHANG, 0))
--#else /* !UTEKV && !SYSV && !SVR4 */
-+#else /* (!UTEKV && !SYSV && !SVR4) && __GLIBC__ */
- if (waitpid (-1, &status, WNOHANG))
--#endif /* !UTEKV && !SYSV && !SVR4 */
-+#endif /* (!UTEKV && !SYSV && !SVR4) && __GLIBC__ */
- {
- /*
- * If the locker exited normally, we disable any pending kill
- * trigger. Otherwise, we assume that it either has crashed or
diff --git a/repo/x11/xautolock/xautolock.xibuild b/repo/x11/xautolock/xautolock.xibuild
deleted file mode 100644
index 75476d6..0000000
--- a/repo/x11/xautolock/xautolock.xibuild
+++ /dev/null
@@ -1,26 +0,0 @@
-#!/bin/sh
-
-NAME="xautolock"
-DESC="An automatic X screen-locker/screen-saver"
-
-MAKEDEPS="make imake xorg-cf-files"
-DEPS="libx11 libxscrnsaver musl "
-
-PKG_VER=2.2
-SOURCE="https://www.ibiblio.org/pub/linux/X11/screensavers/xautolock-$PKG_VER.tgz"
-ADDITIONAL="processwait.patch "
-
-
-prepare () {
- apply_patches
-}
-
-build () {
- xmkmf
- make
-}
-
-package () {
- make PREFIX=/usr DESTDIR=$PKG_DEST install
- make MANPATH=/usr/share/man DESTDIR=$PKG_DEST install.man
-}