freebsd-ports/editors/openoffice.org-3-RC/files/patch-sablot::Sablot-0.52.patch
2002-03-05 17:25:00 +00:00

36 lines
984 B
Diff

--- ../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