aboutsummaryrefslogtreecommitdiffstats
path: root/editors/openoffice.org-2.0-devel/files/patch-sablot::Sablot-0.52.patch
blob: 3b44b26ac6c71db7d982889b5caf894c3c180ddc (plain) (blame)
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
28
29
30
31
32
33
34
35
--- ../sablot/Sablot-0.52.patch.orig    Mon Oct 29 19:18:40 2001
+++ ../sablot/Sablot-0.52.patch Tue Mar  5 18:16:07 2002
@@ -3,7 +3,7 @@
 ***************
 *** 1 ****
 ! dummy
---- 1,147 ----
+--- 1,157 ----
 ! #*************************************************************************
 ! #
 ! #   $RCSfile: makefile.mk,v $
@@ -85,12 +85,22 @@
 ! CFLAGS+=     -DHAVE_IEEEFP_H
 ! .ENDIF
 ! 
-! .IF "$(OS)"=="LINUX" || "$(OS)"=="MACOSX"
+! .IF "$(OS)"=="LINUX" || "$(OS)"=="MACOSX" || "$(OS)"=="NETBSD" || "$(OS)"=="FREEBSD"
 ! CFLAGS+=      -DHAVE_UNISTD_H
 ! .ENDIF
 ! 
 ! .IF "$(GUI)"=="UNX"
+!
+! .IF "$(OS)"=="MACOSX" || "$(OS)"=="NETBSD" || "$(OS)"=="FREEBSD"
+! .IF "$(OS)"=="FREEBSD"
+! CFLAGS+= -DHAVE_SYS_TIME_H
+! .ELSE
+! CFLAGS+= -DHAVE_SYS_TIMEB_H
+! .ENDIF
+! CFLAGS+=     -DHAVE_GETTIMEOFDAY -DHAVE_ISNAN -DHAVE_FINITE
+! .ELSE
 ! CFLAGS+=     -DHAVE_SYS_TIMEB_H -DHAVE_FTIME -DHAVE_ISNAN -DHAVE_FINITE
+! .ENDIF
 ! .ENDIF
 ! 
 ! CFLAGS+= -I$(SOLARINCDIR)$/external$/expat