media-libs/glyr: fix build w/ curl

Closes: https://bugs.gentoo.org/962818
Thanks-to: Ted Rodgers <ted.d.rodgers@gmail.com>
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James 2025-10-01 00:28:23 +01:00
parent 923195dc3c
commit 51addb5651
No known key found for this signature in database
GPG Key ID: 738409F520DF9190
2 changed files with 32 additions and 3 deletions

View File

@ -0,0 +1,26 @@
https://bugs.gentoo.org/962818
From 15e34c12deb0afb55f042c017325aea0a25e721f Mon Sep 17 00:00:00 2001
From: Ted Rodgers <ted.d.rodgers@gmail.com>
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

View File

@ -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() {