summaryrefslogtreecommitdiff
path: root/games-util/wxchtdecoder/files/wxchtdecoder-1.5a-wxgtk.patch
diff options
context:
space:
mode:
Diffstat (limited to 'games-util/wxchtdecoder/files/wxchtdecoder-1.5a-wxgtk.patch')
-rw-r--r--games-util/wxchtdecoder/files/wxchtdecoder-1.5a-wxgtk.patch37
1 files changed, 37 insertions, 0 deletions
diff --git a/games-util/wxchtdecoder/files/wxchtdecoder-1.5a-wxgtk.patch b/games-util/wxchtdecoder/files/wxchtdecoder-1.5a-wxgtk.patch
new file mode 100644
index 0000000000..1eb61febe1
--- /dev/null
+++ b/games-util/wxchtdecoder/files/wxchtdecoder-1.5a-wxgtk.patch
@@ -0,0 +1,37 @@
+--- wxchtdecoder-1.5a.orig/source/chtdecoder.cc
++++ wxchtdecoder-1.5a/source/chtdecoder.cc
+@@ -64,26 +64,26 @@
+ const wxSize *CHTDecoder::APP_SIZE = new wxSize(640, 480);
+
+ namespace {
+- const wxCmdLineEntryDesc CMDLINE_DESC[] = {
++ wxCmdLineEntryDesc CMDLINE_DESC[] = {
+ {
+- wxCMD_LINE_SWITCH, wxT("h"), wxT("help"),
+- wxT("display usage information"), wxCMD_LINE_VAL_STRING,
++ wxCMD_LINE_SWITCH, "h", "help",
++ "display usage information", wxCMD_LINE_VAL_STRING,
+ wxCMD_LINE_OPTION_HELP
+ },
+
+ {
+- wxCMD_LINE_SWITCH, wxT("v"), wxT("version"),
+- wxT("display version information"), wxCMD_LINE_VAL_STRING,
++ wxCMD_LINE_SWITCH, "v", "version",
++ "display version information", wxCMD_LINE_VAL_STRING,
+ wxCMD_LINE_OPTION_HELP
+ },
+
+ {
+- wxCMD_LINE_SWITCH, wxT("f"), wxT("force-open"),
+- wxT("force opening of possibly invalid .CHT files")
++ wxCMD_LINE_SWITCH, "f", "force-open",
++ "force opening of possibly invalid .CHT files"
+ },
+
+ {
+- wxCMD_LINE_PARAM, 0, 0, wxT(".CHT file(s)"),
++ wxCMD_LINE_PARAM, 0, 0, ".CHT file(s)",
+ wxCMD_LINE_VAL_STRING, wxCMD_LINE_PARAM_MULTIPLE
+ },
+