aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authorarved <arved@FreeBSD.org>2007-08-03 22:34:30 +0800
committerarved <arved@FreeBSD.org>2007-08-03 22:34:30 +0800
commitb34f38bd406b6a41c0226613c731945d045321be (patch)
tree1c0f5604edf33580a130a8a37b5bea4646bcf090 /graphics
parentbe66268a22f28fd682b5b032c2b97dd2dcbd8c5c (diff)
downloadfreebsd-ports-graphics-b34f38bd406b6a41c0226613c731945d045321be.tar.gz
freebsd-ports-graphics-b34f38bd406b6a41c0226613c731945d045321be.tar.zst
freebsd-ports-graphics-b34f38bd406b6a41c0226613c731945d045321be.zip
Fix build on 64bit platforms
Diffstat (limited to 'graphics')
-rw-r--r--graphics/gtkfig/files/patch-src::main.cc19
1 files changed, 19 insertions, 0 deletions
diff --git a/graphics/gtkfig/files/patch-src::main.cc b/graphics/gtkfig/files/patch-src::main.cc
new file mode 100644
index 00000000000..72f823928a5
--- /dev/null
+++ b/graphics/gtkfig/files/patch-src::main.cc
@@ -0,0 +1,19 @@
+--- src/main.cc.orig 2007-08-03 16:32:02.000000000 +0200
++++ src/main.cc 2007-08-03 16:32:36.000000000 +0200
+@@ -4,6 +4,7 @@
+ * *
+ \***********************************/
+
++#include <sys/types.h>
+ #include <string.h>
+ #include <errno.h>
+ #include <stdlib.h>
+@@ -44,7 +45,7 @@
+ void on_fsb_clicked (GtkButton *button, gpointer user_data)
+ {
+ button = button;
+- if ((int)user_data == 0) System->FileSelectionOK();
++ if ((intptr_t)user_data == 0) System->FileSelectionOK();
+ else System->FileSelectionCancel();
+ }
+