aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2007-06-29 16:32:39 +0800
committermiwi <miwi@FreeBSD.org>2007-06-29 16:32:39 +0800
commit5cfd816edae7a0f59a9bb515fc86d614573ece87 (patch)
tree70792cdd7c3630a25fef61bc5e940fda52d51692 /sysutils
parentf1fc4e569629851c76bbfa0975baac106942282a (diff)
downloadfreebsd-ports-gnome-5cfd816edae7a0f59a9bb515fc86d614573ece87.tar.gz
freebsd-ports-gnome-5cfd816edae7a0f59a9bb515fc86d614573ece87.tar.zst
freebsd-ports-gnome-5cfd816edae7a0f59a9bb515fc86d614573ece87.zip
- Fix build with gcc 4.2
PR: 114079 Submitted by: KATO Tsuguru <tkato432@yahoo.com>
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/bbapm/files/patch-Image.hh2
-rw-r--r--sysutils/bbapm/files/patch-resource.hh13
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;