summaryrefslogtreecommitdiff
path: root/misc/openoffice/patches/patch-bh
blob: 5844bce662e5e9b6ae304a3fa9fe3f163c333798 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
$NetBSD: patch-bh,v 1.1.1.1 2002/02/13 18:09:22 mrauch Exp $

--- ../sablot/Sablot-0.52.patch.orig	Sun Jan  6 13:12:45 2002
+++ ../sablot/Sablot-0.52.patch
@@ -4,5 +4,5 @@
 *** 1 ****
 ! dummy
---- 1,147 ----
+--- 1,151 ----
 ! #*************************************************************************
 ! #
@@ -86,10 +86,14 @@
 ! .ENDIF
 ! 
-! .IF "$(OS)"=="LINUX" || "$(OS)"=="MACOSX" || "$(OS)"=="IRIX"
+! .IF "$(OS)"=="LINUX" || "$(OS)"=="MACOSX" || "$(OS)"=="IRIX" || "$(OS)"=="NETBSD"
 ! CFLAGS+=      -DHAVE_UNISTD_H
 ! .ENDIF
 ! 
 ! .IF "$(GUI)"=="UNX"
+! .IF "$(OS)"=="NETBSD"
+! CFLAGS+=     -DHAVE_SYS_TIMEB_H -DHAVE_GETTIMEOFDAY -DHAVE_ISNAN -DHAVE_FINITE
+! .ELSE
 ! CFLAGS+=     -DHAVE_SYS_TIMEB_H -DHAVE_FTIME -DHAVE_ISNAN -DHAVE_FINITE
+! .ENDIF
 ! .ENDIF
 !