* [PATCH] Solaris: Use OLD_ICONV to avoid compile warnings
@ 2008-10-02 0:08 David Soria Parra
2008-10-02 1:08 ` Jeff King
0 siblings, 1 reply; 4+ messages in thread
From: David Soria Parra @ 2008-10-02 0:08 UTC (permalink / raw)
To: git; +Cc: David Soria Parra
From: David Soria Parra <dsp@php.net>
Solaris systems use the old styled iconv(3) call and therefore
the OLD_ICONV variable should be set. Otherwise we get annoying compile
warnings.
Signed-off-by: David Soria Parra <dsp@php.net>
---
Makefile | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/Makefile b/Makefile
index 7db2ccc..3abbb4e 100644
--- a/Makefile
+++ b/Makefile
@@ -649,6 +649,7 @@ ifeq ($(uname_S),SunOS)
NO_MEMMEM = YesPlease
NO_HSTRERROR = YesPlease
NO_MKDTEMP = YesPlease
+ OLD_ICONV = UnfortunatelyYes
ifeq ($(uname_R),5.8)
NEEDS_LIBICONV = YesPlease
NO_UNSETENV = YesPlease
--
1.6.0.2.569.g798a2a
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] Solaris: Use OLD_ICONV to avoid compile warnings
2008-10-02 0:08 [PATCH] Solaris: Use OLD_ICONV to avoid compile warnings David Soria Parra
@ 2008-10-02 1:08 ` Jeff King
2008-10-02 10:09 ` David Soria Parra
2008-10-02 15:25 ` Brandon Casey
0 siblings, 2 replies; 4+ messages in thread
From: Jeff King @ 2008-10-02 1:08 UTC (permalink / raw)
To: David Soria Parra; +Cc: git, David Soria Parra
On Thu, Oct 02, 2008 at 02:08:47AM +0200, David Soria Parra wrote:
> Solaris systems use the old styled iconv(3) call and therefore
> the OLD_ICONV variable should be set. Otherwise we get annoying compile
> warnings.
Acked-by: Jeff King <peff@peff.net>
I set OLD_ICONV on my Solaris build.
Do you also unset NEEDS_LIBICONV (and which version of Solaris are you
running)? Our Makefile sets it to "yes" for Solaris 8, but my build box
requires that it be unset. I'm not sure if my setup is somehow
deficient, or if it is only other versions that need it.
-Peff
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] Solaris: Use OLD_ICONV to avoid compile warnings
2008-10-02 1:08 ` Jeff King
@ 2008-10-02 10:09 ` David Soria Parra
2008-10-02 15:25 ` Brandon Casey
1 sibling, 0 replies; 4+ messages in thread
From: David Soria Parra @ 2008-10-02 10:09 UTC (permalink / raw)
To: Jeff King; +Cc: git
Jeff King schrieb:
> Do you also unset NEEDS_LIBICONV (and which version of Solaris are you
> running)? Our Makefile sets it to "yes" for Solaris 8, but my build box
> requires that it be unset. I'm not sure if my setup is somehow
> deficient, or if it is only other versions that need it.
I'm using OpenSolaris which is identified as SunOS 5.11. Therefore the
Makefile doesn't set NEEDS_LIBICONV. I'm not sure if it's needed on
Solaris 8 or not, but it's not needed on OpenSolaris.
David
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] Solaris: Use OLD_ICONV to avoid compile warnings
2008-10-02 1:08 ` Jeff King
2008-10-02 10:09 ` David Soria Parra
@ 2008-10-02 15:25 ` Brandon Casey
1 sibling, 0 replies; 4+ messages in thread
From: Brandon Casey @ 2008-10-02 15:25 UTC (permalink / raw)
To: Jeff King; +Cc: David Soria Parra, git, David Soria Parra
Jeff King wrote:
> On Thu, Oct 02, 2008 at 02:08:47AM +0200, David Soria Parra wrote:
>
>> Solaris systems use the old styled iconv(3) call and therefore
>> the OLD_ICONV variable should be set. Otherwise we get annoying compile
>> warnings.
>
> Acked-by: Jeff King <peff@peff.net>
>
> I set OLD_ICONV on my Solaris build.
Ditto here on 7.
>
> Do you also unset NEEDS_LIBICONV (and which version of Solaris are you
> running)?
I do not set NEEDS_LIBICONV.
-brandon
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2008-10-02 15:27 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-02 0:08 [PATCH] Solaris: Use OLD_ICONV to avoid compile warnings David Soria Parra
2008-10-02 1:08 ` Jeff King
2008-10-02 10:09 ` David Soria Parra
2008-10-02 15:25 ` Brandon Casey
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).