diff options
Diffstat (limited to 'biology/nut/patches/patch-ab')
-rw-r--r-- | biology/nut/patches/patch-ab | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/biology/nut/patches/patch-ab b/biology/nut/patches/patch-ab index eece45db143..fa4cf477d1f 100644 --- a/biology/nut/patches/patch-ab +++ b/biology/nut/patches/patch-ab @@ -1,16 +1,22 @@ -$NetBSD: patch-ab,v 1.3 2003/08/11 07:26:01 wiz Exp $ +$NetBSD: patch-ab,v 1.4 2004/03/10 18:37:48 wiz Exp $ ---- db.c.orig Sun Aug 10 22:12:44 2003 +--- db.c.orig 2004-02-15 22:36:00.000000000 +0100 +++ db.c -@@ -23,6 +23,7 @@ +@@ -23,11 +23,12 @@ #include "meal.h" #include "options.h" #include "util.h" +-#ifndef DOS ++#ifdef DOS + #include <tgmath.h> + #else + #include <math.h> + #endif +#include <errno.h> #include <stdio.h> #include <stdlib.h> #include <string.h> -@@ -683,7 +684,13 @@ void make_filenames(void) +@@ -691,7 +692,13 @@ void make_filenames(void) sprintf(versionfile,"%s/%s","NUTDB",versionfile1); #else sprintf(nutdir,"%s/%s",getenv("HOME"),nutdir1); |