summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-04-14 00:26:44 +0000
committerSam James <sam@gentoo.org>2021-04-14 00:27:29 +0000
commitcb2ffeb383f06bc5957f6c3c0ee888359d65381c (patch)
tree0f30cc2123b677e50cf9867e8d86ecab5c91aa68 /dev-libs/libtomcrypt
parentnet-mail/notmuch: add upstream glib 2.68 patch (diff)
downloadgentoo-cb2ffeb383f06bc5957f6c3c0ee888359d65381c.tar.gz
gentoo-cb2ffeb383f06bc5957f6c3c0ee888359d65381c.tar.bz2
gentoo-cb2ffeb383f06bc5957f6c3c0ee888359d65381c.zip
dev-libs/libtomcrypt: improve slibtool patch
Includes follow-up patch upstream for slibtool. Thanks-to: orbea <orbea@riseup.net> Bug: https://bugs.gentoo.org/777084 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-libs/libtomcrypt')
-rw-r--r--dev-libs/libtomcrypt/files/libtomcrypt-1.18.2-slibtool.patch45
1 files changed, 45 insertions, 0 deletions
diff --git a/dev-libs/libtomcrypt/files/libtomcrypt-1.18.2-slibtool.patch b/dev-libs/libtomcrypt/files/libtomcrypt-1.18.2-slibtool.patch
index 5c7bcda502c3..b783ed1d2440 100644
--- a/dev-libs/libtomcrypt/files/libtomcrypt-1.18.2-slibtool.patch
+++ b/dev-libs/libtomcrypt/files/libtomcrypt-1.18.2-slibtool.patch
@@ -1,4 +1,6 @@
https://github.com/libtom/libtomcrypt/pull/433
+(and then https://github.com/libtom/libtomcrypt/commit/4b3ef7890156a55889b6657e4b295a77907c1f0f)
+
https://bugs.gentoo.org/777084
From ccc18b9eda52c31cc70a3e46eb33b87b3c076d65 Mon Sep 17 00:00:00 2001
@@ -70,3 +72,46 @@ index 98ec2b501..c72f2ac8d 100644
endef
$(foreach demo, $(strip $(DEMOS)), $(eval $(call DEMO_template,$(demo))))
+From 4b3ef7890156a55889b6657e4b295a77907c1f0f Mon Sep 17 00:00:00 2001
+From: Steffen Jaeckel <s@jaeckel.eu>
+Date: Mon, 3 Jun 2019 09:32:06 +0200
+Subject: [PATCH] TGTLIBTOOL wasn't always defined
+
+---
+ makefile.shared | 17 ++++++++++-------
+ 1 file changed, 10 insertions(+), 7 deletions(-)
+
+diff --git a/makefile.shared b/makefile.shared
+index c72f2ac8d..e63d77032 100644
+--- a/makefile.shared
++++ b/makefile.shared
+@@ -18,19 +18,22 @@ PLATFORM := $(shell uname | sed -e 's/_.*//')
+
+ ifeq ($(LIBTOOL),rlibtool)
+ TGTLIBTOOL:=slibtool-shared
+-endif
+-
+-ifndef LIBTOOL
+- ifeq ($(PLATFORM), Darwin)
+- LIBTOOL:=glibtool
++else
++ ifndef LIBTOOL
++ ifeq ($(PLATFORM), Darwin)
++ TGTLIBTOOL:=glibtool
++ else
++ TGTLIBTOOL:=libtool
++ endif
+ else
+- LIBTOOL:=libtool
++ TGTLIBTOOL=$(LIBTOOL)
+ endif
+- TGTLIBTOOL=$(LIBTOOL)
+ endif
++
+ ifeq ($(PLATFORM), CYGWIN)
+ NO_UNDEFINED:=-no-undefined
+ endif
++
+ LTCOMPILE = $(TGTLIBTOOL) --mode=compile --tag=CC $(CC)
+ INSTALL_CMD = $(TGTLIBTOOL) --mode=install install
+ UNINSTALL_CMD = $(TGTLIBTOOL) --mode=uninstall rm