Bug 200608 - [PATCH] media-tv/linuxtv-dvb-apps-1.1.1.20071126 fails to compile on uclibc due to unimplemented AI_ADDRCONFIG
|
Bug#:
200608
|
Product: Gentoo Linux
|
Version: unspecified
|
Platform: All
|
|
OS/Version: Linux
|
Status: RESOLVED
|
Severity: normal
|
Priority: P2
|
|
Resolution: FIXED
|
Assigned To: media-tv@gentoo.org
|
Reported By: natanael.copa@gmail.com
|
|
Component: Ebuilds
|
|
|
URL:
|
|
Summary: [PATCH] media-tv/linuxtv-dvb-apps-1.1.1.20071126 fails to compile on uclibc due to unimplemented AI_ADDRCONFIG
|
|
Keywords:
|
|
Status Whiteboard:
|
|
Opened: 2007-11-28 07:57 0000
|
...
CC gnutv
gnutv.c: In function `main':
gnutv.c:245: error: `AI_ADDRCONFIG' undeclared (first use in this function)
gnutv.c:245: error: (Each undeclared identifier is reported only once
gnutv.c:245: error: for each function it appears in.)
make[2]: *** [gnutv] Error 1
Its completely safe to just remove the AI_ADDRCONFIG flag since you need to
check if socket is successfully created anyway. Worst case effect is you get
error message "Faild to create socket" (gnutv_data.c:126) rather than "Failed
to resolve address" (gnutv.c:248).
Created an attachment (id=137202) [details]
linuxtv-dvb-apps-ai_addrconfig.patch
while I was there i also set .ai_family = AF_UNSPEC which is the recommended
way according the getaddrinfo man page. (I suspect AF_UNSPEC == 0 so it doesn't
really make any difference in real life).
This patch is logical. Reassigning to maintainers for cvs commit. ncopa can
you also send this patch upstream and explain why they should not be using
that define.. thanks in advance.
(In reply to comment #2)
> This patch is logical. Reassigning to maintainers for cvs commit. ncopa can
> you also send this patch upstream and explain why they should not be using
> that define.. thanks in advance.
>
patch sent upstream.
Added a new snapshot (linuxtv-dvb-apps-1.1.1.20071201) that already contains
this change.