ocaml-lablgtk/lablgtk-gcc4.patch
Toshio くらとみ 865c9bca73 - Removed gnome-1.x BuildRequires
- Removed BuildRequires not explicitly mentioned in the configure script
    (These are dragged in through dependencies.)
- Fix a gcc4 error about lvalue casting.
2005-05-26 18:38:34 +00:00

12 lines
367 B
Diff

--- lablgtk-2.4.0/src/ml_panel.c.gcc4 2005-05-10 06:05:10.000000000 -0400
+++ lablgtk-2.4.0/src/ml_panel.c 2005-05-10 06:07:36.000000000 -0400
@@ -128,7 +128,7 @@
static void weak_notify(gpointer data, GObject *applet)
{
value *glob_root = data;
- Pointer_val(*glob_root) = NULL;
+ Field(*glob_root, 1) = (long)NULL;
ml_global_root_destroy(glob_root);
}