aboutsummaryrefslogtreecommitdiff
path: root/x11/xautolock
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2008-02-19 08:41:43 +0000
committerMartin Wilke <miwi@FreeBSD.org>2008-02-19 08:41:43 +0000
commitcfdf0f8339fa3b071a7d75464355da13871eeb4b (patch)
tree463bab77270fbee70e9c776f674da063b145ae36 /x11/xautolock
parent534294fdd9ae63d9b0b420827070a16c98ac041e (diff)
downloadports-cfdf0f8339fa3b071a7d75464355da13871eeb4b.tar.gz
ports-cfdf0f8339fa3b071a7d75464355da13871eeb4b.zip
Notes
Diffstat (limited to 'x11/xautolock')
-rw-r--r--x11/xautolock/files/patch-aa24
-rw-r--r--x11/xautolock/files/patch-ab11
-rw-r--r--x11/xautolock/files/patch-ac11
3 files changed, 43 insertions, 3 deletions
diff --git a/x11/xautolock/files/patch-aa b/x11/xautolock/files/patch-aa
index c5857566f5eb..eba24b2eb563 100644
--- a/x11/xautolock/files/patch-aa
+++ b/x11/xautolock/files/patch-aa
@@ -1,6 +1,6 @@
---- 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 @@
+--- 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)
{
@@ -11,3 +11,21 @@
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
+ {
diff --git a/x11/xautolock/files/patch-ab b/x11/xautolock/files/patch-ab
new file mode 100644
index 000000000000..1e5c5f918440
--- /dev/null
+++ b/x11/xautolock/files/patch-ab
@@ -0,0 +1,11 @@
+--- include/options.h.orig 2007-09-30 18:30:29.000000000 -0300
++++ include/options.h 2008-02-18 23:26:18.000000000 -0300
+@@ -39,7 +39,7 @@
+ msg_exit, /* kill a running xautolock */
+ msg_lockNow, /* tell running xautolock to lock now */
+ msg_unlockNow, /* tell running xautolock to unlock now */
+- msg_restart, /* tell running xautolock to restart */
++ msg_restart /* tell running xautolock to restart */
+ } message;
+
+ /*
diff --git a/x11/xautolock/files/patch-ac b/x11/xautolock/files/patch-ac
new file mode 100644
index 000000000000..c60f93893974
--- /dev/null
+++ b/x11/xautolock/files/patch-ac
@@ -0,0 +1,11 @@
+--- src/message.c.orig 2007-09-30 18:30:42.000000000 -0300
++++ src/message.c 2008-02-18 23:32:17.000000000 -0300
+@@ -202,7 +202,7 @@
+ /*
+ * Function for creating the communication atoms.
+ */
+-void
++static void
+ getAtoms (Display* d)
+ {
+ char* sem; /* semaphore property name */