Alexander Pyhalov
2020-08-02 5cb325714a6b2d8a0c55bf05184d83c36d210327
libX11: update to 1.6.10
2 files modified
19 ■■■■■ changed files
components/x11/libX11/Makefile 4 ●●●● patch | view | raw | blame | history
components/x11/libX11/patches/10.6789219.patch 15 ●●●●● patch | view | raw | blame | history
components/x11/libX11/Makefile
@@ -18,11 +18,11 @@
include $(WS_MAKE_RULES)/x11.mk
COMPONENT_NAME=     libX11
COMPONENT_VERSION=  1.6.9
COMPONENT_VERSION=  1.6.10
COMPONENT_FMRI =    x11/library/libx11
COMPONENT_SUMMARY=  libX11 - X11 core protocol client library
COMPONENT_ARCHIVE_HASH= \
  sha256:9cc7e8d000d6193fa5af580d50d689380b8287052270f5bb26a5fb6b58b2bed1
  sha256:af48626989b8515c994777896bd7b7ba2bd5b1ef4e1efaee0a55d8852bbe6226
COMPONENT_LICENSE_FILE = COPYING
include $(WS_MAKE_RULES)/common.mk
components/x11/libX11/patches/10.6789219.patch
@@ -1,22 +1,19 @@
--- a/modules/om/generic/omGeneric.c    Mon Mar 16 09:27:28 2015
+++ b/modules/om/generic/omGeneric.c    Mon Mar 16 09:29:59 2015
@@ -849,7 +849,8 @@
     if ((font_data->xlfd_name = get_font_name(oc, buf)) != NULL)
--- libX11-1.6.10/modules/om/generic/omGeneric.c.~1~    2020-07-31 16:46:40.000000000 +0000
+++ libX11-1.6.10/modules/om/generic/omGeneric.c    2020-08-02 06:24:39.755294941 +0000
@@ -772,6 +772,7 @@
     return True;
 
-    /* This may mot be needed anymore as XListFonts() takes care of this */
+    /* This may not be needed anymore as XListFonts() takes care of this */
     /* This may not be needed anymore as XListFonts() takes care of this */
+#ifndef SUNSOFT
     if (num_fields < 12) {
     if ((last - buf) > (XLFD_MAX_LEN - 2))
         return -1;
@@ -861,8 +862,8 @@
@@ -783,7 +784,7 @@
     if ((font_data->xlfd_name = get_font_name(oc, buf)) != NULL)
         return True;
     }
-
+#endif /* SUNSOFT */
 
-
     return False;
 }