diff options
| author | Liguros - Gitlab CI/CD [master] <gitlab@liguros.net> | 2021-01-17 23:35:33 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [master] <gitlab@liguros.net> | 2021-01-17 23:35:33 +0000 |
| commit | 8e8120eabdd28020aa69c7a60505cce2edd20adc (patch) | |
| tree | 061bf0acdc672720e0bc3a2d575f67d25aedb2d8 /sys-fs/diskdev_cmds | |
| parent | c16790af2c9b4cbc38e565d4311252193ff85484 (diff) | |
| download | baldeagleos-repo-21.1.2.tar.gz baldeagleos-repo-21.1.2.tar.xz baldeagleos-repo-21.1.2.zip | |
Updating liguros repo21.1.2
Diffstat (limited to 'sys-fs/diskdev_cmds')
| -rw-r--r-- | sys-fs/diskdev_cmds/diskdev_cmds-332.14_p1-r4.ebuild | 3 | ||||
| -rw-r--r-- | sys-fs/diskdev_cmds/files/diskdev_cmds-332.14_p1-musl.patch | 79 |
2 files changed, 81 insertions, 1 deletions
diff --git a/sys-fs/diskdev_cmds/diskdev_cmds-332.14_p1-r4.ebuild b/sys-fs/diskdev_cmds/diskdev_cmds-332.14_p1-r4.ebuild index 6d34c8c0b6d5..a79a00db92d3 100644 --- a/sys-fs/diskdev_cmds/diskdev_cmds-332.14_p1-r4.ebuild +++ b/sys-fs/diskdev_cmds/diskdev_cmds-332.14_p1-r4.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -29,6 +29,7 @@ PATCHES=( "${FILESDIR}"/${P}-AR.patch "${FILESDIR}"/${P}-no-sysctl.patch "${FILESDIR}"/${P}-ldflags.patch + "${FILESDIR}"/${P}-musl.patch ) src_compile() { diff --git a/sys-fs/diskdev_cmds/files/diskdev_cmds-332.14_p1-musl.patch b/sys-fs/diskdev_cmds/files/diskdev_cmds-332.14_p1-musl.patch new file mode 100644 index 000000000000..7e7c3d1d310e --- /dev/null +++ b/sys-fs/diskdev_cmds/files/diskdev_cmds-332.14_p1-musl.patch @@ -0,0 +1,79 @@ +Port to musl. + +Patch-by: ernsteiswuerfel +Bug: https://bugs.gentoo.org/715862 +--- a/fsck_hfs.tproj/dfalib/CatalogCheck.c ++++ b/fsck_hfs.tproj/dfalib/CatalogCheck.c +@@ -23,6 +23,7 @@ + #include "Scavenger.h" + #include "DecompDataEnums.h" + #include "DecompData.h" ++#include <sys/types.h> + + /* + * information collected when visiting catalog records +--- a/fsck_hfs.tproj/dfalib/SRepair.c ++++ b/fsck_hfs.tproj/dfalib/SRepair.c +@@ -35,6 +35,7 @@ + #include "Scavenger.h" + #include <unistd.h> + #include <sys/stat.h> ++#include <sys/types.h> + #include <stdlib.h> + #include "../cache.h" + +--- a/fsck_hfs.tproj/dfalib/Scavenger.h ++++ b/fsck_hfs.tproj/dfalib/Scavenger.h +@@ -44,7 +44,7 @@ + #include <sys/kauth.h> + #include <sys/syslimits.h> + #endif +-#include <sys/errno.h> ++#include <errno.h> + + #ifdef __cplusplus + extern "C" { +--- a/fsck_hfs.tproj/fsck_hfs.h ++++ b/fsck_hfs.tproj/fsck_hfs.h +@@ -24,6 +24,9 @@ + + #include "cache.h" + ++#ifndef __P ++#define __P(args) args ++#endif + + const extern char *cdevname; /* name of device being checked */ + extern char *progname; +--- a/newfs_hfs.tproj/makehfs.c ++++ b/newfs_hfs.tproj/makehfs.c +@@ -35,7 +35,6 @@ + #include <time.h> + #include "missing.h" + #endif +-#include <sys/errno.h> + #include <sys/stat.h> + #if !LINUX + #include <sys/sysctl.h> +@@ -69,6 +68,9 @@ extern Boolean _CFStringGetFileSystemRepresentation(CFStringRef string, UInt8 *b + #include "newfs_hfs.h" + #include "readme.h" + ++#ifndef __P ++#define __P(args) args ++#endif + + #define HFS_BOOT_DATA "/usr/share/hfsprogs/hfsbootdata" + +--- a/newfs_hfs.tproj/newfs_hfs.c ++++ b/newfs_hfs.tproj/newfs_hfs.c +@@ -54,6 +54,9 @@ + #else + #include <varargs.h> + #endif ++#ifndef __P ++#define __P(args) args ++#endif + + #define NOVAL (-1) + #define UMASK (0755) |
