Print the symbol name when a dlsym fails, bump packagename.

kdecore (KLibLoader): WARNING: KLibrary: Unable to resolve symbol [<name>]
ok espie
This commit is contained in:
drahn 2005-04-27 15:49:55 +00:00
parent dd85ba3b31
commit f231a8c67a
2 changed files with 14 additions and 2 deletions

View File

@ -1,10 +1,10 @@
# $OpenBSD: Makefile,v 1.51 2005/04/08 20:47:01 sturm Exp $
# $OpenBSD: Makefile,v 1.52 2005/04/27 15:49:55 drahn Exp $
COMMENT= "K Desktop Environment, libraries"
CATEGORIES= x11 x11/kde
VERSION= 3.4.0
DISTNAME= kdelibs-${VERSION}
PKGNAME= ${DISTNAME}p0
PKGNAME= ${DISTNAME}p1
MODKDE_VERSION?= 3.4
FLAVORS=debug

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-kdecore_klibloader_cpp,v 1.1 2005/04/27 15:49:55 drahn Exp $
--- kdecore/klibloader.cpp.orig Tue Sep 7 05:42:17 2004
+++ kdecore/klibloader.cpp Mon Apr 25 20:01:03 2005
@@ -181,7 +181,7 @@ void* KLibrary::symbol( const char* symn
void* sym = lt_dlsym( (lt_dlhandle) m_handle, symname );
if ( !sym )
{
- KLibLoader::self()->d->errorMessage = "KLibrary: " + QString::fromLatin1( lt_dlerror() );
+ KLibLoader::self()->d->errorMessage = "KLibrary: " + QString::fromLatin1( lt_dlerror() ) +" [" + symname +"]";
kdWarning(150) << KLibLoader::self()->d->errorMessage << endl;
return 0;
}