aboutsummaryrefslogtreecommitdiffstats
path: root/editors/openoffice
diff options
context:
space:
mode:
authormbr <mbr@FreeBSD.org>2002-08-09 01:20:20 +0800
committermbr <mbr@FreeBSD.org>2002-08-09 01:20:20 +0800
commit1d4ecb9235eefdf5fdece626959583f4c64f4a68 (patch)
treec46f919bd220358980e7c107b33f7b5387d24009 /editors/openoffice
parent62c7588aade83c74d76a0d34e9729a621d3cf798 (diff)
downloadfreebsd-ports-gnome-1d4ecb9235eefdf5fdece626959583f4c64f4a68.tar.gz
freebsd-ports-gnome-1d4ecb9235eefdf5fdece626959583f4c64f4a68.tar.zst
freebsd-ports-gnome-1d4ecb9235eefdf5fdece626959583f4c64f4a68.zip
Add optional TTF patch.
Submitted by: Alexander Kabaev <ak03@gte.com>
Diffstat (limited to 'editors/openoffice')
-rw-r--r--editors/openoffice/Makefile22
-rw-r--r--editors/openoffice/files/optpatch-freetype+patch208
-rw-r--r--editors/openoffice/files/optpatch-freetype::patch208
-rw-r--r--editors/openoffice/files/optpatch-vcl+util+makefile.pmk11
-rw-r--r--editors/openoffice/files/optpatch-vcl::util::makefile.pmk11
5 files changed, 460 insertions, 0 deletions
diff --git a/editors/openoffice/Makefile b/editors/openoffice/Makefile
index d1cb7291e8f4..6470cc6e551d 100644
--- a/editors/openoffice/Makefile
+++ b/editors/openoffice/Makefile
@@ -187,6 +187,19 @@ pre-fetch:
@${ECHO} "OO.org debug support.
@${ECHO}
.endif
+.if !defined(WITH_TTF_BYTECODE_ENABLED)
+ @${ECHO}
+ @${ECHO} "You may set WITH_TTF_BYTECODE_ENABLED=YES"
+ @${ECHO} "if you like to use the Freetype library to"
+ @${ECHO} "render TTF fonts. Normally the TTF lib is"
+ @${ECHO} "not used to render fonts."
+ @${ECHO}
+ @${ECHO} "If you have licensed the Apple patents"
+ @${ECHO} "US05155805 US05159668 and US05325479"
+ @${ECHO} "you can enable this option to get better"
+ @${ECHO} "quality of glyphs at small bitmap sizes."
+ @${ECHO}
+.endif
.if ${OSVERSION} < 450002
@${ECHO}
@${ECHO} "OS-VERSION ${OSVERSION} too low"
@@ -268,6 +281,15 @@ post-extract:
@${CP} ${WRKDIR}/FREEBSDGCCIruntime.zip ${WRKSRC}/../moz/zipped/
post-patch:
+.if defined(WITH_TTF_BYTECODE_ENABLED)
+ @if [ "`echo ${PATCHDIR}/optpatch-*`" != "${PATCHDIR}/optpatch-*" ]; then \
+ ${ECHO_MSG} "===> Applying additional TTF bytecode patches for ${PKGNAME}" ; \
+ if [ ${PATCH_DEBUG_TMP} = yes ]; then \
+ ${ECHO_MSG} "===> Applying ${OPSYS} patch ${PATCHDIR}/optpatch-freetype::patch" ; \
+ fi; \
+ ${PATCH} ${PATCH_ARGS} < ${PATCHDIR}/optpatch-freetype::patch ; \
+ fi
+.endif
.if defined(WITH_DEBUG)
@if [ "`echo ${PATCHDIR}/debugpatch-*`" != "${PATCHDIR}/debugpatch-*" ]; then \
${ECHO_MSG} "===> Applying additional debug ${OPSYS} patches for ${PKGNAME}" ; \
diff --git a/editors/openoffice/files/optpatch-freetype+patch b/editors/openoffice/files/optpatch-freetype+patch
new file mode 100644
index 000000000000..b426a8fb7fcc
--- /dev/null
+++ b/editors/openoffice/files/optpatch-freetype+patch
@@ -0,0 +1,208 @@
+Index: files/patch-freetype::patch
+===================================================================
+RCS file: files/patch-freetype::patch
+diff -N files/patch-freetype::patch
+--- /dev/null 1 Jan 1970 00:00:00 -0000
++++ files/patch-freetype::patch 4 Aug 2002 15:27:42 -0000
+@@ -0,0 +1,201 @@
++diff -ur ../freetype/freetype-2.0.5.patch oo641d_patched/freetype/freetype-2.0.5.patch
++--- ../freetype/freetype-2.0.5.patch Fri Apr 5 21:07:34 2002
+++++ ../freetype/freetype-2.0.5.patch Sat Mar 9 18:04:17 2002
++@@ -1,118 +1,79 @@
++-*** misc/freetype-2.0.5/builds/compiler/visualc.mk Thu Dec 14 00:44:33 2000
++---- misc/build/freetype-2.0.5/builds/compiler/visualc.mk Wed Nov 7 16:11:47 2001
++-***************
++-*** 63,69 ****
++- # ANSI compliance.
++- #
++- ifndef CFLAGS
++-! CFLAGS := /nologo /c /Ox /G5 /W3 /WX
++- endif
++-
++- # ANSIFLAGS: Put there the flags used to make your compiler ANSI-compliant.
++---- 63,69 ----
++- # ANSI compliance.
++- #
++- ifndef CFLAGS
++-! CFLAGS := /nologo /c /Ox /G5 /W3 /WX /MT /Gd -D_CTYPE_DISABLE_MACROS
++- endif
++-
++- # ANSIFLAGS: Put there the flags used to make your compiler ANSI-compliant.
++-*** misc/freetype-2.0.5/builds/unix/ltmain.sh Thu Jun 7 19:36:17 2001
++---- misc/build/freetype-2.0.5/builds/unix/ltmain.sh Wed Nov 7 16:11:47 2001
++-***************
++-*** 631,637 ****
++- if test "$build_old_libs" = yes; then
++- if test "$pic_mode" != yes; then
++- # Don't build PIC code
++-! command="$base_compile $srcfile"
++- else
++- # All platforms use -DPIC, to notify preprocessed assembler code.
++- command="$base_compile $srcfile $pic_flag -DPIC"
++---- 631,637 ----
++- if test "$build_old_libs" = yes; then
++- if test "$pic_mode" != yes; then
++- # Don't build PIC code
++-! command="$base_compile $srcfile -DPIC $pic_flag"
++- else
++- # All platforms use -DPIC, to notify preprocessed assembler code.
++- command="$base_compile $srcfile $pic_flag -DPIC"
++-*** misc/freetype-2.0.5/include/freetype/config/ftmodule.h Mon Jan 1 18:25:21 2001
++---- misc/build/freetype-2.0.5/include/freetype/config/ftmodule.h Wed Nov 7 16:11:47 2001
++-***************
++-*** 1,7 ****
++---- 1,9 ----
++- FT_USE_MODULE(autohint_module_class)
++- FT_USE_MODULE(cff_driver_class)
++- FT_USE_MODULE(t1cid_driver_class)
++-+ /*
++- FT_USE_MODULE(pcf_driver_class)
++-+ */
++- FT_USE_MODULE(psaux_module_class)
++- FT_USE_MODULE(psnames_module_class)
++- FT_USE_MODULE(ft_raster1_renderer_class)
++-***************
++-*** 9,12 ****
++---- 11,16 ----
++- FT_USE_MODULE(ft_smooth_renderer_class)
++- FT_USE_MODULE(tt_driver_class)
++- FT_USE_MODULE(t1_driver_class)
++-+ /*
++- FT_USE_MODULE(winfnt_driver_class)
++-+ */
++-*** misc/freetype-2.0.5/include/freetype/config/ftoption.h Tue Aug 21 10:50:45 2001
++---- misc/build/freetype-2.0.5/include/freetype/config/ftoption.h Wed Nov 7 16:11:47 2001
++-***************
++-*** 70,76 ****
++---- 70,79 ----
++- /* All convenience functions are declared as such in their */
++- /* documentation. */
++- /* */
++-+ /*
++- #undef FT_CONFIG_OPTION_NO_CONVENIENCE_FUNCS
++-+ */
++-+ #define FT_CONFIG_OPTION_NO_CONVENIENCE_FUNCS
++-
++-
++- /*************************************************************************/
++-***************
++-*** 108,116 ****
++- /* use a vector `plotter' format that isn't supported when this */
++- /* macro is undefined. */
++- /* */
++- #define FT_CONFIG_OPTION_ALTERNATE_GLYPH_FORMATS
++-
++--
++- /*************************************************************************/
++- /* */
++- /* Glyph Postscript Names handling */
++---- 111,121 ----
++- /* use a vector `plotter' format that isn't supported when this */
++- /* macro is undefined. */
++- /* */
++-+ /*
++- #define FT_CONFIG_OPTION_ALTERNATE_GLYPH_FORMATS
++-+ */
++-+ #undef FT_CONFIG_OPTION_ALTERNATE_GLYPH_FORMATS
++-
++- /*************************************************************************/
++- /* */
++- /* Glyph Postscript Names handling */
++-*** misc/build/freetype-2.0.5/builds/unix/ltmain.sh.orig Mon Jan 7 14:21:35 2002
++---- misc/build/freetype-2.0.5/builds/unix/ltmain.sh Mon Jan 7 14:21:40 2002
++-***************
++-*** 2251,2257 ****
++- ;;
++-
++- irix)
++-! major=`expr $current - $age + 1`
++- verstring="sgi$major.$revision"
++-
++- # Add in all the interfaces that we are compatible with.
++---- 2251,2257 ----
++- ;;
++-
++- irix)
++-! major=`expr $current - $age`
++- verstring="sgi$major.$revision"
++-
++- # Add in all the interfaces that we are compatible with.
+++diff -ur misc/freetype-2.0.5/builds/compiler/visualc.mk misc/build/freetype-2.0.5/builds/compiler/visualc.mk
+++--- misc/freetype-2.0.5/builds/compiler/visualc.mk Thu Dec 27 14:47:57 2001
++++++ misc/build/freetype-2.0.5/builds/compiler/visualc.mk Thu Dec 27 14:49:17 2001
+++@@ -63,7 +63,7 @@
+++ # ANSI compliance.
+++ #
+++ ifndef CFLAGS
+++- CFLAGS := /nologo /c /Ox /G5 /W3 /WX
++++ CFLAGS := /nologo /c /Ox /G5 /W3 /WX /MT /Gd -D_CTYPE_DISABLE_MACROS
+++ endif
+++
+++ # ANSIFLAGS: Put there the flags used to make your compiler ANSI-compliant.
+++diff -ur misc/freetype-2.0.5/builds/unix/ltmain.sh misc/build/freetype-2.0.5/builds/unix/ltmain.sh
+++--- misc/freetype-2.0.5/builds/unix/ltmain.sh Thu Dec 27 14:47:56 2001
++++++ misc/build/freetype-2.0.5/builds/unix/ltmain.sh Thu Dec 27 14:49:17 2001
+++@@ -631,7 +631,7 @@
+++ if test "$build_old_libs" = yes; then
+++ if test "$pic_mode" != yes; then
+++ # Don't build PIC code
+++- command="$base_compile $srcfile"
++++ command="$base_compile $srcfile -DPIC $pic_flag"
+++ else
+++ # All platforms use -DPIC, to notify preprocessed assembler code.
+++ command="$base_compile $srcfile $pic_flag -DPIC"
+++diff -ur misc/freetype-2.0.5/include/freetype/config/ftmodule.h misc/build/freetype-2.0.5/include/freetype/config/ftmodule.h
+++--- misc/freetype-2.0.5/include/freetype/config/ftmodule.h Thu Dec 27 14:47:57 2001
++++++ misc/build/freetype-2.0.5/include/freetype/config/ftmodule.h Thu Dec 27 14:49:17 2001
+++@@ -1,7 +1,9 @@
+++ FT_USE_MODULE(autohint_module_class)
+++ FT_USE_MODULE(cff_driver_class)
+++ FT_USE_MODULE(t1cid_driver_class)
++++/*
+++ FT_USE_MODULE(pcf_driver_class)
++++*/
+++ FT_USE_MODULE(psaux_module_class)
+++ FT_USE_MODULE(psnames_module_class)
+++ FT_USE_MODULE(ft_raster1_renderer_class)
+++@@ -9,4 +11,6 @@
+++ FT_USE_MODULE(ft_smooth_renderer_class)
+++ FT_USE_MODULE(tt_driver_class)
+++ FT_USE_MODULE(t1_driver_class)
++++/*
+++ FT_USE_MODULE(winfnt_driver_class)
++++*/
+++diff -ur misc/freetype-2.0.5/include/freetype/config/ftoption.h misc/build/freetype-2.0.5/include/freetype/config/ftoption.h
+++--- misc/freetype-2.0.5/include/freetype/config/ftoption.h Thu Dec 27 14:47:57 2001
++++++ misc/build/freetype-2.0.5/include/freetype/config/ftoption.h Thu Dec 27 14:51:15 2001
+++@@ -70,7 +70,10 @@
+++ /* All convenience functions are declared as such in their */
+++ /* documentation. */
+++ /* */
++++/*
+++ #undef FT_CONFIG_OPTION_NO_CONVENIENCE_FUNCS
++++*/
++++#define FT_CONFIG_OPTION_NO_CONVENIENCE_FUNCS
+++
+++
+++ /*************************************************************************/
+++@@ -108,8 +111,10 @@
+++ /* use a vector `plotter' format that isn't supported when this */
+++ /* macro is undefined. */
+++ /* */
++++/*
+++ #define FT_CONFIG_OPTION_ALTERNATE_GLYPH_FORMATS
+++-
++++*/
++++#undef FT_CONFIG_OPTION_ALTERNATE_GLYPH_FORMATS
+++
+++ /*************************************************************************/
+++ /* */
+++@@ -338,7 +343,7 @@
+++ /* By undefining this, you will only compile the code necessary to load */
+++ /* TrueType glyphs without hinting. */
+++ /* */
+++-#undef TT_CONFIG_OPTION_BYTECODE_INTERPRETER
++++#define TT_CONFIG_OPTION_BYTECODE_INTERPRETER
+++
+++
+++ /*************************************************************************/
diff --git a/editors/openoffice/files/optpatch-freetype::patch b/editors/openoffice/files/optpatch-freetype::patch
new file mode 100644
index 000000000000..b426a8fb7fcc
--- /dev/null
+++ b/editors/openoffice/files/optpatch-freetype::patch
@@ -0,0 +1,208 @@
+Index: files/patch-freetype::patch
+===================================================================
+RCS file: files/patch-freetype::patch
+diff -N files/patch-freetype::patch
+--- /dev/null 1 Jan 1970 00:00:00 -0000
++++ files/patch-freetype::patch 4 Aug 2002 15:27:42 -0000
+@@ -0,0 +1,201 @@
++diff -ur ../freetype/freetype-2.0.5.patch oo641d_patched/freetype/freetype-2.0.5.patch
++--- ../freetype/freetype-2.0.5.patch Fri Apr 5 21:07:34 2002
+++++ ../freetype/freetype-2.0.5.patch Sat Mar 9 18:04:17 2002
++@@ -1,118 +1,79 @@
++-*** misc/freetype-2.0.5/builds/compiler/visualc.mk Thu Dec 14 00:44:33 2000
++---- misc/build/freetype-2.0.5/builds/compiler/visualc.mk Wed Nov 7 16:11:47 2001
++-***************
++-*** 63,69 ****
++- # ANSI compliance.
++- #
++- ifndef CFLAGS
++-! CFLAGS := /nologo /c /Ox /G5 /W3 /WX
++- endif
++-
++- # ANSIFLAGS: Put there the flags used to make your compiler ANSI-compliant.
++---- 63,69 ----
++- # ANSI compliance.
++- #
++- ifndef CFLAGS
++-! CFLAGS := /nologo /c /Ox /G5 /W3 /WX /MT /Gd -D_CTYPE_DISABLE_MACROS
++- endif
++-
++- # ANSIFLAGS: Put there the flags used to make your compiler ANSI-compliant.
++-*** misc/freetype-2.0.5/builds/unix/ltmain.sh Thu Jun 7 19:36:17 2001
++---- misc/build/freetype-2.0.5/builds/unix/ltmain.sh Wed Nov 7 16:11:47 2001
++-***************
++-*** 631,637 ****
++- if test "$build_old_libs" = yes; then
++- if test "$pic_mode" != yes; then
++- # Don't build PIC code
++-! command="$base_compile $srcfile"
++- else
++- # All platforms use -DPIC, to notify preprocessed assembler code.
++- command="$base_compile $srcfile $pic_flag -DPIC"
++---- 631,637 ----
++- if test "$build_old_libs" = yes; then
++- if test "$pic_mode" != yes; then
++- # Don't build PIC code
++-! command="$base_compile $srcfile -DPIC $pic_flag"
++- else
++- # All platforms use -DPIC, to notify preprocessed assembler code.
++- command="$base_compile $srcfile $pic_flag -DPIC"
++-*** misc/freetype-2.0.5/include/freetype/config/ftmodule.h Mon Jan 1 18:25:21 2001
++---- misc/build/freetype-2.0.5/include/freetype/config/ftmodule.h Wed Nov 7 16:11:47 2001
++-***************
++-*** 1,7 ****
++---- 1,9 ----
++- FT_USE_MODULE(autohint_module_class)
++- FT_USE_MODULE(cff_driver_class)
++- FT_USE_MODULE(t1cid_driver_class)
++-+ /*
++- FT_USE_MODULE(pcf_driver_class)
++-+ */
++- FT_USE_MODULE(psaux_module_class)
++- FT_USE_MODULE(psnames_module_class)
++- FT_USE_MODULE(ft_raster1_renderer_class)
++-***************
++-*** 9,12 ****
++---- 11,16 ----
++- FT_USE_MODULE(ft_smooth_renderer_class)
++- FT_USE_MODULE(tt_driver_class)
++- FT_USE_MODULE(t1_driver_class)
++-+ /*
++- FT_USE_MODULE(winfnt_driver_class)
++-+ */
++-*** misc/freetype-2.0.5/include/freetype/config/ftoption.h Tue Aug 21 10:50:45 2001
++---- misc/build/freetype-2.0.5/include/freetype/config/ftoption.h Wed Nov 7 16:11:47 2001
++-***************
++-*** 70,76 ****
++---- 70,79 ----
++- /* All convenience functions are declared as such in their */
++- /* documentation. */
++- /* */
++-+ /*
++- #undef FT_CONFIG_OPTION_NO_CONVENIENCE_FUNCS
++-+ */
++-+ #define FT_CONFIG_OPTION_NO_CONVENIENCE_FUNCS
++-
++-
++- /*************************************************************************/
++-***************
++-*** 108,116 ****
++- /* use a vector `plotter' format that isn't supported when this */
++- /* macro is undefined. */
++- /* */
++- #define FT_CONFIG_OPTION_ALTERNATE_GLYPH_FORMATS
++-
++--
++- /*************************************************************************/
++- /* */
++- /* Glyph Postscript Names handling */
++---- 111,121 ----
++- /* use a vector `plotter' format that isn't supported when this */
++- /* macro is undefined. */
++- /* */
++-+ /*
++- #define FT_CONFIG_OPTION_ALTERNATE_GLYPH_FORMATS
++-+ */
++-+ #undef FT_CONFIG_OPTION_ALTERNATE_GLYPH_FORMATS
++-
++- /*************************************************************************/
++- /* */
++- /* Glyph Postscript Names handling */
++-*** misc/build/freetype-2.0.5/builds/unix/ltmain.sh.orig Mon Jan 7 14:21:35 2002
++---- misc/build/freetype-2.0.5/builds/unix/ltmain.sh Mon Jan 7 14:21:40 2002
++-***************
++-*** 2251,2257 ****
++- ;;
++-
++- irix)
++-! major=`expr $current - $age + 1`
++- verstring="sgi$major.$revision"
++-
++- # Add in all the interfaces that we are compatible with.
++---- 2251,2257 ----
++- ;;
++-
++- irix)
++-! major=`expr $current - $age`
++- verstring="sgi$major.$revision"
++-
++- # Add in all the interfaces that we are compatible with.
+++diff -ur misc/freetype-2.0.5/builds/compiler/visualc.mk misc/build/freetype-2.0.5/builds/compiler/visualc.mk
+++--- misc/freetype-2.0.5/builds/compiler/visualc.mk Thu Dec 27 14:47:57 2001
++++++ misc/build/freetype-2.0.5/builds/compiler/visualc.mk Thu Dec 27 14:49:17 2001
+++@@ -63,7 +63,7 @@
+++ # ANSI compliance.
+++ #
+++ ifndef CFLAGS
+++- CFLAGS := /nologo /c /Ox /G5 /W3 /WX
++++ CFLAGS := /nologo /c /Ox /G5 /W3 /WX /MT /Gd -D_CTYPE_DISABLE_MACROS
+++ endif
+++
+++ # ANSIFLAGS: Put there the flags used to make your compiler ANSI-compliant.
+++diff -ur misc/freetype-2.0.5/builds/unix/ltmain.sh misc/build/freetype-2.0.5/builds/unix/ltmain.sh
+++--- misc/freetype-2.0.5/builds/unix/ltmain.sh Thu Dec 27 14:47:56 2001
++++++ misc/build/freetype-2.0.5/builds/unix/ltmain.sh Thu Dec 27 14:49:17 2001
+++@@ -631,7 +631,7 @@
+++ if test "$build_old_libs" = yes; then
+++ if test "$pic_mode" != yes; then
+++ # Don't build PIC code
+++- command="$base_compile $srcfile"
++++ command="$base_compile $srcfile -DPIC $pic_flag"
+++ else
+++ # All platforms use -DPIC, to notify preprocessed assembler code.
+++ command="$base_compile $srcfile $pic_flag -DPIC"
+++diff -ur misc/freetype-2.0.5/include/freetype/config/ftmodule.h misc/build/freetype-2.0.5/include/freetype/config/ftmodule.h
+++--- misc/freetype-2.0.5/include/freetype/config/ftmodule.h Thu Dec 27 14:47:57 2001
++++++ misc/build/freetype-2.0.5/include/freetype/config/ftmodule.h Thu Dec 27 14:49:17 2001
+++@@ -1,7 +1,9 @@
+++ FT_USE_MODULE(autohint_module_class)
+++ FT_USE_MODULE(cff_driver_class)
+++ FT_USE_MODULE(t1cid_driver_class)
++++/*
+++ FT_USE_MODULE(pcf_driver_class)
++++*/
+++ FT_USE_MODULE(psaux_module_class)
+++ FT_USE_MODULE(psnames_module_class)
+++ FT_USE_MODULE(ft_raster1_renderer_class)
+++@@ -9,4 +11,6 @@
+++ FT_USE_MODULE(ft_smooth_renderer_class)
+++ FT_USE_MODULE(tt_driver_class)
+++ FT_USE_MODULE(t1_driver_class)
++++/*
+++ FT_USE_MODULE(winfnt_driver_class)
++++*/
+++diff -ur misc/freetype-2.0.5/include/freetype/config/ftoption.h misc/build/freetype-2.0.5/include/freetype/config/ftoption.h
+++--- misc/freetype-2.0.5/include/freetype/config/ftoption.h Thu Dec 27 14:47:57 2001
++++++ misc/build/freetype-2.0.5/include/freetype/config/ftoption.h Thu Dec 27 14:51:15 2001
+++@@ -70,7 +70,10 @@
+++ /* All convenience functions are declared as such in their */
+++ /* documentation. */
+++ /* */
++++/*
+++ #undef FT_CONFIG_OPTION_NO_CONVENIENCE_FUNCS
++++*/
++++#define FT_CONFIG_OPTION_NO_CONVENIENCE_FUNCS
+++
+++
+++ /*************************************************************************/
+++@@ -108,8 +111,10 @@
+++ /* use a vector `plotter' format that isn't supported when this */
+++ /* macro is undefined. */
+++ /* */
++++/*
+++ #define FT_CONFIG_OPTION_ALTERNATE_GLYPH_FORMATS
+++-
++++*/
++++#undef FT_CONFIG_OPTION_ALTERNATE_GLYPH_FORMATS
+++
+++ /*************************************************************************/
+++ /* */
+++@@ -338,7 +343,7 @@
+++ /* By undefining this, you will only compile the code necessary to load */
+++ /* TrueType glyphs without hinting. */
+++ /* */
+++-#undef TT_CONFIG_OPTION_BYTECODE_INTERPRETER
++++#define TT_CONFIG_OPTION_BYTECODE_INTERPRETER
+++
+++
+++ /*************************************************************************/
diff --git a/editors/openoffice/files/optpatch-vcl+util+makefile.pmk b/editors/openoffice/files/optpatch-vcl+util+makefile.pmk
new file mode 100644
index 000000000000..41341ff0b4e8
--- /dev/null
+++ b/editors/openoffice/files/optpatch-vcl+util+makefile.pmk
@@ -0,0 +1,11 @@
+--- ../vcl/util/makefile.pmk.orig Mon Aug 5 01:39:41 2002
++++ ../vcl/util/makefile.pmk Mon Aug 5 01:40:03 2002
+@@ -64,7 +64,7 @@
+ PROJECTPCHSOURCE=$(PRJ)$/util$/vclpch
+ PDBTARGET=vcl
+
+-.IF "$(OS)" != "MACOSX"
++.IF "$(OS)" != "MACOSX" && "$(OS)" != "FREEBSD"
+ .IF "$(remote)" != ""
+ USE_BUILTIN_RASTERIZER=true
+ .ENDIF
diff --git a/editors/openoffice/files/optpatch-vcl::util::makefile.pmk b/editors/openoffice/files/optpatch-vcl::util::makefile.pmk
new file mode 100644
index 000000000000..41341ff0b4e8
--- /dev/null
+++ b/editors/openoffice/files/optpatch-vcl::util::makefile.pmk
@@ -0,0 +1,11 @@
+--- ../vcl/util/makefile.pmk.orig Mon Aug 5 01:39:41 2002
++++ ../vcl/util/makefile.pmk Mon Aug 5 01:40:03 2002
+@@ -64,7 +64,7 @@
+ PROJECTPCHSOURCE=$(PRJ)$/util$/vclpch
+ PDBTARGET=vcl
+
+-.IF "$(OS)" != "MACOSX"
++.IF "$(OS)" != "MACOSX" && "$(OS)" != "FREEBSD"
+ .IF "$(remote)" != ""
+ USE_BUILTIN_RASTERIZER=true
+ .ENDIF