Bug 147320 - app-admin/metalog-0.8_rc1-r2: patch for GCC 4.1/FreeBSD compatibility
Bug#: 147320 Product:  Gentoo/Alt Version: unspecified Platform: All
OS/Version: FreeBSD Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: flameeyes@gentoo.org Reported By: flameeyes@gentoo.org
Component: FreeBSD
URL: 
Summary: app-admin/metalog-0.8_rc1-r2: patch for GCC 4.1/FreeBSD compatibility
Keywords:  
Status Whiteboard: 
Opened: 2006-09-12 06:52 0000
Description:   Opened: 2006-09-12 06:52 0000
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 From Diego E. 'Flameeyes' Pettenò 2006-09-12 06:53:25 0000 -------
Created an attachment (id=96789) [details]
metalog-0.8_rc1-gcc41.patch

Forgot to say, requires an autoreconf.

------- Comment #2 From SpanKY 2006-09-12 19:09:47 0000 -------
looks good; send upstream if you havent already :p

------- Comment #3 From Diego E. 'Flameeyes' Pettenò 2006-09-13 17:38:58 0000 -------
Sent upstream and committed, thanks :)