HaikuPorts
  • Login
  • Preferences
  • Help/Guide
  • Wiki
  • Timeline
  • Roadmap
  • View Tickets
  • Search
  • Port Log
  • Blog

Context Navigation

  • ← Previous Ticket
  • Next Ticket →

Ticket #170 (closed defect: fixed)

Opened 6 years ago

Last modified 5 years ago

Fix physfs on Haiku

Reported by: scottmc Owned by: scottmc
Priority: normal Milestone:
Component: dev-games/physfs Version:
Severity: normal Keywords:
Cc:

Description

http://ports.haiku-files.org/wiki/dev-games/physfs/1.1.1/3

test_physfs fails:
~/develop/physfs> test_physfs

PHYSFS_init() failed!

reason: Invalid argument.

~/develop/physfs>

Attachments

physfs-2.0.0.bep​ (360 bytes) - added by michaelvoliveira 5 years ago.
.bep file for test and fix

Download all attachments as: .zip

Change History

comment:1 Changed 6 years ago by scottmc

physfs-2.0.0 still have this same issue...

Changed 5 years ago by michaelvoliveira

  • attachment physfs-2.0.0.bep​ added

.bep file for test and fix

comment:2 Changed 5 years ago by michaelvoliveira

There are several cases that this lib gives ERR_INVALID_ARGUMENT output

comment:3 Changed 5 years ago by augiedoggie

physfs-2.0.1 was added in r740

Please check it and close the ticket if it's OK

comment:4 Changed 5 years ago by scottmc

stills fails:

/boot/develop/haikuports/dev-games/physfs/work/physfs-2.0.1> test_physfs

PHYSFS_init() failed!
  reason: Invalid argument.

comment:5 Changed 5 years ago by augiedoggie

Someone should test this on BeOS. It's possible this is a bug in Haiku. BRoster::GetRunningAppInfo?() is failing if the program doesn't have a BApplication constructed but I'm unsure if this works on BeOS. There are several workarounds such as using ./test_physfs or running it using the full path. This will cause it to fall back to using other methods to determine the program location.

comment:6 Changed 5 years ago by augiedoggie

  • Resolution set to fixed
  • Status changed from new to closed

Applied workaround in r761

Note: See TracTickets for help on using tickets.

Download in other formats:

  • Comma-delimited Text
  • Tab-delimited Text
  • RSS Feed

Trac Powered

Powered by Trac 0.13dev-r10686
By Edgewall Software.

Visit the Trac open source project at
http://trac.edgewall.org/