mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
Merge pull request #3665 from CvH/9.2/back_libx11
[backport] libX11: update to 1.6.8 and crosscompile fixes
This commit is contained in:
commit
266954d8b0
@ -3,12 +3,12 @@
|
||||
# Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv)
|
||||
|
||||
PKG_NAME="libX11"
|
||||
PKG_VERSION="1.6.7"
|
||||
PKG_SHA256="910e9e30efba4ad3672ca277741c2728aebffa7bc526f04dcfa74df2e52a1348"
|
||||
PKG_VERSION="1.6.8"
|
||||
PKG_SHA256="b289a845c189e251e0e884cc0f9269bbe97c238df3741e854ec4c17c21e473d5"
|
||||
PKG_LICENSE="OSS"
|
||||
PKG_SITE="http://www.x.org/"
|
||||
PKG_URL="http://xorg.freedesktop.org/archive/individual/lib/$PKG_NAME-$PKG_VERSION.tar.bz2"
|
||||
PKG_DEPENDS_TARGET="toolchain util-macros xtrans libXau libxcb"
|
||||
PKG_DEPENDS_TARGET="toolchain util-macros xtrans libXau libxcb xorgproto"
|
||||
PKG_LONGDESC="LibX11 is the main X11 library containing all the client-side code to access the X11 windowing system."
|
||||
PKG_TOOLCHAIN="autotools"
|
||||
|
||||
|
@ -0,0 +1,37 @@
|
||||
https://github.com/mirror/libX11/commit/0327c427d62f671eced067c6d9b69f4e216a8cac
|
||||
upstream in > 1.6.8
|
||||
|
||||
From: Adam Jackson <ajax@redhat.com>
|
||||
Date: Mon, 17 Jun 2019 13:36:08 -0400
|
||||
Subject: [PATCH] makekeys: Detach ourselves from X headers entirely
|
||||
|
||||
Subsequent to a121b7b0c210efe10bf93453b29050282324c906 we are no longer
|
||||
building makekeys with enough -I/foo/bar to find the X11 headers, so if
|
||||
they're not in a system include path, things fail. Since this utility is
|
||||
only needed at build time, there's no real reason to demand the X
|
||||
headers be installed for both the build and target machines if cross-
|
||||
compiling, we can just assume a vaguely ANSI environment instead.
|
||||
|
||||
Tested-by: Niclas Zeising <zeising@daemonic.se>
|
||||
Reviewed-by: Keith Packard <keithp@keithp.com>
|
||||
Reviewed-by: Matt Turner <mattst88@gmail.com>
|
||||
---
|
||||
src/util/makekeys.c | 4 +++-
|
||||
1 file changed, 3 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/src/util/makekeys.c b/src/util/makekeys.c
|
||||
index bcb5b7d5..07563315 100644
|
||||
--- a/src/util/makekeys.c
|
||||
+++ b/src/util/makekeys.c
|
||||
@@ -35,8 +35,10 @@ from The Open Group.
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
+#include <stdint.h>
|
||||
+#include <inttypes.h>
|
||||
|
||||
-#include "../Xresinternal.h"
|
||||
+typedef uint32_t Signature;
|
||||
|
||||
#define KTNUM 4000
|
||||
|
Loading…
x
Reference in New Issue
Block a user