diff options
author | Tilman Keskinoz <arved@FreeBSD.org> | 2007-08-03 14:34:30 +0000 |
---|---|---|
committer | Tilman Keskinoz <arved@FreeBSD.org> | 2007-08-03 14:34:30 +0000 |
commit | 21c0ef670c0ac8baef4aaba2ab86a5ca32bba230 (patch) | |
tree | 6d5a6c8ffdce58809086d632c14070f462c25987 /graphics/gtkfig/files | |
parent | b30403e798366646376d354bc2cd578fabe55334 (diff) | |
download | ports-21c0ef670c0ac8baef4aaba2ab86a5ca32bba230.tar.gz ports-21c0ef670c0ac8baef4aaba2ab86a5ca32bba230.zip |
Notes
Diffstat (limited to 'graphics/gtkfig/files')
-rw-r--r-- | graphics/gtkfig/files/patch-src::main.cc | 19 |
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 000000000000..72f823928a52 --- /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(); + } + |