ports/133925: [patch] devel/git: upgrade to 1.6.2.4

Eygene Ryabinkin rea-fbsd at codelabs.ru
Thu Apr 23 08:42:00 UTC 2009


Some nitpicking: silence the warning for utf8.c about type mismatch
of the second argument.

--- 1.6.2.4-remove-utf8.c-warning.diff begins here ---
From f61b79379aa367807bbd84a03710a90dae1f5075 Mon Sep 17 00:00:00 2001
From: Eygene Ryabinkin <rea-fbsd at codelabs.ru>
Date: Thu, 23 Apr 2009 12:21:05 +0400
Subject: [PATCH] devel/git: eliminate type mismatch warning in utf8.c

Since our iconv is "old" (has 'const char **' as the second argument
type to the iconv() call), we should tell Git about it.

Signed-off-by: Eygene Ryabinkin <rea-fbsd at codelabs.ru>
---
 devel/git/Makefile |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/devel/git/Makefile b/devel/git/Makefile
index 38d3b35..75ec5d6 100644
--- a/devel/git/Makefile
+++ b/devel/git/Makefile
@@ -173,6 +173,7 @@ USE_GMAKE=	yes
 CFLAGS+=	-I${LOCALBASE}/include
 MAKE_ENV+=	CURLDIR=${LOCALBASE} \
 		NEEDS_LIBICONV=yes \
+		OLD_ICONV=yes \
 		PERL_PATH=${PERL} \
 		LIBMD_SHA1=yes
 MAKE_ARGS+=	prefix="${PREFIX}"
-- 
1.6.2.4
--- 1.6.2.4-remove-utf8.c-warning.diff ends here ---
-- 
Eygene
 _                ___       _.--.   #
 \`.|\..----...-'`   `-._.-'_.-'`   #  Remember that it is hard
 /  ' `         ,       __.--'      #  to read the on-line manual
 )/' _/     \   `-_,   /            #  while single-stepping the kernel.
 `-'" `"\_  ,_.-;_.-\_ ',  fsc/as   #
     _.-'_./   {_.'   ; /           #    -- FreeBSD Developers handbook
    {_.-``-'         {_/            #



More information about the freebsd-ports-bugs mailing list