Skip to contentSkip to conversation

libx11: replace libtool patch with upstreamed patch

PATCH New Ross Burton 1 participant 1 message Aug 6, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 libx11: replace libtool patch with upstreamed patch

After iterating with upstream, this is the patch that landed.

---
 meta/recipes-graphics/xorg-lib/libx11.inc     |  2 +-
 .../xorg-lib/libx11/fix-libtool.patch         | 35 ---------------
 .../xorg-lib/libx11/no-host-libtool.patch     | 45 +++++++++++++++++++
 3 files changed, 46 insertions(+), 36 deletions(-)
 delete mode 100644 meta/recipes-graphics/xorg-lib/libx11/fix-libtool.patch
 create mode 100644 meta/recipes-graphics/xorg-lib/libx11/no-host-libtool.patch
meta/recipes-graphics/xorg-lib/libx11.inc +1 -1
index 994c33a8efc..cce0cb9929b 100644
@@ -11,7 +11,7 @@ FILESEXTRAPATHS =. "${FILE_DIRNAME}/libx11:"
 PE = "1"
 
 SRC_URI += "file://Fix-hanging-issue-in-_XReply.patch \
-            file://fix-libtool.patch \
+            file://no-host-libtool.patch \
             file://no-host-x.patch"
 
 SRC_URI[md5sum] = "c5fa5a86a20e3591bed6c046498d4b8f"
meta/recipes-graphics/xorg-lib/libx11/fix-libtool.patch deleted +0 -35
deleted file mode 100644
index 678b7aff445..00000000000
@@ -1,35 +0,0 @@
-Passing -all-static to libtool is done to avoid libtool wrappers on Windows, but
-it means that the build host needs to have libc.a installed.  This isn't the
-case for a lot of distributions out of the box, so revert this commit.
-
-Filed a bug upstream to get a proper fix: https://gitlab.freedesktop.org/xorg/lib/libx11/issues/100
-
-Upstream-Status: Inappropriate
-Signed-off-by: Ross Burton <[email protected]>
-
-From b9f74dc5e714115057a5a1789b4de202d6f58547 Mon Sep 17 00:00:00 2001
-From: Ross Burton <[email protected]>
-Date: Fri, 2 Aug 2019 00:39:39 +0100
-Subject: [PATCH 2/2] Revert "Avoid using libtool wrapper for makekeys"
-
-This reverts commit 4645e219133458781e3fb48eaea6a74cccb1b9aa.
----
- src/util/Makefile.am | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/src/util/Makefile.am b/src/util/Makefile.am
-index 37314370..a051567a 100644
---- a/src/util/Makefile.am
-+++ b/src/util/Makefile.am
-@@ -10,7 +10,7 @@ AM_CPPFLAGS = \
- CC = @CC_FOR_BUILD@
- CPPFLAGS = @CPPFLAGS_FOR_BUILD@
- CFLAGS = @CFLAGS_FOR_BUILD@
--LDFLAGS = @LDFLAGS_FOR_BUILD@ -all-static
-+LDFLAGS = @LDFLAGS_FOR_BUILD@
- LIBS =
- EXEEXT = @EXEEXT_FOR_BUILD@
- 
--- 
-2.20.1
-
meta/recipes-graphics/xorg-lib/libx11/no-host-libtool.patch new file +45 -0

45 lines not on this page · raw message

Signature · 1 line
2.20.1