Subject: Re: Solved: SIGSEGV with x11/lablgtk (net/unison won't work)
To: None <pkgsrc-users@netbsd.org>
From: Brian de Alwis <bsd@cs.ubc.ca>
List: pkgsrc-users
Date: 11/27/2007 21:51:38
That patch wasn't sufficient to fix mldonkey-gui.  The patch below
does appear to get the UI to work -- I've never used the app, so
can't really atest to its actual functionality.  I'll submit this
patch shortly to the PR too.

Index: src/ml_gobject.c
===================================================================
--- src/ml_gobject.c	(revision 1388)
+++ src/ml_gobject.c	(working copy)
@@ -51,7 +51,7 @@
 
 Make_Val_final_pointer(GObject, g_object_ref, ml_g_object_unref_later, 0)
 Make_Val_final_pointer_ext (GObject, _new, Ignore, ml_g_object_unref_later, 20)
-ML_1 (G_TYPE_FROM_INSTANCE, GObject_val, Val_int)
+ML_1 (G_TYPE_FROM_INSTANCE, GObject_val, Val_GType)
 // ML_1 (g_object_ref, GObject_val, Unit)
 CAMLprim value ml_g_object_unref (value val)
 {


-- 
  Brian de Alwis | Software Practices Lab | UBC | http://www.cs.ubc.ca/~bsd/
      "Amusement to an observing mind is study." - Benjamin Disraeli