diff options
author | bland <bland@FreeBSD.org> | 2007-07-19 09:36:58 +0800 |
---|---|---|
committer | bland <bland@FreeBSD.org> | 2007-07-19 09:36:58 +0800 |
commit | b4f8815933a5082f4d438920d11c3805ac403339 (patch) | |
tree | da228b8b16f94e000c5e523514ffa21a88bc4513 /devel/gconfmm | |
parent | de608300fcaa59814b70f9b72582f08b4849280b (diff) | |
download | freebsd-ports-gnome-b4f8815933a5082f4d438920d11c3805ac403339.tar.gz freebsd-ports-gnome-b4f8815933a5082f4d438920d11c3805ac403339.tar.zst freebsd-ports-gnome-b4f8815933a5082f4d438920d11c3805ac403339.zip |
Fix 64bit issues uncovered by gcc 4.2
Diffstat (limited to 'devel/gconfmm')
-rw-r--r-- | devel/gconfmm/files/patch-gcc42 | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/devel/gconfmm/files/patch-gcc42 b/devel/gconfmm/files/patch-gcc42 new file mode 100644 index 000000000000..a61940c782d2 --- /dev/null +++ b/devel/gconfmm/files/patch-gcc42 @@ -0,0 +1,30 @@ +--- gconf/gconfmm/client.cc.orig Thu Jul 19 10:19:13 2007 ++++ gconf/gconfmm/client.cc Thu Jul 19 10:24:22 2007 +@@ -182,10 +182,10 @@ + switch(list_type) + { + case GCONF_VALUE_INT: +- gconf_value_set_int(v,(int)i->data); ++ gconf_value_set_int(v,GPOINTER_TO_INT(i->data)); + break; + case GCONF_VALUE_BOOL: +- gconf_value_set_bool(v,(gboolean)i->data); ++ gconf_value_set_bool(v,(i->data) != 0); + break; + case GCONF_VALUE_FLOAT: + gconf_value_set_float(v,*(gdouble*)i->data); +--- gconf/src/client.ccg.orig Thu Jul 19 10:28:58 2007 ++++ gconf/src/client.ccg Thu Jul 19 10:29:36 2007 +@@ -177,10 +177,10 @@ + switch(list_type) + { + case GCONF_VALUE_INT: +- gconf_value_set_int(v,(int)i->data); ++ gconf_value_set_int(v,GPOINTER_TO_INT(i->data)); + break; + case GCONF_VALUE_BOOL: +- gconf_value_set_bool(v,(gboolean)i->data); ++ gconf_value_set_bool(v,(i->data) != 0); + break; + case GCONF_VALUE_FLOAT: + gconf_value_set_float(v,*(gdouble*)i->data); |