freebsd-ports/x11-toolkits/xview/files/patch-lib+libxview+font+font_x.c
Pav Lucistnik bbff923854 - Redo this port. Now it compiles on -current again.
PR:		ports/58176
Submitted by:	Pedro F. Giffuni <giffunip@yahoo.com>
2003-12-13 23:38:21 +00:00

11 lines
468 B
C

--- lib/libxview/font/font_x.c.orig Sun Oct 5 12:16:24 2003
+++ lib/libxview/font/font_x.c Sun Oct 5 12:18:03 2003
@@ -127,7 +127,7 @@
*/
*default_x = font->max_bounds.width;
*default_y = font->ascent + font->descent;
- if (font->min_byte1 || font->max_byte1)
+ if (font->min_byte1) /* mbuck@debian.org */
ERROR;
*max_char = MIN(255, font->max_char_or_byte2); /* pixfont compat */
*min_char = MIN(255, font->min_char_or_byte2); /* pixfont compat */