summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--misc/nut/Makefile2
-rw-r--r--misc/nut/distinfo2
-rw-r--r--misc/nut/files/patch-db.c14
3 files changed, 16 insertions, 2 deletions
diff --git a/misc/nut/Makefile b/misc/nut/Makefile
index 7ccc501fe878..9390d5dd123d 100644
--- a/misc/nut/Makefile
+++ b/misc/nut/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= nut
-PORTVERSION= 9.6
+PORTVERSION= 9.7
CATEGORIES= misc
MASTER_SITES= http://www.lafn.org/~av832/
PKGNAMEPREFIX= health-
diff --git a/misc/nut/distinfo b/misc/nut/distinfo
index 12a368aa45b2..0a0980b50222 100644
--- a/misc/nut/distinfo
+++ b/misc/nut/distinfo
@@ -1 +1 @@
-MD5 (nut-9.6.tar.gz) = f7e489926deb22588acca6e8bcea0939
+MD5 (nut-9.7.tar.gz) = 50046c4464cf0a2921ecb5cc9aa8a061
diff --git a/misc/nut/files/patch-db.c b/misc/nut/files/patch-db.c
new file mode 100644
index 000000000000..a0e01b01aa0b
--- /dev/null
+++ b/misc/nut/files/patch-db.c
@@ -0,0 +1,14 @@
+--- db.c.orig Wed Jan 7 00:42:33 2004
++++ db.c Wed Jan 7 00:42:41 2004
+@@ -23,11 +23,7 @@
+ #include "meal.h"
+ #include "options.h"
+ #include "util.h"
+-#ifndef DOS
+-#include <tgmath.h>
+-#else
+ #include <math.h>
+-#endif
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <string.h>