Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 147320 - app-admin/metalog-0.8_rc1-r2: patch for GCC 4.1/FreeBSD compatibility
Summary: app-admin/metalog-0.8_rc1-r2: patch for GCC 4.1/FreeBSD compatibility
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: FreeBSD (show other bugs)
Hardware: All FreeBSD
: High normal (vote)
Assignee: Diego Elio Pettenò (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-12 06:52 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2006-09-13 17:38 UTC (History)
4 users (show)

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


Attachments
metalog-0.8_rc1-gcc41.patch (metalog-0.8_rc1-gcc41.patch,1.01 KB, patch)
2006-09-12 06:53 UTC, Diego Elio Pettenò (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Diego Elio Pettenò (RETIRED) gentoo-dev 2006-09-12 06:52:54 UTC
As per summary, the attached patch is needed to build metalog with GCC 4.1 on FreeBSD. The reason is that setprogname() function exists on BSD, and it's not static, so the static/non-static declarations clashes.

Thanks,
Diego
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-09-12 06:53:25 UTC
Created attachment 96789 [details, diff]
metalog-0.8_rc1-gcc41.patch

Forgot to say, requires an autoreconf.
Comment 2 SpanKY gentoo-dev 2006-09-12 19:09:47 UTC
looks good; send upstream if you havent already :p
Comment 3 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-09-13 17:38:58 UTC
Sent upstream and committed, thanks :)