From a8a726360842517904b3446c8ee94de67108f1df Mon Sep 17 00:00:00 2001 From: Adam Weinberger Date: Tue, 29 Jul 2014 16:09:41 +0000 Subject: Rename x11/ patch-xy patches to reflect the files they modify. --- x11/xautolock/files/patch-src__engine.c | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 x11/xautolock/files/patch-src__engine.c (limited to 'x11/xautolock/files/patch-src__engine.c') diff --git a/x11/xautolock/files/patch-src__engine.c b/x11/xautolock/files/patch-src__engine.c new file mode 100644 index 000000000000..eba24b2eb563 --- /dev/null +++ b/x11/xautolock/files/patch-src__engine.c @@ -0,0 +1,31 @@ +--- src/engine.c.orig 2007-12-28 15:15:26.000000000 -0200 ++++ src/engine.c 2008-02-18 23:25:01.000000000 -0300 +@@ -210,7 +210,9 @@ + #else /* VMS */ + if (lockerPid) + { +-#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 */ +@@ -283,7 +285,7 @@ + * For the time being, VMS users are out of luck: their xautolock + * will indeed block until the killer returns. + */ +- { int dummy; dummy = system (killer); } // Silly gcc... ++ { int dummy; dummy = system (killer); } /* Silly gcc... */ + setKillTrigger (killTime); + } + +@@ -299,7 +301,7 @@ + /* + * Here we use the same dirty trick as for the killer command. + */ +- { int dummy; dummy = system (notifier); } // Silly gcc... ++ { int dummy; dummy = system (notifier); } /* Silly gcc... */ + } + else + { -- cgit v1.2.3