Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 175205 - media-libs/libopendaap-0.4.0 does not compile under gentoo/freebsd
Summary: media-libs/libopendaap-0.4.0 does not compile under gentoo/freebsd
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: FreeBSD (show other bugs)
Hardware: All FreeBSD
: High normal (vote)
Assignee: Gentoo net-p2p team
URL:
Whiteboard:
Keywords:
Depends on: 175201
Blocks:
  Show dependency tree
 
Reported: 2007-04-19 12:44 UTC by Timothy Redaelli (RETIRED)
Modified: 2007-04-20 15:28 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
files/libopendaap-0.4.0-freebsd.patch (libopendaap-0.4.0-freebsd.patch,1.92 KB, patch)
2007-04-19 12:45 UTC, Timothy Redaelli (RETIRED)
Details | Diff
files/libopendaap-0.4.0-freebsd.patch (libopendaap-0.4.0-freebsd.patch,282 bytes, patch)
2007-04-19 13:02 UTC, Timothy Redaelli (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Timothy Redaelli (RETIRED) gentoo-dev 2007-04-19 12:44:38 UTC
I attach a patch to fix the problem (patches taken from vanilla freebsd ports)
I don't know if it works also under linux, please test it before commit or apply it conditionally (use x86-fbsd && epatch)
Comment 1 Timothy Redaelli (RETIRED) gentoo-dev 2007-04-19 12:45:11 UTC
Created attachment 116725 [details, diff]
files/libopendaap-0.4.0-freebsd.patch
Comment 2 Diego Elio Pettenò (RETIRED) gentoo-dev 2007-04-19 12:56:53 UTC
Only the change to http_client.c is needed, the rest is superfluous, it's for GCC 2.95 compatibility and so it shouldn't be patched at all.
Comment 3 Timothy Redaelli (RETIRED) gentoo-dev 2007-04-19 13:02:02 UTC
Created attachment 116726 [details, diff]
files/libopendaap-0.4.0-freebsd.patch

Thanks flameeyes, i punted all the patches but the http_client.c one.
Since it's trivial it must work also under linux :)
Comment 4 Raúl Porcel (RETIRED) gentoo-dev 2007-04-20 15:28:39 UTC
Patch added, thanks.