diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-01-16 17:34:21 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-01-16 17:34:21 +0000 |
commit | 02e2208f46f4e2c00fb9743cbc47350bdd233bfa (patch) | |
tree | 132dd60828854db4f65f30f9230f43d9602507ff /sys-apps/smartmontools/files | |
parent | 8be70107efbb417f839292165ee39d07a062046f (diff) |
gentoo resync : 16.01.2018
Diffstat (limited to 'sys-apps/smartmontools/files')
-rw-r--r-- | sys-apps/smartmontools/files/smartmontools-6.6-fix-build-on-musl.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/sys-apps/smartmontools/files/smartmontools-6.6-fix-build-on-musl.patch b/sys-apps/smartmontools/files/smartmontools-6.6-fix-build-on-musl.patch new file mode 100644 index 000000000000..2cd36e0dce5e --- /dev/null +++ b/sys-apps/smartmontools/files/smartmontools-6.6-fix-build-on-musl.patch @@ -0,0 +1,13 @@ +Bug: https://bugs.gentoo.org/644586 + +Upstream fix: https://www.smartmontools.org/changeset/4603 + +--- smartmontools-6.6/os_linux.cpp ++++ smartmontools-6.6/os_linux.cpp +@@ -3177,5 +3177,5 @@ + char path[128]; + snprintf(path, sizeof(path), "/sys/block/%s/device", name); +- char * syshostpath = canonicalize_file_name(path); ++ char * syshostpath = realpath(name, (char *)0); + if (!syshostpath) + return false; |