From: "Mike Frysinger" <vapier@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-fs/hfsplusutils/, sys-fs/hfsplusutils/files/
Date: Sat, 23 Apr 2016 06:38:26 +0000 (UTC) [thread overview]
Message-ID: <1461393471.4b85d444031fb78c616869408835939b273a11b2.vapier@gentoo> (raw)
commit: 4b85d444031fb78c616869408835939b273a11b2
Author: Mike Frysinger <vapier <AT> gentoo <DOT> org>
AuthorDate: Sat Apr 23 06:37:51 2016 +0000
Commit: Mike Frysinger <vapier <AT> gentoo <DOT> org>
CommitDate: Sat Apr 23 06:37:51 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4b85d444
sys-fs/hfsplusutils: clean up more missing header warnings
.../files/hfsplusutils-1.0.4-stdlib.patch | 22 ++++++++++++++++++
.../files/hfsplusutils-1.0.4-string.patch | 26 ++++++++++++++++++++--
sys-fs/hfsplusutils/hfsplusutils-1.0.4-r1.ebuild | 1 +
3 files changed, 47 insertions(+), 2 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 0000000..211a502
--- /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"
diff --git a/sys-fs/hfsplusutils/files/hfsplusutils-1.0.4-string.patch b/sys-fs/hfsplusutils/files/hfsplusutils-1.0.4-string.patch
index 2602876..37abcbd 100644
--- a/sys-fs/hfsplusutils/files/hfsplusutils-1.0.4-string.patch
+++ b/sys-fs/hfsplusutils/files/hfsplusutils-1.0.4-string.patch
@@ -1,5 +1,7 @@
---- libhfsp/src/unicode.c.bak 2007-01-08 17:14:44.000000000 -0500
-+++ libhfsp/src/unicode.c 2007-01-08 17:14:52.000000000 -0500
+needed for mem* funcs
+
+--- a/libhfsp/src/unicode.c
++++ b/libhfsp/src/unicode.c
@@ -16,7 +16,7 @@
#include <stdlib.h>
#include <endian.h>
@@ -9,3 +11,23 @@
#define __USE_GNU
/* need wcsrtomb */
+--- a/libhfsp/src/partitions.c
++++ b/libhfsp/src/partitions.c
+@@ -31,6 +31,7 @@
+ #include "os.h"
+ #include "libhfsp.h"
+
++#include <string.h>
+ #include <stdlib.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 "libhfsp.h"
+ #include "hfstime.h"
diff --git a/sys-fs/hfsplusutils/hfsplusutils-1.0.4-r1.ebuild b/sys-fs/hfsplusutils/hfsplusutils-1.0.4-r1.ebuild
index e11b120..380d9b2 100644
--- a/sys-fs/hfsplusutils/hfsplusutils-1.0.4-r1.ebuild
+++ b/sys-fs/hfsplusutils/hfsplusutils-1.0.4-r1.ebuild
@@ -25,6 +25,7 @@ src_prepare() {
epatch "${FILESDIR}/${P}-errno.patch"
epatch "${FILESDIR}/${P}-gcc4.patch"
epatch "${FILESDIR}/${P}-string.patch"
+ epatch "${FILESDIR}/${P}-stdlib.patch"
# let's avoid the Makefile.cvs since isn't working for us
eautoreconf
}
next reply other threads:[~2016-04-23 6:38 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-04-23 6:38 Mike Frysinger [this message]
-- strict thread matches above, loose matches on Subject: below --
2020-02-08 12:07 [gentoo-commits] repo/gentoo:master commit in: sys-fs/hfsplusutils/, sys-fs/hfsplusutils/files/ David Seifert
2020-02-08 12:07 David Seifert
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1461393471.4b85d444031fb78c616869408835939b273a11b2.vapier@gentoo \
--to=vapier@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox