Gentoo Archives: gentoo-commits

From: "Fabian Groffen (grobian)" <grobian@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-misc/tmux/files: tmux-1.5-darwin.patch
Date: Sat, 30 Jul 2011 11:59:02
Message-Id: 20110730115851.6541E20051@flycatcher.gentoo.org
1 grobian 11/07/30 11:58:51
2
3 Added: tmux-1.5-darwin.patch
4 Log:
5 Fix for Darwin (bug #376045) and Prefix
6
7 (Portage version: 2.2.01.19011-prefix/cvs/Darwin powerpc)
8
9 Revision Changes Path
10 1.1 app-misc/tmux/files/tmux-1.5-darwin.patch
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/tmux/files/tmux-1.5-darwin.patch?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/tmux/files/tmux-1.5-darwin.patch?rev=1.1&content-type=text/plain
14
15 Index: tmux-1.5-darwin.patch
16 ===================================================================
17 http://sourceforge.net/tracker/?func=detail&aid=3376684&group_id=200378&atid=973262
18
19
20 --- configure.ac
21 +++ configure.ac
22 @@ -124,6 +124,7 @@
23 # Look for networking libraries.
24 AC_SEARCH_LIBS(b64_ntop, resolv)
25 AC_SEARCH_LIBS(__b64_ntop, resolv)
26 +AC_SEARCH_LIBS(res_9_b64_ntop, resolv)
27 AC_SEARCH_LIBS(inet_ntoa, nsl)
28 AC_SEARCH_LIBS(socket, socket)
29 AC_CHECK_LIB(xnet, socket)
30 --- configure
31 +++ configure
32 @@ -4718,6 +4718,62 @@
33
34 fi
35
36 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing res_9_b64_ntop" >&5
37 +$as_echo_n "checking for library containing res_9_b64_ntop... " >&6; }
38 +if test "${ac_cv_search_res_9_b64_ntop+set}" = set; then :
39 + $as_echo_n "(cached) " >&6
40 +else
41 + ac_func_search_save_LIBS=$LIBS
42 +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43 +/* end confdefs.h. */
44 +
45 +/* Override any GCC internal prototype to avoid an error.
46 + Use char because int might match the return type of a GCC
47 + builtin and then its argument prototype would still apply. */
48 +#ifdef __cplusplus
49 +extern "C"
50 +#endif
51 +char res_9_b64_ntop ();
52 +int
53 +main ()
54 +{
55 +return res_9_b64_ntop ();
56 + ;
57 + return 0;
58 +}
59 +_ACEOF
60 +for ac_lib in '' resolv; do
61 + if test -z "$ac_lib"; then
62 + ac_res="none required"
63 + else
64 + ac_res=-l$ac_lib
65 + LIBS="-l$ac_lib $ac_func_search_save_LIBS"
66 + fi
67 + if ac_fn_c_try_link "$LINENO"; then :
68 + ac_cv_search_res_9_b64_ntop=$ac_res
69 +fi
70 +rm -f core conftest.err conftest.$ac_objext \
71 + conftest$ac_exeext
72 + if test "${ac_cv_search_res_9_b64_ntop+set}" = set; then :
73 + break
74 +fi
75 +done
76 +if test "${ac_cv_search_res_9_b64_ntop+set}" = set; then :
77 +
78 +else
79 + ac_cv_search_res_9_b64_ntop=no
80 +fi
81 +rm conftest.$ac_ext
82 +LIBS=$ac_func_search_save_LIBS
83 +fi
84 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_res_9_b64_ntop" >&5
85 +$as_echo "$ac_cv_search_res_9_b64_ntop" >&6; }
86 +ac_res=$ac_cv_search_res_9_b64_ntop
87 +if test "$ac_res" != no; then :
88 + test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
89 +
90 +fi
91 +
92 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_ntoa" >&5
93 $as_echo_n "checking for library containing inet_ntoa... " >&6; }
94 if test "${ac_cv_search_inet_ntoa+set}" = set; then :