osm2pgsql gained support for reading *.pbf (protobuf) files. This isn't enabled by default and depends on protobuf-c (see #427666 )
Created attachment 318928 [details, diff]
Necessary changes to the ebuild (once protobuf-c is in portage)
Created attachment 318930 [details, diff]
Sorry, wrong file uploaded.
FYI, I inserted your patch into the ebuild at bug #464820.
*osm2pgsql-0.84.0 (29 Jan 2014)
29 Jan 2014; Aaron W. Swenson <email@example.com>
+osm2pgsql-0.84.0.ebuild, osm2pgsql-99999999.ebuild, metadata.xml:
Fix bug 421325: Fixed by version bump
Fix bug 427668: Thanks Christoph Brill
Fix bug 469374: Added lua USE flag
Fix bug 397877: Fixed by version bump
Fix bug 490788: Fixed by version bump
Please give 0.84.0 a go. I'll remove the old version in a couple days.