Date: Sun, 29 Aug 2010 17:50:04 GMT From: Jamie Landeg Jones <jamie@bishopston.net> To: freebsd-ports-bugs@FreeBSD.org Subject: Re: ports/150074: [patch] games/hex-a-hop: update to 1.1.0 Message-ID: <201008291750.o7THo4n1006109@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/150074; it has been noted by GNATS. From: Jamie Landeg Jones <jamie@bishopston.net> 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<char *>(&text_locally_encoded[0]); + const char *in_buf = const_cast<char *>(&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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201008291750.o7THo4n1006109>