pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/glib2 ld.so (a.out) doesn't treat "symbol not fo...
details: https://anonhg.NetBSD.org/pkgsrc/rev/005a3e3e10dc
branches: trunk
changeset: 486964:005a3e3e10dc
user: itohy <itohy%pkgsrc.org@localhost>
date: Thu Jan 06 09:07:06 2005 +0000
description:
ld.so (a.out) doesn't treat "symbol not found" as an error
and dlerror() returns NULL.
diffstat:
devel/glib2/distinfo | 3 ++-
devel/glib2/patches/patch-ag | 22 ++++++++++++++++++++++
2 files changed, 24 insertions(+), 1 deletions(-)
diffs (40 lines):
diff -r 4babd34eca6f -r 005a3e3e10dc devel/glib2/distinfo
--- a/devel/glib2/distinfo Thu Jan 06 07:26:39 2005 +0000
+++ b/devel/glib2/distinfo Thu Jan 06 09:07:06 2005 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.40 2004/12/24 10:03:27 jmmv Exp $
+$NetBSD: distinfo,v 1.41 2005/01/06 09:07:06 itohy Exp $
SHA1 (glib-2.6.0.tar.bz2) = e0d769aeddb0610926f30ab4c62b9378a38e503e
Size (glib-2.6.0.tar.bz2) = 2257529 bytes
@@ -8,3 +8,4 @@
SHA1 (patch-ad) = c926d96bdc9ddf4f434fc57af0adbe11002cffc3
SHA1 (patch-ae) = 09f16e8e14bdea3ee0e478d335f65cb66939e5f5
SHA1 (patch-af) = c7f29961a832b65feef0e8f4cf218491a440f68c
+SHA1 (patch-ag) = b4b554cc04fe4eda899a61f5521da9c0ec0ca524
diff -r 4babd34eca6f -r 005a3e3e10dc devel/glib2/patches/patch-ag
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/glib2/patches/patch-ag Thu Jan 06 09:07:06 2005 +0000
@@ -0,0 +1,22 @@
+$NetBSD: patch-ag,v 1.5 2005/01/06 09:07:06 itohy Exp $
+
+--- gmodule/gmodule-dl.c.orig Fri Feb 20 10:41:00 2004
++++ gmodule/gmodule-dl.c Thu Jan 6 17:41:07 2005
+@@ -140,10 +140,16 @@ _g_module_symbol (gpointer handle,
+ const gchar *symbol_name)
+ {
+ gpointer p;
++ const gchar *errstr;
+
+ p = dlsym (handle, symbol_name);
+ if (!p)
+- g_module_set_error (fetch_dlerror (FALSE));
++ {
++ errstr = fetch_dlerror (FALSE);
++ if (!errstr)
++ errstr = "symbol not found";
++ g_module_set_error (errstr);
++ }
+
+ return p;
+ }
Home |
Main Index |
Thread Index |
Old Index