[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

XF4 freetype patch



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_(_at_)_cs_(_dot_)_wm_(_dot_)_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
 
 
   /*************************************************************************/