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
Change History
comment:1 Changed 6 years ago by scottmc
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

physfs-2.0.0 still have this same issue...