summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKrzysztof Pawlik <nelchael@gentoo.org>2006-02-11 13:44:15 +0000
committerKrzysztof Pawlik <nelchael@gentoo.org>2006-02-11 13:44:15 +0000
commitf605e0a3657ab2d7289dfcca14579759e3535a4b (patch)
tree510d45ed61cf34ca6c63ae21ac3ecba8142acb04 /x11-misc/xchm/files
parentFix segfault on amd64, see bug #112567. (diff)
downloadgentoo-2-f605e0a3657ab2d7289dfcca14579759e3535a4b.tar.gz
gentoo-2-f605e0a3657ab2d7289dfcca14579759e3535a4b.tar.bz2
gentoo-2-f605e0a3657ab2d7289dfcca14579759e3535a4b.zip
Fix bug #117798 - compilation with gcc 4.1.
(Portage version: 2.1_pre4-r1)
Diffstat (limited to 'x11-misc/xchm/files')
-rw-r--r--x11-misc/xchm/files/xchm-gcc41.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/x11-misc/xchm/files/xchm-gcc41.patch b/x11-misc/xchm/files/xchm-gcc41.patch
new file mode 100644
index 000000000000..59a046ebbb39
--- /dev/null
+++ b/x11-misc/xchm/files/xchm-gcc41.patch
@@ -0,0 +1,12 @@
+diff -Naur xchm-1.2-orig/src/chmframe.h xchm-1.2/src/chmframe.h
+--- xchm-1.2-orig/src/chmframe.h 2006-01-04 17:40:19.702114632 -0600
++++ xchm-1.2/src/chmframe.h 2006-01-04 17:41:29.929438456 -0600
+@@ -166,7 +166,7 @@
+ void OnPrint(wxCommandEvent& event);
+
+ //! Called when the user selects a file from the file history.
+- void CHMFrame::OnHistFile(wxCommandEvent& event);
++ void OnHistFile(wxCommandEvent& event);
+
+ //! Called when the user types Ctrl-F.
+ void OnFind(wxCommandEvent& event);