Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 41244 Details for
Bug 66557
asterisk-1.0.0 doesn't compile useing uclibc
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for asterisk-1.0.0 to build with uclibc
asterisk_uclibc_patch.diff (text/plain), 1.55 KB, created by
REdOG
on 2004-10-06 12:21:30 UTC
(
hide
)
Description:
Patch for asterisk-1.0.0 to build with uclibc
Filename:
MIME Type:
Creator:
REdOG
Created:
2004-10-06 12:21:30 UTC
Size:
1.55 KB
patch
obsolete
>diff -ruN /usr/portage/net-misc/asterisk/asterisk-1.0.0.ebuild asterisk/asterisk-1.0.0.ebuild >--- /usr/portage/net-misc/asterisk/asterisk-1.0.0.ebuild 2004-09-24 00:01:57.000000000 +0000 >+++ asterisk/asterisk-1.0.0.ebuild 2004-10-06 14:07:03.000000000 +0000 >@@ -2,7 +2,7 @@ > # Distributed under the terms of the GNU General Public License v2 > # $Header: /var/cvsroot/gentoo-x86/net-misc/asterisk/asterisk-1.0.0.ebuild,v 1.1 2004/09/24 00:01:57 stkn Exp $ > >-IUSE="alsa doc gtk mmx mysql nopri nozaptel" >+IUSE="alsa doc gtk mmx mysql nopri nozaptel uclibc" > > inherit eutils webapp-apache > >@@ -41,6 +41,11 @@ > src_unpack() { > unpack ${A} > >+ if use uclibc; then >+ einfo "patching dns.c to compile with uclibc" >+ epatch ${FILESDIR}/uclibc_dns_diff.patch >+ fi >+ > cd ${S} > # epatch ${FILESDIR}/${PV}/${P}-makefile-fix.diff > >diff -ruN /usr/portage/net-misc/asterisk/files/uclibc_dns_diff.patch asterisk/files/uclibc_dns_diff.patch >--- /usr/portage/net-misc/asterisk/files/uclibc_dns_diff.patch 1970-01-01 00:00:00.000000000 +0000 >+++ asterisk/files/uclibc_dns_diff.patch 2004-10-06 12:59:40.000000000 +0000 >@@ -0,0 +1,22 @@ >+--- work/asterisk-1.0.0/dns.c 2004-06-22 20:11:15.000000000 +0000 >++++ dns.c 2004-10-06 12:59:38.000000000 +0000 >+@@ -150,15 +150,18 @@ >+ } >+ return 0; >+ } >+- >++/* >+ #if defined(res_ninit) >+ #define HAS_RES_NINIT >+ #else >++*/ >+ AST_MUTEX_DEFINE_STATIC(res_lock); >++/* >+ #if 0 >+ #warning "Warning, res_ninit is missing... Could have reentrancy issues" >+ #endif >+ #endif >++*/ >+ >+ int ast_search_dns(void *context, >+ const char *dname, int class, int type,
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 Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 66557
: 41244