From 030ef7ce184a2f11a514ba20b02fc6be60fe11e0 Mon Sep 17 00:00:00 2001 From: Martin Blapp Date: Tue, 5 Mar 2002 15:49:56 +0000 Subject: We do not have SYS_TIMEB_H. Instead use SYS_TIME_H --- editors/openoffice-1.1/files/patch-sablot+Sablot-0.52.patch | 13 +++++++++---- .../openoffice-1.1/files/patch-sablot::Sablot-0.52.patch | 13 +++++++++---- 2 files changed, 18 insertions(+), 8 deletions(-) (limited to 'editors/openoffice-1.1/files') 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 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 -- cgit v1.2.3