diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /sys-fs/hfsplusutils/files/hfsplusutils-1.0.4-stdlib.patch |
reinit the tree, so we can have metadata
Diffstat (limited to 'sys-fs/hfsplusutils/files/hfsplusutils-1.0.4-stdlib.patch')
-rw-r--r-- | sys-fs/hfsplusutils/files/hfsplusutils-1.0.4-stdlib.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/sys-fs/hfsplusutils/files/hfsplusutils-1.0.4-stdlib.patch b/sys-fs/hfsplusutils/files/hfsplusutils-1.0.4-stdlib.patch new file mode 100644 index 000000000000..211a50225eb8 --- /dev/null +++ b/sys-fs/hfsplusutils/files/hfsplusutils-1.0.4-stdlib.patch @@ -0,0 +1,22 @@ +needed for exit() prototype + +--- a/libhfsp/src/os.c ++++ b/libhfsp/src/os.c +@@ -46,6 +46,7 @@ int fstat(int, struct stat *); + # endif + + # include <stdio.h> ++# include <stdlib.h> + + + # include <errno.h> +--- a/libhfsp/src/record.c ++++ b/libhfsp/src/record.c +@@ -32,6 +32,7 @@ + #include <errno.h> + #include <stdio.h> + #include <string.h> ++#include <stdlib.h> + + #include "libhfsp.h" + #include "hfstime.h" |