diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2007-06-29 08:32:39 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2007-06-29 08:32:39 +0000 |
commit | 630af28478f7707f453a3c32e6820a2f43425550 (patch) | |
tree | 9be6dcd19d34c61fa68425a6c2eb72dbe478f7dd | |
parent | - Fix build with gcc4 (diff) |
- Fix build with gcc 4.2
PR: 114079
Submitted by: KATO Tsuguru <tkato432@yahoo.com>
Notes
Notes:
svn path=/head/; revision=194437
-rw-r--r-- | sysutils/bbapm/files/patch-Image.hh | 2 | ||||
-rw-r--r-- | sysutils/bbapm/files/patch-resource.hh | 13 |
2 files changed, 14 insertions, 1 deletions
diff --git a/sysutils/bbapm/files/patch-Image.hh b/sysutils/bbapm/files/patch-Image.hh index dec4084d89d4..97943a1dcb28 100644 --- a/sysutils/bbapm/files/patch-Image.hh +++ b/sysutils/bbapm/files/patch-Image.hh @@ -16,7 +16,7 @@ + int allocated; + unsigned char red, green, blue; + unsigned long pixel; -+ BColor::BColor() { allocated = False; } ++ BColor() { allocated = False; } +}; +#endif diff --git a/sysutils/bbapm/files/patch-resource.hh b/sysutils/bbapm/files/patch-resource.hh new file mode 100644 index 000000000000..1b4298d71b9c --- /dev/null +++ b/sysutils/bbapm/files/patch-resource.hh @@ -0,0 +1,13 @@ +--- resource.hh.orig Sat Aug 21 05:41:11 1999 ++++ resource.hh Thu Jun 7 03:32:31 2007 +@@ -81,8 +81,8 @@ + { + + public: +- Resource::Resource(ToolWindow *); +- Resource::~Resource(void); ++ Resource(ToolWindow *); ++ ~Resource(void); + + struct FRAME frame; + struct LABEL label; |