public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: dev-libs/libtermkey/files/
@ 2024-02-29 16:48 Matt Turner
  0 siblings, 0 replies; only message in thread
From: Matt Turner @ 2024-02-29 16:48 UTC (permalink / raw
  To: gentoo-commits

commit:     838581286f35064264c42a8f970e51e4ed59738b
Author:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Wed Feb 28 20:43:50 2024 +0000
Commit:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Thu Feb 29 16:47:09 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=83858128

dev-libs/libtermkey: Use PKG_PROG_PKG_CONFIG

This avoids using the wrong pkg-config binary when cross-compiling.

Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>

 .../libtermkey/files/libtermkey-0.22-libtool.patch | 28 ++++++++++++----------
 1 file changed, 16 insertions(+), 12 deletions(-)

diff --git a/dev-libs/libtermkey/files/libtermkey-0.22-libtool.patch b/dev-libs/libtermkey/files/libtermkey-0.22-libtool.patch
index d3d79ccc0c95..913eb912289f 100644
--- a/dev-libs/libtermkey/files/libtermkey-0.22-libtool.patch
+++ b/dev-libs/libtermkey/files/libtermkey-0.22-libtool.patch
@@ -1,8 +1,8 @@
 Upstream is archived: https://github.com/neovim/libtermkey
 
-From f3316ec933d618352ee9c6b1f1ef354c8896372e Mon Sep 17 00:00:00 2001
+From df7da7e0beb467b97e25e4222f723fbdff369a95 Mon Sep 17 00:00:00 2001
 From: orbea <orbea@riseup.net>
-Date: Thu, 7 Sep 2023 09:52:10 -0700
+Date: Wed, 28 Feb 2024 15:35:06 -0500
 Subject: [PATCH] build: Add a minimal configure.ac
 
 When building with slibtool using the rlibtool symlink the build will
@@ -12,23 +12,24 @@ rlibtool can determine if it should build shared or static libraries.
 This can be fixed by adding a minimal configure.ac that can generate the
 required files with autoreconf.
 
-Gentoo Bug: https://bugs.gentoo.org/913482
+Bug: https://bugs.gentoo.org/913482
 ---
- Makefile => Makefile.in | 29 +++++++++++++++--------------
- configure.ac            | 14 ++++++++++++++
- 2 files changed, 29 insertions(+), 14 deletions(-)
- rename Makefile => Makefile.in (91%)
+ Makefile => Makefile.in | 31 ++++++++++++++++---------------
+ configure.ac            | 16 ++++++++++++++++
+ 2 files changed, 32 insertions(+), 15 deletions(-)
+ rename Makefile => Makefile.in (89%)
  create mode 100644 configure.ac
 
 diff --git a/Makefile b/Makefile.in
-similarity index 91%
+similarity index 89%
 rename from Makefile
 rename to Makefile.in
-index 199f143..8f12b07 100644
+index 199f143..f59265b 100644
 --- a/Makefile
 +++ b/Makefile.in
 @@ -1,14 +1,10 @@
- pkgconfig = $(shell PKG_CONFIG_PATH=$(PKG_CONFIG_PATH) pkg-config $(1))
+-pkgconfig = $(shell PKG_CONFIG_PATH=$(PKG_CONFIG_PATH) pkg-config $(1))
++pkgconfig = $(shell PKG_CONFIG_PATH=@PKG_CONFIG_PATH@ @PKG_CONFIG@ $(1))
  
 -ifeq ($(shell uname),Darwin)
 -  LIBTOOL ?= glibtool
@@ -79,10 +80,10 @@ index 199f143..8f12b07 100644
  
 diff --git a/configure.ac b/configure.ac
 new file mode 100644
-index 0000000..46fe30e
+index 0000000..fdf86ce
 --- /dev/null
 +++ b/configure.ac
-@@ -0,0 +1,14 @@
+@@ -0,0 +1,16 @@
 +m4_define([MAJOR], [0])
 +m4_define([MINOR], [22])
 +
@@ -91,9 +92,12 @@ index 0000000..46fe30e
 +
 +LT_INIT
 +
++PKG_PROG_PKG_CONFIG
++
 +AC_SUBST([top_builddir], [$abs_builddir])
 +
 +AC_SUBST([MAJOR], [MAJOR])
 +AC_SUBST([MINOR], [MINOR])
 +
 +AC_OUTPUT
+-- 


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2024-02-29 16:48 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-29 16:48 [gentoo-commits] repo/gentoo:master commit in: dev-libs/libtermkey/files/ Matt Turner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox