diff options
author | David Seifert <soap@gentoo.org> | 2019-09-01 12:21:34 +0200 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2019-09-01 12:21:34 +0200 |
commit | 6a4ef322c7f5386e4476ccdd4b887a295ef38c4a (patch) | |
tree | d7c6375f67e1be3a350c78a7539917fe746af6a0 /sys-fs/hfsplusutils/files | |
parent | sys-fs/hfsplusutils: Make myself sole maintainer (diff) | |
download | gentoo-6a4ef322c7f5386e4476ccdd4b887a295ef38c4a.tar.gz gentoo-6a4ef322c7f5386e4476ccdd4b887a295ef38c4a.tar.bz2 gentoo-6a4ef322c7f5386e4476ccdd4b887a295ef38c4a.zip |
sys-fs/hfsplusutils: Port to EAPI 7, keyword amd64
Package-Manager: Portage-2.3.74, Repoman-2.3.17
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'sys-fs/hfsplusutils/files')
3 files changed, 14 insertions, 20 deletions
diff --git a/sys-fs/hfsplusutils/files/hfsplusutils-1.0.4-errno.patch b/sys-fs/hfsplusutils/files/hfsplusutils-1.0.4-errno.patch index c9caeb4208fb..f15e56cc1d91 100644 --- a/sys-fs/hfsplusutils/files/hfsplusutils-1.0.4-errno.patch +++ b/sys-fs/hfsplusutils/files/hfsplusutils-1.0.4-errno.patch @@ -1,6 +1,5 @@ -diff -ruN hfsplus.orig/src/hpmkdir.c hfsplus-1.0.4/src/hpmkdir.c ---- hfsplus.orig/src/hpmkdir.c 2003-03-30 20:09:59.000000000 +0200 -+++ hfsplus-1.0.4/src/hpmkdir.c 2003-03-30 20:11:15.000000000 +0200 +--- a/src/hpmkdir.c ++++ b/src/hpmkdir.c @@ -46,8 +46,9 @@ # include <string.h> # include <time.h> @@ -12,8 +11,3 @@ diff -ruN hfsplus.orig/src/hpmkdir.c hfsplus-1.0.4/src/hpmkdir.c # include <stdio.h> # include <stdlib.h> -@@ -164,3 +165,4 @@ - hfsputil_perrorp(argv0); - return -1; - } -+ diff --git a/sys-fs/hfsplusutils/files/hfsplusutils-1.0.4-gcc4.patch b/sys-fs/hfsplusutils/files/hfsplusutils-1.0.4-gcc4.patch index 04724440ddbf..6f633454d3d5 100644 --- a/sys-fs/hfsplusutils/files/hfsplusutils-1.0.4-gcc4.patch +++ b/sys-fs/hfsplusutils/files/hfsplusutils-1.0.4-gcc4.patch @@ -1,5 +1,5 @@ ---- hfsplus-1.0.4/libhfsp/src/btree.c~ 2002-03-05 19:50:28.000000000 +0000 -+++ hfsplus-1.0.4/libhfsp/src/btree.c 2005-04-30 12:48:48.000000000 +0100 +--- a/libhfsp/src/btree.c ++++ b/libhfsp/src/btree.c @@ -393,7 +393,7 @@ static int btree_init(btree* bt, volume* { p = volume_readfromfork(vol, nodebuf, fork, 0, bt->blkpernode, @@ -9,8 +9,8 @@ } bt->alloc_bits = malloc(alloc_size); ---- hfsplus-1.0.4/libhfsp/src/swab.h~ 2002-03-05 19:50:29.000000000 +0000 -+++ hfsplus-1.0.4/libhfsp/src/swab.h 2005-04-30 12:48:05.000000000 +0100 +--- a/libhfsp/src/swab.h ++++ b/libhfsp/src/swab.h @@ -36,28 +36,28 @@ #define bswabU16(val) bswap_16(val) @@ -56,8 +56,8 @@ -#define bstoreU8_inc(ptr,val) (*((UInt8*) (ptr))++) = val +#define bswabU8_inc(ptr) (*(*((UInt8**) (void *)(&ptr)))++) +#define bstoreU8_inc(ptr,val) (*(*((UInt8**) (void *)(&ptr)))++) = val ---- hfsplus-1.0.4/libhfsp/src/btreecheck.c~ 2002-03-05 19:50:29.000000000 +0000 -+++ hfsplus-1.0.4/libhfsp/src/btreecheck.c 2005-04-30 12:49:22.000000000 +0100 +--- a/libhfsp/src/btreecheck.c ++++ b/libhfsp/src/btreecheck.c @@ -264,7 +264,7 @@ static int fscheck_btree_init(btree* bt, { p = volume_readfromfork(vol, nodebuf, fork, 0, bt->blkpernode, @@ -67,8 +67,8 @@ } bt->alloc_bits = malloc(alloc_size); ---- hfsplus-1.0.4/libhfsp/src/fscheck.c~ 2002-03-25 15:48:37.000000000 +0000 -+++ hfsplus-1.0.4/libhfsp/src/fscheck.c 2005-04-30 12:50:26.000000000 +0100 +--- a/libhfsp/src/fscheck.c ++++ b/libhfsp/src/fscheck.c @@ -230,7 +230,7 @@ static int fscheck_volume_readbuf(volume vh->write_count = bswabU32_inc(p); vh->encodings_bmp = bswabU64_inc(p); @@ -94,8 +94,8 @@ signature = bswabU16_inc(p); /* offset 0x7C, drEmbedSigWord */ if (signature != HFSP_VOLHEAD_SIG) HFSP_ERROR(-1, "This looks like a normal HFS volume"); ---- hfsplus-1.0.4/libhfsp/src/volume.c~ 2002-03-26 18:00:29.000000000 +0000 -+++ hfsplus-1.0.4/libhfsp/src/volume.c 2005-04-30 12:51:41.000000000 +0100 +--- a/libhfsp/src/volume.c ++++ b/libhfsp/src/volume.c @@ -345,7 +345,7 @@ static int volume_readbuf(hfsp_vh* vh, v vh->write_count = bswabU32_inc(p); vh->encodings_bmp = bswabU64_inc(p); diff --git a/sys-fs/hfsplusutils/files/hfsplusutils-1.0.4-glob.patch b/sys-fs/hfsplusutils/files/hfsplusutils-1.0.4-glob.patch index cd92d0a0a86d..776d69ed825d 100644 --- a/sys-fs/hfsplusutils/files/hfsplusutils-1.0.4-glob.patch +++ b/sys-fs/hfsplusutils/files/hfsplusutils-1.0.4-glob.patch @@ -1,5 +1,5 @@ ---- src/glob.c.orig 2002-10-09 08:02:31.000000000 -0500 -+++ src/glob.c 2002-10-09 08:02:46.000000000 -0500 +--- a/src/glob.c ++++ b/src/glob.c @@ -48,7 +48,7 @@ switch (*pat) |