From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Aug 29 17:50:05 2010 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2FFEC10656AD for ; Sun, 29 Aug 2010 17:50:05 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 058798FC1A for ; Sun, 29 Aug 2010 17:50:05 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o7THo4Ob006114 for ; Sun, 29 Aug 2010 17:50:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o7THo4n1006109; Sun, 29 Aug 2010 17:50:04 GMT (envelope-from gnats) Date: Sun, 29 Aug 2010 17:50:04 GMT Message-Id: <201008291750.o7THo4n1006109@freefall.freebsd.org> To: freebsd-ports-bugs@FreeBSD.org From: Jamie Landeg Jones Cc: Subject: Re: ports/150074: [patch] games/hex-a-hop: update to 1.1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Jamie Landeg Jones List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Aug 2010 17:50:05 -0000 The following reply was made to PR ports/150074; it has been noted by GNATS. From: Jamie Landeg Jones To: jamie@bishopston.net, bug-followup@FreeBSD.org Cc: Subject: Re: ports/150074: [patch] games/hex-a-hop: update to 1.1.0 Date: Sun, 29 Aug 2010 18:27:11 +0100 This is a multi-part message in MIME format. --=_4c7a986f.Xt0H3U6Q+YMuxLzcRSoijxR6Cumd4KeyjqQpIaGKwNsZ2o8Z Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline Please could you apply the patch as submitted, and in addition place the attached file into the 'files' subdirectory (it allows the game to compile on machines without the freebsd9 'bsd iconv') Cheers, Jamie --=_4c7a986f.Xt0H3U6Q+YMuxLzcRSoijxR6Cumd4KeyjqQpIaGKwNsZ2o8Z Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="patch-src-text.cpp" --- src/text.cpp.orig 2009-10-02 23:26:15.000000000 +0100 +++ src/text.cpp 2010-08-29 18:00:37.000000000 +0100 @@ -439,7 +439,7 @@ errno = 0; static const char *locale_enc = gettext_init.GetEncoding(); iconv_t cd = iconv_open("UTF-8", locale_enc); - char *in_buf = const_cast(&text_locally_encoded[0]); + const char *in_buf = const_cast(&text_locally_encoded[0]); char *out_buf = &text_utf8[0]; iconv(cd, &in_buf, &text_length, &out_buf, &text_utf8_length); iconv_close(cd); --=_4c7a986f.Xt0H3U6Q+YMuxLzcRSoijxR6Cumd4KeyjqQpIaGKwNsZ2o8Z--