freebsd-ports/editors/openoffice/files/patch-sablot::Sablot-0.52.patch

26 lines
752 B
Diff
Raw Normal View History

--- ../sablot/Sablot-0.52.patch.orig Mon Mar 18 16:03:02 2002
+++ ../sablot/Sablot-0.52.patch Wed Apr 3 00:52:54 2002
@@ -3,7 +3,7 @@
***************
*** 1 ****
! dummy
---- 1,151 ----
+--- 1,156 ----
! #*************************************************************************
! #
! # $RCSfile: makefile.mk,v $
@@ -90,8 +90,13 @@
! .ENDIF
!
! .IF "$(GUI)"=="UNX"
+! .IF "$(OS)"=="NETBSD" || "$(OS)"=="FREEBSD"
! .IF "$(OS)"=="NETBSD"
! CFLAGS+= -DHAVE_SYS_TIMEB_H -DHAVE_GETTIMEOFDAY -DHAVE_ISNAN -DHAVE_FINITE
+! .ENDIF
+! .IF "$(OS)"=="FREEBSD"
+! CFLAGS+= -DHAVE_SYS_TIME_H -DHAVE_GETTIMEOFDAY -DHAVE_ISNAN -DHAVE_FINITE
+! .ENDIF
! .ELSE
! CFLAGS+= -DHAVE_SYS_TIMEB_H -DHAVE_FTIME -DHAVE_ISNAN -DHAVE_FINITE
! .ENDIF