* [gentoo-commits] repo/gentoo:master commit in: dev-libs/mdns/, dev-libs/mdns/files/
@ 2023-01-14 16:04 Yixun Lan
0 siblings, 0 replies; only message in thread
From: Yixun Lan @ 2023-01-14 16:04 UTC (permalink / raw
To: gentoo-commits
commit: f448871611e3cdeb583b06da70cbc42363457b26
Author: Alexey Sokolov <alexey+gentoo <AT> asokolov <DOT> org>
AuthorDate: Sat Jan 14 09:34:19 2023 +0000
Commit: Yixun Lan <dlan <AT> gentoo <DOT> org>
CommitDate: Sat Jan 14 16:03:22 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f4488716
dev-libs/mdns: fix build on musl
Closes: https://bugs.gentoo.org/890790
Closes: https://github.com/gentoo/gentoo/pull/29100
Signed-off-by: Alexey Sokolov <alexey+gentoo <AT> asokolov.org>
Signed-off-by: Yixun Lan <dlan <AT> gentoo.org>
dev-libs/mdns/files/mdns-1.4.2-timeval.patch | 12 ++++++++++++
dev-libs/mdns/mdns-1.4.2.ebuild | 6 +++++-
2 files changed, 17 insertions(+), 1 deletion(-)
diff --git a/dev-libs/mdns/files/mdns-1.4.2-timeval.patch b/dev-libs/mdns/files/mdns-1.4.2-timeval.patch
new file mode 100644
index 000000000000..01e46004d0c4
--- /dev/null
+++ b/dev-libs/mdns/files/mdns-1.4.2-timeval.patch
@@ -0,0 +1,12 @@
+https://github.com/mjansson/mdns/pull/69
+
+--- a/mdns.c
++++ b/mdns.c
+@@ -16,6 +16,7 @@
+ #include <netdb.h>
+ #include <ifaddrs.h>
+ #include <net/if.h>
++#include <sys/time.h>
+ #endif
+
+ // Alias some things to simulate recieving data to fuzz library
diff --git a/dev-libs/mdns/mdns-1.4.2.ebuild b/dev-libs/mdns/mdns-1.4.2.ebuild
index 96d4409beaa7..d1d62383e556 100644
--- a/dev-libs/mdns/mdns-1.4.2.ebuild
+++ b/dev-libs/mdns/mdns-1.4.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2022 Gentoo Authors
+# Copyright 2022-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -12,3 +12,7 @@ SRC_URI="https://github.com/mjansson/mdns/archive/refs/tags/${PV}.tar.gz -> ${P}
LICENSE="Unlicense"
SLOT="0"
KEYWORDS="~amd64 ~x86"
+
+PATCHES=(
+ "${FILESDIR}/${P}-timeval.patch"
+)
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2023-01-14 16:04 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-01-14 16:04 [gentoo-commits] repo/gentoo:master commit in: dev-libs/mdns/, dev-libs/mdns/files/ Yixun Lan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox