component(developer/golang-123): Add Component
[oi-userland.git] / components / x11 / libX11 / patches / 10.6789219.patch
blob761ba44c14dc7bb46c48639a4f7f4338cd58e90e
1 --- libX11-1.6.10/modules/om/generic/omGeneric.c.~1~ 2020-07-31 16:46:40.000000000 +0000
2 +++ libX11-1.6.10/modules/om/generic/omGeneric.c 2020-08-02 06:24:39.755294941 +0000
3 @@ -772,6 +772,7 @@
4 return True;
6 /* This may not be needed anymore as XListFonts() takes care of this */
7 +#ifndef SUNSOFT
8 if (num_fields < 12) {
9 if ((last - buf) > (XLFD_MAX_LEN - 2))
10 return -1;
11 @@ -783,7 +784,7 @@
12 if ((font_data->xlfd_name = get_font_name(oc, buf)) != NULL)
13 return True;
16 +#endif /* SUNSOFT */
18 return False;