pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/wimon Reuse MAX if it is already defined. Fixes bu...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/54c1cb57abf6
branches:  trunk
changeset: 518930:54c1cb57abf6
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Sun Sep 24 13:53:17 2006 +0000

description:
Reuse MAX if it is already defined. Fixes build on DragonFly 1.6.

diffstat:

 net/wimon/distinfo         |   3 ++-
 net/wimon/patches/patch-ab |  14 ++++++++++++++
 2 files changed, 16 insertions(+), 1 deletions(-)

diffs (30 lines):

diff -r 3d9243caf518 -r 54c1cb57abf6 net/wimon/distinfo
--- a/net/wimon/distinfo        Sun Sep 24 13:50:08 2006 +0000
+++ b/net/wimon/distinfo        Sun Sep 24 13:53:17 2006 +0000
@@ -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 -r 3d9243caf518 -r 54c1cb57abf6 net/wimon/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/wimon/patches/patch-ab        Sun Sep 24 13:53:17 2006 +0000
@@ -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)
+ 



Home | Main Index | Thread Index | Old Index