Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 113533 - sort missing option
Summary: sort missing option
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Other (show other bugs)
Hardware: All Other
: High normal
Assignee: Gentoo/BSD Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-25 00:09 UTC by Karol Pasternak (RETIRED)
Modified: 2006-04-24 03:01 UTC (History)
1 user (show)

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


Attachments
patch for /usr/portage/eclass/db.eclass (db.eclass.patch,1.23 KB, patch)
2005-11-25 00:10 UTC, Karol Pasternak (RETIRED)
Details | Diff
more pretty patch:) (gentoo-obsd_dbeclass.patch,1.19 KB, patch)
2006-04-24 02:42 UTC, Karol Pasternak (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Karol Pasternak (RETIRED) gentoo-dev 2005-11-25 00:09:32 UTC
sort on OpenBSD doesn't have "-g" option. 
Analogue to 'sort -g' is 'sort -n'.
Patch for eclass/db.eclass is needed to support obsd method.

Reproducible: Always
Steps to Reproduce:
1. cd /usr/portage
2. patch -p0 < /path/to/db.eclass.patch
Comment 1 Karol Pasternak (RETIRED) gentoo-dev 2005-11-25 00:10:14 UTC
Created attachment 73549 [details, diff]
patch for /usr/portage/eclass/db.eclass
Comment 2 Karol Pasternak (RETIRED) gentoo-dev 2006-04-24 02:42:11 UTC
Created attachment 85346 [details, diff]
more pretty patch:)
Comment 3 Paul de Vrieze (RETIRED) gentoo-dev 2006-04-24 03:01:39 UTC
I've just committed an even easier fix. Also in linux it isn't necessary to use -g, so I've just changed it into "sort -n"