diff options
author | wiz <wiz@pkgsrc.org> | 2010-03-01 11:15:47 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2010-03-01 11:15:47 +0000 |
commit | e4bde77ce8f4be6febba65b067b97671a78c4bc9 (patch) | |
tree | 00cd5fcd1171d622bb1a4994ea85a9b0aa856110 /games/hex-a-hop/patches | |
parent | 32041e22bcad2e6a195932605f410a50266b816d (diff) | |
download | pkgsrc-e4bde77ce8f4be6febba65b067b97671a78c4bc9.tar.gz |
Initial import of hex-a-hop-1.1.0:
Hex-a-Hop is a hexagonal tile-based puzzle game with one simple
goal: destroy all green tiles! There are infinite undos and no time
limits -- you just have to find a way to destroy all the green
tiles and step on a safe tile at the end.
Diffstat (limited to 'games/hex-a-hop/patches')
-rw-r--r-- | games/hex-a-hop/patches/patch-aa | 13 | ||||
-rw-r--r-- | games/hex-a-hop/patches/patch-ab | 13 |
2 files changed, 26 insertions, 0 deletions
diff --git a/games/hex-a-hop/patches/patch-aa b/games/hex-a-hop/patches/patch-aa new file mode 100644 index 00000000000..eedfdac2ee8 --- /dev/null +++ b/games/hex-a-hop/patches/patch-aa @@ -0,0 +1,13 @@ +$NetBSD: patch-aa,v 1.1.1.1 2010/03/01 11:15:47 wiz Exp $ + +--- src/text.cpp.orig 2009-10-02 22:26:15.000000000 +0000 ++++ src/text.cpp +@@ -441,7 +441,7 @@ void ConvertToUTF8(const std::string &te + iconv_t cd = iconv_open("UTF-8", locale_enc); + 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(cd, (const char **)&in_buf, &text_length, &out_buf, &text_utf8_length); + iconv_close(cd); + if (errno != 0) + std::cerr << "An error occurred recoding " << text_locally_encoded << " to UTF8" << std::endl; diff --git a/games/hex-a-hop/patches/patch-ab b/games/hex-a-hop/patches/patch-ab new file mode 100644 index 00000000000..c142cc2ae6b --- /dev/null +++ b/games/hex-a-hop/patches/patch-ab @@ -0,0 +1,13 @@ +$NetBSD: patch-ab,v 1.1.1.1 2010/03/01 11:15:47 wiz Exp $ + +--- src/Makefile.in.orig 2009-11-01 11:09:08.000000000 +0000 ++++ src/Makefile.in +@@ -313,7 +313,7 @@ dat2bmp$(EXEEXT): $(dat2bmp_OBJECTS) $(d + $(LINK) $(dat2bmp_OBJECTS) $(dat2bmp_LDADD) $(LIBS) + hex-a-hop$(EXEEXT): $(hex_a_hop_OBJECTS) $(hex_a_hop_DEPENDENCIES) + @rm -f hex-a-hop$(EXEEXT) +- $(CXXLINK) $(hex_a_hop_OBJECTS) $(hex_a_hop_LDADD) $(LIBS) ++ $(CXXLINK) $(hex_a_hop_OBJECTS) $(hex_a_hop_LDADD) $(LIBS) -lintl + + mostlyclean-compile: + -rm -f *.$(OBJEXT) |