freebsd-ports/security/pinentry/files/patch-qt::main.cpp
Michael Nottebrock 0490bc78f6 Add a patch, which implements a workaround for a possible out-of-memory problem
(and basically allocates more mem by default).

PR: ports/57086
Submitted by: Melvyn Sopacua <melvyn@webteckies.org>
Approved by: arved (Mentor)
2003-09-25 22:28:46 +00:00

12 lines
401 B
C++

--- qt/main.cpp.orig Wed Sep 24 20:10:31 2003
+++ qt/main.cpp Wed Sep 24 20:10:49 2003
@@ -111,7 +111,7 @@
int qt_main( int argc, char *argv[] )
{
- secmem_init( 16384*4 ); /* this should be enough, if not, increase it! */
+ secmem_init( 16384*8 ); /* this should be enough, if not, increase it! */
secmem_set_flags(SECMEM_WARN);
drop_privs();
std::set_new_handler(my_new_handler);