The HTTP URL redirects to the HTTPS URL. Therefore adjust the URL to
HTTPS to avoid the redirect.

Also fixing the SPDX license identifier, as the license text includes a
no advertising clause. While the SPDX Online tool [1] matches the
license text to X11-distribute-modifications-variant, it doesn't contain
the distribute with modifications grant. Therefore use the X11 license
which in contrast to MIT contains the advertising clause.
Note that it doesn't match exactly, as it misses the trademark at the
end, which caused the online tool to match the wrong license.

[1] https://tools.spdx.org/app/check_license/

Signed-off-by: Sven Püschel <[email protected]>
---
 rules/host-libxcb.make | 1 +
 rules/libxcb.make      | 9 +++++----
 2 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/rules/host-libxcb.make b/rules/host-libxcb.make
index 42a768bc0..acf3a31bf 100644
--- a/rules/host-libxcb.make
+++ b/rules/host-libxcb.make
@@ -25,6 +25,7 @@ HOST_LIBXCB_CONF_ENV  := \
 HOST_LIBXCB_CONF_TOOL  := autoconf
 HOST_LIBXCB_CONF_OPT   := \
        $(HOST_AUTOCONF) \
+       $(GLOBAL_LARGE_FILE_OPTION) \
        --disable-static \
        --disable-selective-werror \
        --disable-strict-compilation \
diff --git a/rules/libxcb.make b/rules/libxcb.make
index 550db7979..7d6f5fb62 100644
--- a/rules/libxcb.make
+++ b/rules/libxcb.make
@@ -14,14 +14,14 @@ PACKAGES-$(PTXCONF_LIBXCB) += libxcb
 #
 # Paths and names
 #
-LIBXCB_VERSION         := 1.16
-LIBXCB_MD5             := c769f93c254263077df62404661b710d
+LIBXCB_VERSION         := 1.17.0
+LIBXCB_MD5             := 96565523e9f9b701fcb35d31f1d4086e
 LIBXCB                 := libxcb-$(LIBXCB_VERSION)
 LIBXCB_SUFFIX          := tar.xz
-LIBXCB_URL             := 
http://xcb.freedesktop.org/dist/$(LIBXCB).$(LIBXCB_SUFFIX)
+LIBXCB_URL             := 
https://xcb.freedesktop.org/dist/$(LIBXCB).$(LIBXCB_SUFFIX)
 LIBXCB_SOURCE          := $(SRCDIR)/$(LIBXCB).$(LIBXCB_SUFFIX)
 LIBXCB_DIR             := $(BUILDDIR)/$(LIBXCB)
-LIBXCB_LICENSE         := MIT
+LIBXCB_LICENSE         := X11
 LIBXCB_LICENSE_FILES   := \
        file://COPYING;md5=d763b081cb10c223435b01e00dc0aba7
 
@@ -39,6 +39,7 @@ LIBXCB_CONF_ENV := \
 LIBXCB_CONF_TOOL       := autoconf
 LIBXCB_CONF_OPT                := \
        $(CROSS_AUTOCONF_USR) \
+       $(GLOBAL_LARGE_FILE_OPTION) \
        --disable-static \
        --disable-selective-werror \
        --disable-strict-compilation \
-- 
2.47.3


Reply via email to