commit:     51addb56510c82d88ebac65d9ca4c8ca8e005693
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Sep 30 23:28:23 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Sep 30 23:28:23 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=51addb56

media-libs/glyr: fix build w/ curl

Closes: https://bugs.gentoo.org/962818
Thanks-to: Ted Rodgers <ted.d.rodgers <AT> gmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 media-libs/glyr/files/glyr-1.0.10-curl.patch | 26 ++++++++++++++++++++++++++
 media-libs/glyr/glyr-1.0.10-r1.ebuild        |  9 ++++++---
 2 files changed, 32 insertions(+), 3 deletions(-)

diff --git a/media-libs/glyr/files/glyr-1.0.10-curl.patch 
b/media-libs/glyr/files/glyr-1.0.10-curl.patch
new file mode 100644
index 000000000000..d51c28229d6e
--- /dev/null
+++ b/media-libs/glyr/files/glyr-1.0.10-curl.patch
@@ -0,0 +1,26 @@
+https://bugs.gentoo.org/962818
+
+From 15e34c12deb0afb55f042c017325aea0a25e721f Mon Sep 17 00:00:00 2001
+From: Ted Rodgers <[email protected]>
+Date: Tue, 30 Sep 2025 18:47:18 -0400
+Subject: [PATCH] lib/core.c - replace <curl/multi.h> with <curl/curl.h>
+
+---
+ lib/core.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/lib/core.c b/lib/core.c
+index 86807e6..de380da 100644
+--- a/lib/core.c
++++ b/lib/core.c
+@@ -19,7 +19,7 @@
+  **************************************************************/
+ 
+ #include <errno.h>
+-#include <curl/multi.h>
++#include <curl/curl.h>
+ 
+ #include "stringlib.h"
+ #include "core.h"
+-- 
+2.51.0

diff --git a/media-libs/glyr/glyr-1.0.10-r1.ebuild 
b/media-libs/glyr/glyr-1.0.10-r1.ebuild
index 9fad383ff92d..d4d908496909 100644
--- a/media-libs/glyr/glyr-1.0.10-r1.ebuild
+++ b/media-libs/glyr/glyr-1.0.10-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -13,9 +13,11 @@ LICENSE="LGPL-3"
 SLOT="0"
 KEYWORDS="amd64 ppc ppc64 ~riscv x86"
 
-RDEPEND="dev-db/sqlite:3
+RDEPEND="
+       dev-db/sqlite:3
        >=dev-libs/glib-2.10:2
-       net-misc/curl"
+       net-misc/curl
+"
 DEPEND="${RDEPEND}"
 BDEPEND="virtual/pkgconfig"
 
@@ -23,6 +25,7 @@ DOCS=( AUTHORS README.textile ) # CHANGELOG is obsolete in 
favour of git history
 
 PATCHES=(
        "${FILESDIR}"/${P}-fix-version.patch
+       "${FILESDIR}"/${PN}-1.0.10-curl.patch
 )
 
 src_prepare() {

Reply via email to