summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorarved <arved@FreeBSD.org>2007-08-12 17:32:00 +0000
committerarved <arved@FreeBSD.org>2007-08-12 17:32:00 +0000
commit7f46f47c852b575a3091aa33c1c88b9c95a97785 (patch)
tree97e007f232ef6be36836bc0772fe9ada7f9263d3
parent3995665a00938ca5efdff15a18ed6621dd2504a4 (diff)
downloadFreeBSD-ports-7f46f47c852b575a3091aa33c1c88b9c95a97785.zip
FreeBSD-ports-7f46f47c852b575a3091aa33c1c88b9c95a97785.tar.gz
Fix build on 64bit platforms
-rw-r--r--x11-toolkits/mesgui/files/patch-ggFrame.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/x11-toolkits/mesgui/files/patch-ggFrame.cpp b/x11-toolkits/mesgui/files/patch-ggFrame.cpp
new file mode 100644
index 0000000..4a2d527
--- /dev/null
+++ b/x11-toolkits/mesgui/files/patch-ggFrame.cpp
@@ -0,0 +1,11 @@
+--- src/ggFrame.cpp.pre_tr.orig 2007-08-12 19:28:07.000000000 +0200
++++ src/ggFrame.cpp 2007-08-12 19:28:25.000000000 +0200
+@@ -450,7 +450,7 @@
+
+ void ggFrame::AddCloseButton()
+ {
+- ggButton *button = new ggButton("",OnClose,(int)this,0,0,0,0);
++ ggButton *button = new ggButton("",OnClose,(intptr_t)this,0,0,0,0);
+ button->flags |= GGFLAG_ICON;
+ button->icon = GGICON_CLOSE;
+ button->SetPos(xsize-COL_HEIGHT+3,-COL_HEIGHT+3,COL_HEIGHT-6,COL_HEIGHT-6);
OpenPOWER on IntegriCloud