[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
XF4 freetype patch
- To: tech@OpenBSD.org
- Subject: XF4 freetype patch
- From: Zvezdan Petkovic <zvezdan@CS.WM.EDU>
- Date: Wed, 12 Nov 2003 20:08:24 -0500
- Content-Disposition: inline
- Mail-Followup-To: tech@OpenBSD.org
- User-Agent: Mutt/1.4.1i
The patch that switched off the bytecode interpreter in OpenBSD XF4 tree
is not consistent with the rest of that file (ftoptions.h). I propose
the change according to the patch below. That way #define and #undef
are used only. No need to comment out anything. Besides if the same is
#defined somewhere else, commented out code will not #undef it. The
patch below insures #undef.
Regards,
--
Zvezdan Petkovic <zvezdan@cs.wm.edu>
http://www.cs.wm.edu/~zvezdan/
Index: xc/extras/freetype2/include/freetype/config/ftoption.h
===================================================================
RCS file: /cvs/XF4/xc/extras/freetype2/include/freetype/config/ftoption.h,v
retrieving revision 1.2
diff -u -r1.2 ftoption.h
--- xc/extras/freetype2/include/freetype/config/ftoption.h 2003/09/02 20:14:47 1.2
+++ xc/extras/freetype2/include/freetype/config/ftoption.h 2003/11/13 01:07:09
@@ -376,7 +376,7 @@
/* By undefining this, you will only compile the code necessary to load */
/* TrueType glyphs without hinting. */
/* */
-/* #define TT_CONFIG_OPTION_BYTECODE_INTERPRETER */
+#undef TT_CONFIG_OPTION_BYTECODE_INTERPRETER
/*************************************************************************/