ports/150074: [patch] games/hex-a-hop: update to 1.1.0
Jamie Landeg Jones
jamie at bishopston.net
Sun Aug 29 17:50:05 UTC 2010
The following reply was made to PR ports/150074; it has been noted by GNATS.
From: Jamie Landeg Jones <jamie at bishopston.net>
To: jamie at bishopston.net, bug-followup at 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--
More information about the freebsd-ports-bugs
mailing list