summaryrefslogtreecommitdiff
path: root/sys-fs/hfsplusutils
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-01-22 22:48:12 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-01-22 22:48:12 +0000
commitfe48e91039d2758f30166b25a5223a0f53433e24 (patch)
treef808585bb0157e83a5266e855e11b9875fcd2f8a /sys-fs/hfsplusutils
parentce163dcd0944d81d8406c9532b457535efca7a6d (diff)
gentoo auto-resync : 22:01:2024 - 22:48:12
Diffstat (limited to 'sys-fs/hfsplusutils')
-rw-r--r--sys-fs/hfsplusutils/Manifest3
-rw-r--r--sys-fs/hfsplusutils/files/hfsplusutils-1.0.4-Wincompatible-pointer-types.patch32
-rw-r--r--sys-fs/hfsplusutils/hfsplusutils-1.0.4-r3.ebuild3
3 files changed, 36 insertions, 2 deletions
diff --git a/sys-fs/hfsplusutils/Manifest b/sys-fs/hfsplusutils/Manifest
index 3421ea29cd0c..7a42383adb50 100644
--- a/sys-fs/hfsplusutils/Manifest
+++ b/sys-fs/hfsplusutils/Manifest
@@ -1,3 +1,4 @@
+AUX hfsplusutils-1.0.4-Wincompatible-pointer-types.patch 964 BLAKE2B 4eb140cc26411ddea1e1a46c09871845e96ba19c9885b971961b80ac9e99b14dfcb7913a801971f87c880e205339ff577a6ba95953b844437927f918494222eb SHA512 8bb285e24bfe9db3724ab2e8efb9f2f99e1044652906f7349fd511c92b10252b73a8940357143d596e7fbcd5c25806443c32f02325bd6941b8f5e5ad3054a496
AUX hfsplusutils-1.0.4-cflags.patch 702 BLAKE2B 90c41a588979dc7966aa9a889d5c200f44e513b5cc04eaef0da904a5f635f325deeae6b68b99436b6e7ccefdb883dc3e8531e08ae81ccaab4024bdc5f1e31317 SHA512 b66a64a085abdb2c6c2b1f8008019ea41e9e4ee4b58ecbbf96aad4500392d1935a9aa9bd2694fc62af7cf196ddf556e754908bbcdeb64842e8e72a3cbb125a05
AUX hfsplusutils-1.0.4-errno.patch 214 BLAKE2B a2b48502ac7789a0d035f5d68bdd2834e93348c2e0463c0043fbef64a7d2a4d7434c3b34fa96765e26d5131351ebe8ea37022bd70d486a05800a75dfb339e8bc SHA512 97cb9d90d57f3ddc1b9083198664db6da755cc40f416d79d7ded4e94846302e1ea9b0ebc389dfc8996c1c30931d686e09abd908d44fc92044081c75a61d57d24
AUX hfsplusutils-1.0.4-fno-common-gcc10.patch 591 BLAKE2B b804a5969a83cadb0cf8c8deb5138ee5f5abacc9c261adf2f5ff1e9933764165041f1e2e9e04351934dd680874405e69a0abfd87042dc49d93295d157d29ba42 SHA512 46c04b1a6043b8c208e55c4edf912ec4c09973081b7f1974c473c89dfe656a7c1565a834827a203428606c52af876a89878284a95b113d2828fc910807d778de
@@ -7,5 +8,5 @@ AUX hfsplusutils-1.0.4-glob.patch 215 BLAKE2B bd1aed8730e8695efc713908d33c64be14
AUX hfsplusutils-1.0.4-stdlib.patch 403 BLAKE2B 20ee7a1c8d96d8a4aee549a24b0795b0a9f0d4b5e5d3102b50962d03147b7a26f7f29e6f3652c55df912ccc68db104c4565ea2d563b97d7c67abade7affea437 SHA512 23361a4cae07b679cb5c6122cf1a74aac19a11b0b892a369683881ed1bed63cfb1369aa84762b0447f2c91b1226a73c9f42b06fe8cb25a40dd7fc58fbf22806a
AUX hfsplusutils-1.0.4-string.patch 606 BLAKE2B a9c789fe631c94577c32a330803c490b882c7cccbec213882a297a16e5ef5e0cc4fa805f9df454d4b278ed460eca42189ae1d65c00c4555e0df129bffe68c902 SHA512 5f7d4a7bbbb15479d00d3ff49fac08328b5d3fb4549d3278b43c73025ab4f0f5657c7b084b2671a5e1524a88bbcf5bc459b88c8d944cdc98fbf0c2ba4e6b0339
DIST hfsplus_1.0.4.src.tar.bz2 185461 BLAKE2B 81b93f59c4e57d80a979b9d9c56b841bcc32747136d01dc0e90afa0af486e527bda241d7c21f0f3f61a5d2efe6215e29499405aad9623a7ec9906b876aa6303f SHA512 94cf6bc8e9d561dea5e8b5860c4ef979f21349d6546c767b43c18156fa1f805e843fae8a64096c147a28886467f5e2012b06b93918773457eaf486b85958b2ee
-EBUILD hfsplusutils-1.0.4-r3.ebuild 1073 BLAKE2B 79814f59b9516335fd3891cec6fde7e70fc5042a3367bd5a139ec6470098ffef5916870acb51e81728e1f1bfe2bc242a63a88f23f27f0b2f7e77d62a3440adc9 SHA512 4778bf4a493bf698155e36652588d582c6bf10e0e974e9ee68c36d64de0fd15fc9c587fe29cfc97deb33e4daa37659a9c5392e3bd6372b09609c1770518d24fb
+EBUILD hfsplusutils-1.0.4-r3.ebuild 1127 BLAKE2B 682d68369e5aa9ac668da1213e2263b28cd82335aace33a267cfa98b96d0c26663bf55f35689f59f3f4aa06887bccb17cb90471eaba0e9069b1c2a8119bf02a8 SHA512 1ba3366b3bb532102eb09d1adefd208d36c99fb6fd4baee9550e3d2cbe287a21b0e41f5d011d64c6c43be2cdee648531c4a6c62a4d30667d85d45c30f956df34
MISC metadata.xml 245 BLAKE2B 4ac08132cfdd18d0ef2c38470da5045bca296f4975a8fa1e7094c1f6f524ebf02103d487ae7d6d0bb1c912d46eb207a74a417bbdc10bc92499331112f15392e6 SHA512 fa5b2d519f191de35a1f8719e8ba7ea346c54173c797e152df2aeefda32dfb0e0741ff171b87e1ee835c1d5383f424b8bb276d597bdf2fe911525bd5719cab9d
diff --git a/sys-fs/hfsplusutils/files/hfsplusutils-1.0.4-Wincompatible-pointer-types.patch b/sys-fs/hfsplusutils/files/hfsplusutils-1.0.4-Wincompatible-pointer-types.patch
new file mode 100644
index 000000000000..0ad76d93f453
--- /dev/null
+++ b/sys-fs/hfsplusutils/files/hfsplusutils-1.0.4-Wincompatible-pointer-types.patch
@@ -0,0 +1,32 @@
+--- a/src/charset.c
++++ b/src/charset.c
+@@ -159,7 +159,7 @@
+ * NAME: charset->latin1()
+ * DESCRIPTION: return a Latin-1 (ISO 8859-1) string for MacOS Standard Roman
+ */
+-char *cs_latin1(char *mstr, int *lenptr)
++char *cs_latin1(char *mstr, size_t *lenptr)
+ {
+ int ilen, olen, i;
+ char *latin1, *ptr;
+--- a/src/charset.h
++++ b/src/charset.h
+@@ -23,6 +23,9 @@
+ *
+ * $Id: charset.h,v 1.1.1.1 2002/03/05 19:50:29 klaus Exp $
+ */
++
++#include <stddef.h>
++
+ /* a two byte unicode character, gnus wchar_t is 4 bytes in linux */
+ typedef unsigned short UCS2;
+
+@@ -35,7 +38,7 @@
+ * lenptr may be null in wich case the given strs len is used.
+ * on return *lenptr is set to the returned strings len.
+ * must be free()d */
+-char *cs_latin1(char *, int *);
++char *cs_latin1(char *, size_t *);
+
+ /* return a MacOS Standard Roman string for Latin-1 (ISO 8859-1).
+ * lenptr may be null in wich case the given strs len is used.
diff --git a/sys-fs/hfsplusutils/hfsplusutils-1.0.4-r3.ebuild b/sys-fs/hfsplusutils/hfsplusutils-1.0.4-r3.ebuild
index e27b2512b24c..203f0abf002b 100644
--- a/sys-fs/hfsplusutils/hfsplusutils-1.0.4-r3.ebuild
+++ b/sys-fs/hfsplusutils/hfsplusutils-1.0.4-r3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -25,6 +25,7 @@ PATCHES=(
"${FILESDIR}"/${P}-cflags.patch
"${FILESDIR}"/${P}-fno-common-gcc10.patch
"${FILESDIR}"/${P}-gcc5.patch
+ "${FILESDIR}"/${P}-Wincompatible-pointer-types.patch
)
src_prepare() {