diff options
author | danw <danw@pkgsrc.org> | 2003-09-27 20:18:37 +0000 |
---|---|---|
committer | danw <danw@pkgsrc.org> | 2003-09-27 20:18:37 +0000 |
commit | 7b641047cead3596eb27ebea8e72c72726871a60 (patch) | |
tree | 81f7ce97394486feedfa0d776d3fa82830b306e5 /devel/glib2 | |
parent | a2fc21eebf6adf9ede587a8e372700aa63e1209b (diff) | |
download | pkgsrc-7b641047cead3596eb27ebea8e72c72726871a60.tar.gz |
patch the darwin gmodule implementation to recursively look up symbols
like the elf one does
Diffstat (limited to 'devel/glib2')
-rw-r--r-- | devel/glib2/Makefile | 3 | ||||
-rw-r--r-- | devel/glib2/distinfo | 3 | ||||
-rw-r--r-- | devel/glib2/patches/patch-ad | 19 |
3 files changed, 23 insertions, 2 deletions
diff --git a/devel/glib2/Makefile b/devel/glib2/Makefile index 92569f08d2e..1b4cc78eda3 100644 --- a/devel/glib2/Makefile +++ b/devel/glib2/Makefile @@ -1,6 +1,7 @@ -# $NetBSD: Makefile,v 1.29 2003/08/27 09:06:12 wiz Exp $ +# $NetBSD: Makefile,v 1.30 2003/09/27 20:18:37 danw Exp $ DISTNAME= glib-2.2.3 +PKGREVISION= 1 PKGNAME= ${DISTNAME:S/glib/glib2/} CATEGORIES= devel MASTER_SITES= ftp://ftp.gtk.org/pub/gtk/v2.2/ \ diff --git a/devel/glib2/distinfo b/devel/glib2/distinfo index fdfef479378..a6e9046c60f 100644 --- a/devel/glib2/distinfo +++ b/devel/glib2/distinfo @@ -1,7 +1,8 @@ -$NetBSD: distinfo,v 1.18 2003/08/27 09:06:12 wiz Exp $ +$NetBSD: distinfo,v 1.19 2003/09/27 20:18:37 danw Exp $ SHA1 (glib-2.2.3.tar.bz2) = 05580cbe110b94dd5020a07cf6d380190a2a13af Size (glib-2.2.3.tar.bz2) = 1636987 bytes SHA1 (patch-aa) = 6f1a12477763df0edcffd58819e2319f2bfbef4a SHA1 (patch-ab) = cf7fd8b57974a01a718ccacb622f874993034de2 SHA1 (patch-ac) = 6e97c0b3360609f0a4f0f74cd5060f4068364933 +SHA1 (patch-ad) = 13c4bdafc931b8db5d9f83a0035db2244c5be1d1 diff --git a/devel/glib2/patches/patch-ad b/devel/glib2/patches/patch-ad new file mode 100644 index 00000000000..2dbd4d923b3 --- /dev/null +++ b/devel/glib2/patches/patch-ad @@ -0,0 +1,19 @@ +$NetBSD: patch-ad,v 1.6 2003/09/27 20:18:37 danw Exp $ + +--- gmodule/gmodule-dyld.c.orig Sat Sep 6 13:23:40 2003 ++++ gmodule/gmodule-dyld.c Sat Sep 6 13:24:35 2003 +@@ -116,7 +116,13 @@ + if (NSIsSymbolNameDefined (symbol_name)) + sym = NSLookupAndBindSymbol (symbol_name); + else +- sym = NULL; ++ { ++ GModule *mod; ++ for (mod = modules, sym = NULL; mod && !sym; mod = mod->next) ++ { ++ sym = NSLookupSymbolInModule (mod->handle, symbol_name); ++ } ++ } + } + else + sym = NSLookupSymbolInModule (handle, symbol_name); |