summaryrefslogtreecommitdiff
path: root/editors/openoffice-1.1/files/patch-sablot+Sablot-0.52.patch
diff options
context:
space:
mode:
authorMartin Blapp <mbr@FreeBSD.org>2002-03-05 15:49:56 +0000
committerMartin Blapp <mbr@FreeBSD.org>2002-03-05 15:49:56 +0000
commit030ef7ce184a2f11a514ba20b02fc6be60fe11e0 (patch)
tree65442cbf0289d902d66a6ce23c5da545654ca68e /editors/openoffice-1.1/files/patch-sablot+Sablot-0.52.patch
parentThe distfile changed but the version number is the same. (diff)
We do not have SYS_TIMEB_H. Instead use SYS_TIME_H
Notes
Notes: svn path=/head/; revision=55578
Diffstat (limited to 'editors/openoffice-1.1/files/patch-sablot+Sablot-0.52.patch')
-rw-r--r--editors/openoffice-1.1/files/patch-sablot+Sablot-0.52.patch13
1 files changed, 9 insertions, 4 deletions
diff --git a/editors/openoffice-1.1/files/patch-sablot+Sablot-0.52.patch b/editors/openoffice-1.1/files/patch-sablot+Sablot-0.52.patch
index c121e1997e32..3cb4e0b0640f 100644
--- a/editors/openoffice-1.1/files/patch-sablot+Sablot-0.52.patch
+++ b/editors/openoffice-1.1/files/patch-sablot+Sablot-0.52.patch
@@ -4,8 +4,8 @@
***************
*** 1 ****
! dummy
----- 1,147 ----
-+--- 1,151 ----
+---- 1,157 ----
++--- 1,157 ----
! #*************************************************************************
! #
! # $RCSfile: makefile.mk,v $
@@ -19,9 +19,14 @@
! .ENDIF
!
! .IF "$(GUI)"=="UNX"
-+
++!
+! .IF "$(OS)"=="MACOSX" || "$(OS)"=="NETBSD" || "$(OS)"=="FREEBSD"
-+! CFLAGS+= -DHAVE_SYS_TIMEB_H -DHAVE_GETTIMEOFDAY -DHAVE_ISNAN -DHAVE_FINITE
++! .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