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:
parent
dd85ba3b31
commit
f231a8c67a
@ -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
|
||||
|
12
x11/kde/libs3/patches/patch-kdecore_klibloader_cpp
Normal file
12
x11/kde/libs3/patches/patch-kdecore_klibloader_cpp
Normal 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;
|
||||
}
|
Loading…
Reference in New Issue
Block a user