summaryrefslogtreecommitdiff
path: root/sys-fs
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2021-05-19 20:36:24 +0200
committerFabian Groffen <grobian@gentoo.org>2021-05-19 20:36:24 +0200
commitd36ad3d77377858ca249b8cad31543e70ecc92ea (patch)
treed3a6207bef9b24c39a12c381250f7c9335333219 /sys-fs
parentdev-python/watchdog: Enable python3.10 (diff)
downloadgentoo-d36ad3d77377858ca249b8cad31543e70ecc92ea.tar.gz
gentoo-d36ad3d77377858ca249b8cad31543e70ecc92ea.tar.bz2
gentoo-d36ad3d77377858ca249b8cad31543e70ecc92ea.zip
sys-fs/mac-fdisk: fix musl build, become co-maintainer
Closes: https://bugs.gentoo.org/715390 Package-Manager: Portage-3.0.18, Repoman-3.0.2 Signed-off-by: Fabian Groffen <grobian@gentoo.org>
Diffstat (limited to 'sys-fs')
-rw-r--r--sys-fs/mac-fdisk/mac-fdisk-0.1_p18.ebuild5
-rw-r--r--sys-fs/mac-fdisk/metadata.xml4
2 files changed, 7 insertions, 2 deletions
diff --git a/sys-fs/mac-fdisk/mac-fdisk-0.1_p18.ebuild b/sys-fs/mac-fdisk/mac-fdisk-0.1_p18.ebuild
index 263a986f35e1..311145f3667f 100644
--- a/sys-fs/mac-fdisk/mac-fdisk-0.1_p18.ebuild
+++ b/sys-fs/mac-fdisk/mac-fdisk-0.1_p18.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
-inherit toolchain-funcs
+inherit toolchain-funcs flag-o-matic
DESCRIPTION="Mac/PowerMac disk partitioning utility"
HOMEPAGE="ftp://ftp.mklinux.apple.com/pub/Other_Tools/"
@@ -33,6 +33,7 @@ PATCHES=(
)
src_compile() {
+ use elibc_musl && append-cppflags -Dloff_t=off_t
emake CC="$(tc-getCC)"
}
diff --git a/sys-fs/mac-fdisk/metadata.xml b/sys-fs/mac-fdisk/metadata.xml
index c5298995d2d4..7228d1190309 100644
--- a/sys-fs/mac-fdisk/metadata.xml
+++ b/sys-fs/mac-fdisk/metadata.xml
@@ -5,4 +5,8 @@
<email>slyfox@gentoo.org</email>
<name>Sergei Trofimovich</name>
</maintainer>
+ <maintainer type="person">
+ <email>grobian@gentoo.org</email>
+ <name>Fabian Groffen</name>
+ </maintainer>
</pkgmetadata>