Try to fix Undefined symbol "pthread_attr_init" symbol: Although TaskJugglerUI is linked with -pthread, the resulting binary is not linked agains libpthread. (huh? gcc trying to be too smart?) Adding a dummy pthread_ call fixes this. Bump Portrevision PR: 98205, 98517 Reported by: Ken Gunderson <kgunders@teamcool.net> Daniel Graupner <Daniel@smartcast.org>
18 lines
551 B
C++
18 lines
551 B
C++
--- TaskJugglerUI/main.cpp.orig Sat Jul 8 14:30:32 2006
|
|
+++ TaskJugglerUI/main.cpp Sat Jul 8 14:30:39 2006
|
|
@@ -22,6 +22,7 @@
|
|
#include <kaboutdata.h>
|
|
#include <kcmdlineargs.h>
|
|
#include <klocale.h>
|
|
+#include <pthread.h>
|
|
|
|
static const char description[] =
|
|
I18N_NOOP("A Project Management Software for Linux");
|
|
@@ -36,6 +37,7 @@
|
|
|
|
int main(int argc, char **argv)
|
|
{
|
|
+ pthread_yield();
|
|
KAboutData about("taskjuggler", I18N_NOOP("TaskJuggler"), version,
|
|
description,
|
|
KAboutData::License_GPL,
|