summaryrefslogtreecommitdiff
path: root/audio/amarok-kde3/patches/patch-ab
blob: 6887b91ce52f22b06fd661a53c1c0d8f3380d8d2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
$NetBSD: patch-ab,v 1.2 2015/02/19 22:22:36 joerg Exp $

--- configure.orig	2008-08-13 21:22:07.000000000 +0000
+++ configure
@@ -37268,7 +37268,7 @@ if test "${ac_cv_lib_tunepimp_tr_GetPUID
   echo $ECHO_N "(cached) $ECHO_C" >&6
 else
   ac_check_lib_save_LIBS=$LIBS
-LIBS="-ltunepimp  $LIBS"
+LIBS="-ltunepimp $PTHREAD_LDFLAGS $PTHREAD_LIBS $LIBS"
 cat >conftest.$ac_ext <<_ACEOF
 /* confdefs.h.  */
 _ACEOF
@@ -37781,13 +37781,13 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 	test "$GCC" = yes && LDFLAGS="-Wl,$LDFLAGS"
 	;;
      esac
-     { echo "$as_me:$LINENO: checking for _init in -lkonqsidebarplugin" >&5
-echo $ECHO_N "checking for _init in -lkonqsidebarplugin... $ECHO_C" >&6; }
+     { echo "$as_me:$LINENO: checking for _ZN17KonqSidebarPluginD0Ev in -lkonqsidebarplugin" >&5
+echo $ECHO_N "checking for _ZN17KonqSidebarPluginD0Ev in -lkonqsidebarplugin... $ECHO_C" >&6; }
 if test "${ac_cv_lib_konqsidebarplugin__init+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" >&6
 else
   ac_check_lib_save_LIBS=$LIBS
-LIBS="-lkonqsidebarplugin  $LIBS"
+LIBS="-lkonqsidebarplugin ${PTHREAD_LIBS} ${PTHREAD_LDFLAGS} $LIBS"
 cat >conftest.$ac_ext <<_ACEOF
 /* confdefs.h.  */
 _ACEOF
@@ -37801,11 +37801,11 @@ cat >>conftest.$ac_ext <<_ACEOF
 #ifdef __cplusplus
 extern "C"
 #endif
-char _init ();
+char _ZN17KonqSidebarPluginD0Ev();
 int
 main ()
 {
-return _init ();
+return _ZN17KonqSidebarPluginD0Ev ();
   ;
   return 0;
 }