aboutsummaryrefslogtreecommitdiffstats
path: root/editors/openoffice-3-devel
diff options
context:
space:
mode:
authormbr <mbr@FreeBSD.org>2002-03-05 23:49:56 +0800
committermbr <mbr@FreeBSD.org>2002-03-05 23:49:56 +0800
commitac71c656413fe746f5e0c5275b94e32a7d780729 (patch)
tree34735d9c0002e75630c47261a449378c9f18aabd /editors/openoffice-3-devel
parent98a66c8e3b6a0873f5ebd99528e4a02ab94ebace (diff)
downloadfreebsd-ports-gnome-ac71c656413fe746f5e0c5275b94e32a7d780729.tar.gz
freebsd-ports-gnome-ac71c656413fe746f5e0c5275b94e32a7d780729.tar.zst
freebsd-ports-gnome-ac71c656413fe746f5e0c5275b94e32a7d780729.zip
We do not have SYS_TIMEB_H. Instead use SYS_TIME_H
Diffstat (limited to 'editors/openoffice-3-devel')
-rw-r--r--editors/openoffice-3-devel/files/patch-sablot+Sablot-0.52.patch13
-rw-r--r--editors/openoffice-3-devel/files/patch-sablot::Sablot-0.52.patch13
2 files changed, 18 insertions, 8 deletions
diff --git a/editors/openoffice-3-devel/files/patch-sablot+Sablot-0.52.patch b/editors/openoffice-3-devel/files/patch-sablot+Sablot-0.52.patch
index c121e1997e32..3cb4e0b0640f 100644
--- a/editors/openoffice-3-devel/files/patch-sablot+Sablot-0.52.patch
+++ b/editors/openoffice-3-devel/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-3-devel/files/patch-sablot::Sablot-0.52.patch b/editors/openoffice-3-devel/files/patch-sablot::Sablot-0.52.patch
index c121e1997e32..3cb4e0b0640f 100644
--- a/editors/openoffice-3-devel/files/patch-sablot::Sablot-0.52.patch
+++ b/editors/openoffice-3-devel/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