Summary: | net-im/pidgin-2.6 IRIX fixes | ||
---|---|---|---|
Product: | Gentoo/Alt | Reporter: | Stuart Shelton <srcshelton> |
Component: | Prefix Support | Assignee: | Gentoo Prefix <prefix> |
Status: | RESOLVED UPSTREAM | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | IRIX | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
pidgin-2.6.1-irix.patch
pidgin-2.6.1-perl.patch pidgin-2.6.1-perl.patch |
Description
Stuart Shelton
2010-03-10 16:48:38 UTC
Created attachment 223017 [details, diff]
pidgin-2.6.1-irix.patch
Did I say RUNNING_ON_IRIX before? I meant RUNNING_ON_VALGRIND ;)
MIPSpro chokes on '{ }' - but this change seems to do the right thing.
Created attachment 223145 [details, diff]
pidgin-2.6.1-perl.patch
... and this change should fix the perl module: __attribute__ ((constructor)) is a GNU extension, and #pragma init appears to be a Sun extension.
On IRIX, the linker must be passed the -init option along with the function to execute on load.
Created attachment 223621 [details, diff]
pidgin-2.6.1-perl.patch
Ensure GNU-specific options are only used with GCC, and replicate the on-load logic to the linker (which is fine, as this patch can be guarded with '[[ $CHOST == *-irix* ]]').
Seem to have attached that last patch twice, sorry ;) (In reply to comment #0) > ... after this, the remaining problem is following output at the end of the > build: > > >>> Original instance of package unmerged safely. > * Installing GNOME 2 GConf schemas > /usr/opt/portage/var/tmp/portage/net-im/pidgin-2.6.5/temp/environment: line > 2682: pgrep: command not found > > ... pgrep is from sys-process/procps, and so likely won't exist on any > non-Linux system. This is probably a generic problem with an eclass rather > than anything related directly to pidgin - but pidgin is the only package which > I can recall producing this output. It's a Solaris thing actually, that was imitated in procps for Linux. I don't have it either on OSX, and it comes from gnome2-utils.eclass. It's trying to SIGHUP your gconfd-2 if running. Not sure how to fix it the best way. Please send these patches upstream. I maintain a strict upstream-first policy for pidgin. |