Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 490396 - dev-lang/perl eblits v50160001: add AIX support
Summary: dev-lang/perl eblits v50160001: add AIX support
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-11-04 15:15 UTC by Michael Haubenwallner (RETIRED)
Modified: 2013-11-22 08:56 UTC (History)
1 user (show)

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


Attachments
AIX support (perl-eblits-aix.patch,2.72 KB, patch)
2013-11-04 15:15 UTC, Michael Haubenwallner (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Haubenwallner (RETIRED) gentoo-dev 2013-11-04 15:15:21 UTC
Created attachment 362566 [details, diff]
AIX support

@Perl: Need this patch for dev-lang/perl-5.16.3 in Prefix for AIX, OK?

@Prefix: Writing a local function to perform the scanelf-like checks is possible, but IMO will just reduce readability - as it would be:

scanxcoff() {
  if [[ -r ${3}/. ]] ; then
    dump -o "${3}"/*
  else
    dump -o "${3}"
  fi 2>/dev/null | awk '/^Magic/{print $ 3}'
}

Thanks!
Comment 1 Michael Haubenwallner (RETIRED) gentoo-dev 2013-11-18 11:36:13 UTC
Without complaints, I plan to commit this by the end of this week.
Comment 2 Michael Haubenwallner (RETIRED) gentoo-dev 2013-11-22 08:56:21 UTC
done.