summaryrefslogtreecommitdiff
path: root/time
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2006-01-02 22:34:10 +0000
committerjoerg <joerg@pkgsrc.org>2006-01-02 22:34:10 +0000
commit7fc1ff57ed8c9961dc036545b18ce55eaf4be52d (patch)
treef02b20a38ceeddc9b6bdfad8df31fb5c5a44a13a /time
parent94a948eb363ef54aaae16eb9621166ce69f6e9bb (diff)
downloadpkgsrc-7fc1ff57ed8c9961dc036545b18ce55eaf4be52d.tar.gz
Use flock on DragonFly.
Diffstat (limited to 'time')
-rw-r--r--time/xalarm/distinfo3
-rw-r--r--time/xalarm/patches/patch-ac14
2 files changed, 16 insertions, 1 deletions
diff --git a/time/xalarm/distinfo b/time/xalarm/distinfo
index e0c8d9d7e47..4a1b9015f07 100644
--- a/time/xalarm/distinfo
+++ b/time/xalarm/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.3 2005/02/23 19:14:56 wiz Exp $
+$NetBSD: distinfo,v 1.4 2006/01/02 22:34:10 joerg Exp $
SHA1 (xalarm-3.03.tar.Z) = 29e684cdfc05a09c9be313f29dc2482a13ef9f95
RMD160 (xalarm-3.03.tar.Z) = 9208d0cefc0c53b57d36c7f1129a3b4b83821ab2
@@ -11,3 +11,4 @@ RMD160 (xalarm-3.04-05.patch.Z) = 78225fad50d0d0f8b4225031b20b0eaff32a87fe
Size (xalarm-3.04-05.patch.Z) = 13014 bytes
SHA1 (patch-aa) = ce6ae4709df573f276055cbc1a576fb382e47ecd
SHA1 (patch-ab) = 750b887285c62124d792973696a459e3ac9dd007
+SHA1 (patch-ac) = c053df3ac2503a03233e076b590e6387b04f6faa
diff --git a/time/xalarm/patches/patch-ac b/time/xalarm/patches/patch-ac
new file mode 100644
index 00000000000..f87a94ad215
--- /dev/null
+++ b/time/xalarm/patches/patch-ac
@@ -0,0 +1,14 @@
+$NetBSD: patch-ac,v 1.1 2006/01/02 22:34:10 joerg Exp $
+
+--- file.c.orig 2006-01-02 22:30:11.000000000 +0000
++++ file.c
+@@ -29,6 +29,9 @@
+ /*
+ * We use fcntl() to lock files, or we can use flock() or lockf():
+ */
++#if defined(__DragonFly__)
++#define USEFLOCK 1
++#endif
+
+ #if defined (USEFLOCK)
+ #include <sys/file.h>