summaryrefslogtreecommitdiffstats
path: root/security/pinentry
diff options
context:
space:
mode:
authorlofi <lofi@FreeBSD.org>2003-09-25 22:28:46 +0000
committerlofi <lofi@FreeBSD.org>2003-09-25 22:28:46 +0000
commitb99874df849ccbe8b40e37ebc8e8549f34c1b47d (patch)
tree19591d629464c8f2dfdeceb992b10fc136ddd8b9 /security/pinentry
parentcd1d97e2e9d409281251a8fc29081173cc6bbfad (diff)
downloadFreeBSD-ports-b99874df849ccbe8b40e37ebc8e8549f34c1b47d.zip
FreeBSD-ports-b99874df849ccbe8b40e37ebc8e8549f34c1b47d.tar.gz
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)
Diffstat (limited to 'security/pinentry')
-rw-r--r--security/pinentry/Makefile2
-rw-r--r--security/pinentry/files/patch-qt::main.cpp11
2 files changed, 12 insertions, 1 deletions
diff --git a/security/pinentry/Makefile b/security/pinentry/Makefile
index 96a5058..6cca29e 100644
--- a/security/pinentry/Makefile
+++ b/security/pinentry/Makefile
@@ -7,7 +7,7 @@
PORTNAME= pinentry
PORTVERSION= 0.6.9
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= security
MASTER_SITES= ftp://ftp.klaralvdalens-datakonsult.se/pub/aegypten/alpha/latest/ \
${MASTER_SITE_GNUPG} \
diff --git a/security/pinentry/files/patch-qt::main.cpp b/security/pinentry/files/patch-qt::main.cpp
new file mode 100644
index 0000000..a616738
--- /dev/null
+++ b/security/pinentry/files/patch-qt::main.cpp
@@ -0,0 +1,11 @@
+--- 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);
OpenPOWER on IntegriCloud