git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH/RFC] FreeBSD iconv function signature is "old"

From
Junio C Hamano <gitster@pobox.com>
Date
Dec 26, 2009, 09:09 UTC
Message-ID
<7vr5qi6r0r.fsf@alter.siamese.dyndns.org>
In-Reply-To
<7v7hxysie9.fsf@alter.siamese.dyndns.org>
Junio C Hamano <gitster@pobox.com> writes:
Show 9 quoted lines
> I noticed that my build on FreeBSD-7.2-RELEASE-i386 fails without
> OLD_ICONV=YesPlease.
>
> Is it just me and my installation (i.e. I might have failed to install
> saner iconv from the port that everybody uses), or is everybody who runs
> on FreeBSD using this option himself because our Makefile doesn't do that
> automatically for them?
>
> Just in case it is the latter, here is a proposed patch.

By the way, FreeBSD-8.0-RELEASE-i386 has the same issue. I'll queue it to 'maint' unless anybody objects...

Show 15 quoted lines
>  Makefile |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/Makefile b/Makefile
> index bde27ed..9a25c08 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -777,6 +777,7 @@ ifeq ($(uname_O),Cygwin)
>  endif
>  ifeq ($(uname_S),FreeBSD)
>  	NEEDS_LIBICONV = YesPlease
> +	OLD_ICONV = YesPlease
>  	NO_MEMMEM = YesPlease
>  	BASIC_CFLAGS += -I/usr/local/include
>  	BASIC_LDFLAGS += -L/usr/local/lib
Previous: Junio C HamanoNext: Brandon Casey
Message 6 of 8 in “SunOS grep does not understand -C<n>”
  1. SunOS grep does not understand -C<n>Junio C Hamano, Jul 24, 2009
  2. Jeff KingJul 24, 2009
  3. Junio C HamanoJul 24, 2009
  4. Jeff KingJul 24, 2009
  5. FreeBSD iconv function signature is "old"Junio C Hamano, Jul 24, 2009
  6. FreeBSD iconv function signature is "old"Junio C Hamano, Dec 26, 2009
  7. Brandon CaseyJul 24, 2009
  8. Junio C HamanoJul 24, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.