ports/games/glob2/files/patch-src__ConfigFiles.h
Max Brazhnikov 512cec2641 games/glob2: Update to 0.9.5.0 snapshot
- Update to the latest snapshot. 'glob2 --version' reports 0.9.5.0
 - Clean up Makefile, drop stale patches, remove useless pkg-message.
 - Switch to SDL2.
 - Depend on libportaudio unconditionally.
2023-11-16 16:13:56 +03:00

15 lines
538 B
C++

--- src/ConfigFiles.h.orig 2023-06-13 07:14:47 UTC
+++ src/ConfigFiles.h
@@ -178,7 +178,11 @@ class ConfigVector (public)
else
{
std::cerr << "ConfigVector::get(" << static_cast<unsigned int>(id) << ") : warning : id is not valid, returning default" << std::endl;
- assert(false);
+ // FreeBSD: patch impoted from glob2's CVS
+ // assert(false);
+ // I commented the assert because it crashed glob2
+ // sometimes, when a building was repaired.
+ // This has to be really fixed!
return &defaultEntry;
}
}