mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-16 14:29:05 -07:00
dev-libs/libratbag: fix compile on musl
Closes: https://bugs.gentoo.org/935242 Closes: https://bugs.gentoo.org/713624 (obsolete) Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
This commit is contained in:
12
dev-libs/libratbag/files/libratbag-0.17-basename.patch
Normal file
12
dev-libs/libratbag/files/libratbag-0.17-basename.patch
Normal file
@@ -0,0 +1,12 @@
|
||||
https://bugs.gentoo.org/935242#c3
|
||||
|
||||
--- a/src/libratbag-data.c
|
||||
+++ b/src/libratbag-data.c
|
||||
@@ -28,6 +28,7 @@
|
||||
#include <assert.h>
|
||||
#include <stdlib.h>
|
||||
#include <glib.h>
|
||||
+#include <libgen.h>
|
||||
#include <limits.h>
|
||||
|
||||
#include "asus.h"
|
||||
@@ -70,7 +70,8 @@ DEPEND="
|
||||
CONFIG_CHECK="~HIDRAW"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/libratbag-0.17-python3.12-imp.patch
|
||||
"${FILESDIR}"/${PN}-0.17-python3.12-imp.patch
|
||||
"${FILESDIR}"/${PN}-0.17-basename.patch
|
||||
)
|
||||
|
||||
pkg_setup() {
|
||||
|
||||
@@ -69,6 +69,10 @@ DEPEND="
|
||||
|
||||
CONFIG_CHECK="~HIDRAW"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-0.17-basename.patch
|
||||
)
|
||||
|
||||
pkg_setup() {
|
||||
linux-info_pkg_setup
|
||||
python-single-r1_pkg_setup
|
||||
|
||||
@@ -69,6 +69,10 @@ DEPEND="
|
||||
|
||||
CONFIG_CHECK="~HIDRAW"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-0.17-basename.patch
|
||||
)
|
||||
|
||||
pkg_setup() {
|
||||
linux-info_pkg_setup
|
||||
python-single-r1_pkg_setup
|
||||
|
||||
Reference in New Issue
Block a user