diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-06-14 15:13:45 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-06-14 15:13:45 +0100 |
commit | b9e8f3cc44aed3b6da71c7510c6287bf7bbbc66b (patch) | |
tree | 4b47f3026f10252cff69e7a4346215a4da4f0f1c /sys-apps/gptfdisk | |
parent | 3d952d0bfe7b386699eb32d1431deb0c538f044d (diff) |
gentoo auto-resync : 14:06:2023 - 15:13:45
Diffstat (limited to 'sys-apps/gptfdisk')
-rw-r--r-- | sys-apps/gptfdisk/Manifest | 3 | ||||
-rw-r--r-- | sys-apps/gptfdisk/files/gptfdisk-1.0.9-musl-1.2.4.patch | 30 | ||||
-rw-r--r-- | sys-apps/gptfdisk/gptfdisk-1.0.9-r2.ebuild | 3 |
3 files changed, 34 insertions, 2 deletions
diff --git a/sys-apps/gptfdisk/Manifest b/sys-apps/gptfdisk/Manifest index 691120fee94d..ce24deb29b57 100644 --- a/sys-apps/gptfdisk/Manifest +++ b/sys-apps/gptfdisk/Manifest @@ -1,5 +1,6 @@ AUX gptfdisk-1.0.9-libuuid.patch 899 BLAKE2B 534038452a7184945486b8435099adf7f1992c4bb8618a0ed5432c7675eb653374b25417b2b21c8fc2ec0b0860303e054fb0dc71f880941712e6230ddb029358 SHA512 590b6e7c5b16762abffe68767f255414a56f7fbd691a47837a93b288bde5210a3ab4addf93725c313134c48e6d6bc69701ad3742455f48de793412616be51df3 +AUX gptfdisk-1.0.9-musl-1.2.4.patch 819 BLAKE2B 79fde3617e158c1a43ac257e412e2c69cde0f6f7b4352a40fd82573d0f8585bbe1dadd323d6d5c717c0ea9e57abb67a71844648f34dd5586fbfc56c1179b30c9 SHA512 940f7f2647b9165404816d1c9e2d2c4d528a45645b5322b46ee3bba843b36acd088b47caad6348c46360107987cc8a3ab087cc6718e02aa46053abfb246b537e AUX gptfdisk-1.0.9-popt_segv.patch 671 BLAKE2B 1d46905caca1b7a403d1d200f5f0afa89953b86997f834df16002780d4371027bc34988c58b9a67e6b10a8978d4c99e93b2e711cbe00f5c49f3a868f708efc29 SHA512 b559c479dd2d62208b41a4ba3c6e68cf3e3b099d999bb8c2bbe251d77f217ccde28a44de0ca26c86004a6cecc17cf8360a120f3f1dd884ab4616c061110fde60 DIST gptfdisk-1.0.9.tar.gz 215065 BLAKE2B 1939ffd75972a4d7f92af2bfab90c7b0223825b5478b6b808dd35af943c687d38ba81663cd7ba5e0f9400656db4dac019c13a9f75d90b7bd716568c676c24dd2 SHA512 c2489ac7e196cb53b9fdb18d0e421571eca43c366de8922c5c7f550aadf192558e7af69b181c30747d6cf607c1670126223465eaa5e231cc589402d94a4e97a2 -EBUILD gptfdisk-1.0.9-r2.ebuild 1357 BLAKE2B 8b73d06400b1a397406e08e6db3468371e6d296b69e87cfe46bea1b0e87bb3fd36b5f00d9f0046c6d8e3b06066ea07896b6f7b4514f993d69175b81c4195d232 SHA512 4acca94ff060c2caade027f29d817e76662037d23284c1d830cbbea9d5eb7c54eddc4a3fff9d9c389cc3c8720e47afd577da810577d2fd76fd73ffc172fd451d +EBUILD gptfdisk-1.0.9-r2.ebuild 1401 BLAKE2B db7cc80c28170a2d7f8afee76a4feb7c459575b12a8c89dd68461c0eec4c3f194325ca361e18b98b644829100f200b96806dc7f16ef741051fdce9c2e8b5f7c7 SHA512 56a541820121d690eae0ff43d5c2cfa80037ac2b42e3f81570dcb62b66c6df4f22b3ad47148e6381a574e1962fb9cf0205f6dc8dfd1add0203329a23e3a52ab5 MISC metadata.xml 324 BLAKE2B 71325b739cb7e216be64dfff099ebf3a3f24d8a714ce59838780b6944a65f7d9abdb9b0afb43c617364071778768a7d90da9ef8c7eb4c3bc0cd6b5dc9e04c773 SHA512 ad7457ef87228bef7db385c72bee2c9cf1f913cf261641582a57e4b72c05e7106ad39092c55e2aae1e4d92f86a0bf6f4537dd7de9fdd6e1dc64677b36df4a273 diff --git a/sys-apps/gptfdisk/files/gptfdisk-1.0.9-musl-1.2.4.patch b/sys-apps/gptfdisk/files/gptfdisk-1.0.9-musl-1.2.4.patch new file mode 100644 index 000000000000..6f019d9eec6f --- /dev/null +++ b/sys-apps/gptfdisk/files/gptfdisk-1.0.9-musl-1.2.4.patch @@ -0,0 +1,30 @@ +Upstream: https://sourceforge.net/p/gptfdisk/code/ci/7dfa8984f5a30f313d8675ff6097c8592d636d10/ + +From 7dfa8984f5a30f313d8675ff6097c8592d636d10 Mon Sep 17 00:00:00 2001 +From: Khem Raj <raj.khem@gmail.com> +Date: Mon, 12 Dec 2022 12:50:07 -0800 +Subject: [PATCH] Use 64bit time_t on linux as well + +Alias 64bit version of stat functions to original functions +we are already passing -D_FILE_OFFSET_BITS=64 in linux Makefile + +Signed-off-by: Khem Raj <raj.khem@gmail.com> +--- a/diskio-unix.cc ++++ b/diskio-unix.cc +@@ -37,8 +37,12 @@ + + using namespace std; + +-#ifdef __APPLE__ ++#if defined(__APPLE__) || defined(__linux__) + #define off64_t off_t ++#define stat64 stat ++#define fstat64 fstat ++#define lstat64 lstat ++#define lseek64 lseek + #endif + + // Returns the official "real" name for a shortened version of same. +-- +2.41.0 + diff --git a/sys-apps/gptfdisk/gptfdisk-1.0.9-r2.ebuild b/sys-apps/gptfdisk/gptfdisk-1.0.9-r2.ebuild index e7ed4b517d0d..94027ea21f26 100644 --- a/sys-apps/gptfdisk/gptfdisk-1.0.9-r2.ebuild +++ b/sys-apps/gptfdisk/gptfdisk-1.0.9-r2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -33,6 +33,7 @@ DEPEND=" PATCHES=( "${FILESDIR}/${PN}-1.0.9-libuuid.patch" #844073 "${FILESDIR}/${PN}-1.0.9-popt_segv.patch" #872131 + "${FILESDIR}"/${PN}-1.0.9-musl-1.2.4.patch ) src_prepare() { |