mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-24 18:58:08 -07:00
app-misc/mx5000tools: fix compilation with musl
Closes: https://bugs.gentoo.org/713738 Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
This commit is contained in:
10
app-misc/mx5000tools/files/mx5000tools-0.1.2-musl.patch
Normal file
10
app-misc/mx5000tools/files/mx5000tools-0.1.2-musl.patch
Normal file
@@ -0,0 +1,10 @@
|
||||
--- a/libmx5000/mx5000.c
|
||||
+++ b/libmx5000/mx5000.c
|
||||
@@ -29,6 +29,7 @@
|
||||
|
||||
#include <asm/types.h>
|
||||
#include <linux/hiddev.h>
|
||||
+#include <linux/limits.h>
|
||||
|
||||
#include "libmx5000/mx5000.h"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
@@ -20,7 +20,10 @@ RDEPEND="
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="virtual/pkgconfig"
|
||||
|
||||
PATCHES=( "${FILESDIR}/${P}-find-netpbm-header.patch" )
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${P}-find-netpbm-header.patch"
|
||||
"${FILESDIR}/${P}-musl.patch"
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
Reference in New Issue
Block a user