wxbase: update to version 2.8.12
[packages.git] / net / amule / patches / 001-no_backtrace.patch
1 Index: aMule-2.2.6/configure
2 ===================================================================
3 --- aMule-2.2.6.orig/configure  2012-07-28 23:50:12.000000000 +0200
4 +++ aMule-2.2.6/configure       2012-07-28 23:50:51.000000000 +0200
5 @@ -18375,93 +18375,6 @@
6  
7  
8  
9 -# Check for bfd.h (to have proper backtraces without using wxExecute)
10 -
11 -       echo "$as_me:$LINENO: checking for bfd" >&5
12 -echo $ECHO_N "checking for bfd... $ECHO_C" >&6
13 -       result=no
14 -       for bfd_ldadd in "" "${LIBINTL}"; do
15 -               mule_backup_LIBS="$LIBS"
16 -               mule_backup_LDFLAGS="$LDFLAGS"
17 -               LIBS="-lbfd -liberty ${bfd_ldadd} ${ZLIB_LIBS} $LIBS"
18 -               LDFLAGS="$LDFLAGS ${ZLIB_LDFLAGS}"
19 -               cat >conftest.$ac_ext <<_ACEOF
20 -
21 -                       /* confdefs.h.  */
22 -_ACEOF
23 -cat confdefs.h >>conftest.$ac_ext
24 -cat >>conftest.$ac_ext <<_ACEOF
25 -/* end confdefs.h.  */
26 -
27 -                               #include <ansidecl.h>
28 -                               #include <bfd.h>
29 -
30 -int
31 -main ()
32 -{
33 -
34 -                               char *dummy = bfd_errmsg(bfd_get_error());
35 -
36 -  ;
37 -  return 0;
38 -}
39 -
40 -_ACEOF
41 -rm -f conftest.$ac_objext conftest$ac_exeext
42 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43 -  (eval $ac_link) 2>conftest.er1
44 -  ac_status=$?
45 -  grep -v '^ *+' conftest.er1 >conftest.err
46 -  rm -f conftest.er1
47 -  cat conftest.err >&5
48 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
49 -  (exit $ac_status); } &&
50 -        { ac_try='test -z "$ac_c_werror_flag"
51 -                        || test ! -s conftest.err'
52 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53 -  (eval $ac_try) 2>&5
54 -  ac_status=$?
55 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
56 -  (exit $ac_status); }; } &&
57 -        { ac_try='test -s conftest$ac_exeext'
58 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59 -  (eval $ac_try) 2>&5
60 -  ac_status=$?
61 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
62 -  (exit $ac_status); }; }; then
63 -
64 -                       result=yes
65 -                       BFD_CPPFLAGS="-DHAVE_BFD"
66 -                       BFD_LIBS="-lbfd -liberty ${bfd_ldadd}"
67 -                       LIBS="$mule_backup_LIBS"
68 -                       LDFLAGS="$mule_backup_LDFLAGS"
69 -                       break
70 -
71 -else
72 -  echo "$as_me: failed program was:" >&5
73 -sed 's/^/| /' conftest.$ac_ext >&5
74 -
75 -fi
76 -rm -f conftest.err conftest.$ac_objext \
77 -      conftest$ac_exeext conftest.$ac_ext
78 -               LIBS="$mule_backup_LIBS"
79 -               LDFLAGS="$mule_backup_LDFLAGS"
80 -       done
81 -
82 -       echo "$as_me:$LINENO: result: $result" >&5
83 -echo "${ECHO_T}$result" >&6
84 -
85 -       if test $result = no; then
86 -  { echo "$as_me:$LINENO: WARNING:
87 -       bfd.h not found or unusable, please install binutils development
88 -       package if you are a developer or want to help testing aMule" >&5
89 -echo "$as_me: WARNING:
90 -       bfd.h not found or unusable, please install binutils development
91 -       package if you are a developer or want to help testing aMule" >&2;}
92 -
93 -fi
94 -
95 -
96         echo "$as_me:$LINENO: checking for <execinfo.h> and backtrace()" >&5
97  echo $ECHO_N "checking for <execinfo.h> and backtrace()... $ECHO_C" >&6
98         cat >conftest.$ac_ext <<_ACEOF