diff options
author | Shigeyuki Fukushima <shige@FreeBSD.org> | 2000-01-11 15:52:35 +0000 |
---|---|---|
committer | Shigeyuki Fukushima <shige@FreeBSD.org> | 2000-01-11 15:52:35 +0000 |
commit | d0094e951a8f7bd1f793e0cd66cc6ed91b034a58 (patch) | |
tree | db5ef3978ff9d2fc60f3bf46216c152189bffdb9 /japanese/iv/files/patch-aa | |
parent | Add explanation of `locale warning message' to DESCR and MESSAGE. (diff) |
Fix build error under 4-current and new egcs/C++ compiler.
PR: ports/16024
Submitted by: MIHIRA Yoshiro <sanpei@sanpei.org>
Diffstat (limited to 'japanese/iv/files/patch-aa')
-rw-r--r-- | japanese/iv/files/patch-aa | 22 |
1 files changed, 19 insertions, 3 deletions
diff --git a/japanese/iv/files/patch-aa b/japanese/iv/files/patch-aa index bcd21e89061e..96341aee9226 100644 --- a/japanese/iv/files/patch-aa +++ b/japanese/iv/files/patch-aa @@ -242,18 +242,22 @@ --- src/bin/ibuild/ibcmds.c Sat Sep 11 09:52:51 1999 *************** *** 86,92 **** ---- 86,94 ---- +--- 86,98 ---- #undef FileChooser #define FileChooser _lib_iv(FileChooser) + #if __FreeBSD_cc_version < 400002 #include <osfcn.h> + #endif ++ #if __FreeBSD_cc_version >= 400003 ++ #include <unistd.h> ++ #endif ++ #include <stdio.h> #include <stdlib.h> #include <stream.h> *************** -*** 2407,2415 **** +*** 2407,2421 **** EditorInfo* installed = (EditorInfo*) toolsdialog.Installed(); EditorInfo* removed = (EditorInfo*) toolsdialog.Removed(); @@ -263,7 +267,13 @@ ToolPanel* itoolpanel = iEd->GetToolPanel(); for (int i = 0; i < installed->Count(); i++) { ---- 2409,2417 ---- + itoolpanel->Install(installed->GetName(i)); + } +! for (i = 0; i < removed->Count(); i++) { + itoolpanel->Uninstall(removed->GetName(i)); + } + itoolpanel->Change(); +--- 2413,2427 ---- EditorInfo* installed = (EditorInfo*) toolsdialog.Installed(); EditorInfo* removed = (EditorInfo*) toolsdialog.Removed(); @@ -273,3 +283,9 @@ ToolPanel* itoolpanel = iEd->GetToolPanel(); for (int i = 0; i < installed->Count(); i++) { + itoolpanel->Install(installed->GetName(i)); + } +! for (int i = 0; i < removed->Count(); i++) { + itoolpanel->Uninstall(removed->GetName(i)); + } + itoolpanel->Change(); |