summaryrefslogtreecommitdiff
path: root/net/wimon
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2006-09-24 13:53:17 +0000
committerjoerg <joerg@pkgsrc.org>2006-09-24 13:53:17 +0000
commite6bc17546d9ae6cc90b741f3f29cd35fe73b6430 (patch)
tree1fb9092c34d54d09c01ba6d12d284a56240558af /net/wimon
parenta56127420d2af53065b17d3929d9f4862029d2a0 (diff)
downloadpkgsrc-e6bc17546d9ae6cc90b741f3f29cd35fe73b6430.tar.gz
Reuse MAX if it is already defined. Fixes build on DragonFly 1.6.
Diffstat (limited to 'net/wimon')
-rw-r--r--net/wimon/distinfo3
-rw-r--r--net/wimon/patches/patch-ab14
2 files changed, 16 insertions, 1 deletions
diff --git a/net/wimon/distinfo b/net/wimon/distinfo
index aac30eed790..a7e9cc09800 100644
--- a/net/wimon/distinfo
+++ b/net/wimon/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.4 2006/01/08 21:29:50 joerg Exp $
+$NetBSD: distinfo,v 1.5 2006/09/24 13:53:17 joerg Exp $
SHA1 (wimon-0.3.tar.gz) = 8be1bc6d4917adee5641310258fe77f8b265013f
RMD160 (wimon-0.3.tar.gz) = d8670b1ceb1fde0c0001b2e6ca39a82909cd42d4
Size (wimon-0.3.tar.gz) = 8103 bytes
SHA1 (patch-aa) = 5edbd8bbebf8aa31f6a95d4c1c5370a7d61f0e1a
+SHA1 (patch-ab) = 8bd60329cd0bb61ceff81e58774d1fabba65e9e7
diff --git a/net/wimon/patches/patch-ab b/net/wimon/patches/patch-ab
new file mode 100644
index 00000000000..3d1ad3d35dd
--- /dev/null
+++ b/net/wimon/patches/patch-ab
@@ -0,0 +1,14 @@
+$NetBSD: patch-ab,v 1.1 2006/09/24 13:53:17 joerg Exp $
+
+--- wimon.c.orig 2006-09-24 15:51:09.000000000 +0000
++++ wimon.c
+@@ -50,7 +50,9 @@
+ wattroff(a, b); \
+ }
+
++#ifndef MAX
+ #define MAX(a,b) ((a)<(b)?(b):(a))
++#endif
+ #define ABS(a) ((a)>0?(a):-(a))
+ #define INTERVAL (5)
+