Subject: Re: gnucash issues
To: Martin J. Laubach <>
From: Jan Schaumann <>
List: tech-pkg
Date: 02/07/2004 23:51:47
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

"Martin J. Laubach" <> wrote:
> |  Yes they do come from gnucash, they appear to be generated though due =
> |  a lack of symbols in binaries  IE this is something to do with the
> |  linker/libtool options we use.
>   In fact it has to do with and devel/glib. Here's what I just
> appended to PR/21452.
>   The problem actually is in devel/glib, not in gnucash. Our glib
> package has indeed a patch-ag that is supposed to fix the problem
> under FreeBSD, but it has two problems: (a) the fix is under #ifdef
> __FreeBSD__, and (b) it won't work for non-current because it uses
> RTLD_DEFAULT which our only has grown recently.

I can confirm that this seems to fix gnucash on -current.  Thanks a lot!
Could you commit the change to patches/patch-ag, please?  Maybe somebody
wants to test this against OpenBSD?  And send the patch back to the
gnucash folks?


Index: distinfo
RCS file: /cvsroot/pkgsrc/devel/glib/distinfo,v
retrieving revision 1.9
diff -b -u -r1.9 distinfo
--- distinfo    5 Sep 2003 16:54:49 -0000       1.9
+++ distinfo    8 Feb 2004 04:47:16 -0000
@@ -8,5 +8,5 @@
 SHA1 (patch-ad) =3D a7c10916ccaef52a62415d129060a6dddbc5fbd8
 SHA1 (patch-ae) =3D 222a1f4c470fd1123deb3b4dd918b036b3607e59
 SHA1 (patch-af) =3D 3292d96121329583be5bf0ac573d2cec297b5d52
-SHA1 (patch-ag) =3D a0b4009a24474c1b037614f2ae0660a39c11d1b7
+SHA1 (patch-ag) =3D 889c928caa2ecb332c7b75a7e02c04653e04ff3a
 SHA1 (patch-ai) =3D 8c81ff9ed494a00663ce92afc889050a4eb37218
cvs diff: Diffing patches
Index: patches/patch-ag
RCS file: /cvsroot/pkgsrc/devel/glib/patches/patch-ag,v
retrieving revision 1.4
diff -b -u -r1.4 patch-ag
--- patches/patch-ag    5 Sep 2003 16:54:50 -0000       1.4
+++ patches/patch-ag    8 Feb 2004 04:47:16 -0000
@@ -6,7 +6,7 @@
  static gpointer
  _g_module_self (void)
-+#ifndef __FreeBSD__
++#if !defined(__FreeBSD__) && !defined(__NetBSD__)
    gpointer handle;
    /* to query symbols from the program itself, special link options

Life," said Marvin, "don't talk to me about life."

Content-Type: application/pgp-signature
Content-Disposition: inline

Version: GnuPG v1.2.3 (NetBSD)