Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 331590 Details for
Bug 446184
net-libs/libtorrent-0.13.2: fails to cross compile
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
libtorrent-0.13.2-cross-compile.patch
libtorrent-0.13.2-cross-compile.patch (text/plain), 1.85 KB, created by
Ambroz Bizjak
on 2012-12-06 00:33:26 UTC
(
hide
)
Description:
libtorrent-0.13.2-cross-compile.patch
Filename:
MIME Type:
Creator:
Ambroz Bizjak
Created:
2012-12-06 00:33:26 UTC
Size:
1.85 KB
patch
obsolete
>diff -urN libtorrent-0.13.2/scripts/checks.m4 libtorrent-0.13.2.new/scripts/checks.m4 >--- libtorrent-0.13.2/scripts/checks.m4 2012-04-12 09:44:23.000000000 +0000 >+++ libtorrent-0.13.2.new/scripts/checks.m4 2012-10-11 14:21:56.599122688 +0000 >@@ -73,26 +73,6 @@ > ]) > ]) > >- >-AC_DEFUN([TORRENT_CHECK_KQUEUE], [ >- AC_MSG_CHECKING(for kqueue support) >- >- AC_LINK_IFELSE([AC_LANG_SOURCE([ >- #include <sys/time.h> /* Because OpenBSD's sys/event.h fails to compile otherwise. Yeah... */ >- #include <sys/event.h> >- int main() { >- int fd = kqueue(); >- return 0; >- } >- ])], >- [ >- AC_DEFINE(USE_KQUEUE, 1, Use kqueue.) >- AC_MSG_RESULT(yes) >- ], [ >- AC_MSG_RESULT(no) >- ]) >-]) >- > AC_DEFUN([TORRENT_CHECK_KQUEUE_SOCKET_ONLY], [ > AC_MSG_CHECKING(whether kqueue supports pipes and ptys) > >@@ -131,13 +111,32 @@ > ]) > ]) > >+AC_DEFUN([TORRENT_CHECK_KQUEUE], [ >+ AC_MSG_CHECKING(for kqueue support) >+ >+ AC_LINK_IFELSE([AC_LANG_SOURCE([ >+ #include <sys/time.h> /* Because OpenBSD's sys/event.h fails to compile otherwise. Yeah... */ >+ #include <sys/event.h> >+ int main() { >+ int fd = kqueue(); >+ return 0; >+ } >+ ])], >+ [ >+ AC_DEFINE(USE_KQUEUE, 1, Use kqueue.) >+ AC_MSG_RESULT(yes) >+ TORRENT_CHECK_KQUEUE_SOCKET_ONLY >+ ], [ >+ AC_MSG_RESULT(no) >+ ]) >+]) >+ > AC_DEFUN([TORRENT_WITH_KQUEUE], [ > AC_ARG_WITH(kqueue, > [ --with-kqueue enable kqueue. [[default=no]]], > [ > if test "$withval" = "yes"; then > TORRENT_CHECK_KQUEUE >- TORRENT_CHECK_KQUEUE_SOCKET_ONLY > fi > ]) > ]) >@@ -149,11 +148,9 @@ > [ > if test "$withval" = "yes"; then > TORRENT_CHECK_KQUEUE >- TORRENT_CHECK_KQUEUE_SOCKET_ONLY > fi > ], [ > TORRENT_CHECK_KQUEUE >- TORRENT_CHECK_KQUEUE_SOCKET_ONLY > ]) > ]) >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 446184
:
331586
|
331588
| 331590