aboutsummaryrefslogtreecommitdiff
path: root/games/glob2/files/patch-src__ConfigFiles.h
diff options
context:
space:
mode:
Diffstat (limited to 'games/glob2/files/patch-src__ConfigFiles.h')
-rw-r--r--games/glob2/files/patch-src__ConfigFiles.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/games/glob2/files/patch-src__ConfigFiles.h b/games/glob2/files/patch-src__ConfigFiles.h
new file mode 100644
index 000000000000..8f1c30ca2069
--- /dev/null
+++ b/games/glob2/files/patch-src__ConfigFiles.h
@@ -0,0 +1,15 @@
+--- ./src/ConfigFiles.h.orig 2009-06-14 12:11:34.000000000 +0200
++++ ./src/ConfigFiles.h 2013-10-28 01:26:26.000000000 +0100
+@@ -178,7 +178,11 @@
+ 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;
+ }
+ }