summaryrefslogtreecommitdiff
path: root/security/pinentry/files
diff options
context:
space:
mode:
authorTilman Keskinoz <arved@FreeBSD.org>2003-02-22 17:11:09 +0000
committerTilman Keskinoz <arved@FreeBSD.org>2003-02-22 17:11:09 +0000
commit23b9c3bd1a90631685e2021e22c94fd5f07be9eb (patch)
treef34cc5a0618ba62cb4bd4114c2fc0fa3919a77da /security/pinentry/files
parentAvoid the use of tar(1)'s --no-same-owner flag, which is not supported (diff)
Fix pinentry-qt and enable build.[1]
Use new AUTO* Rules Use GNOMENG. PR: 48548[1] Submitted by: maintainer[1]
Notes
Notes: svn path=/head/; revision=76179
Diffstat (limited to 'security/pinentry/files')
-rw-r--r--security/pinentry/files/patch-qt::pinentrycontroller.cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/security/pinentry/files/patch-qt::pinentrycontroller.cpp b/security/pinentry/files/patch-qt::pinentrycontroller.cpp
new file mode 100644
index 000000000000..361749040e70
--- /dev/null
+++ b/security/pinentry/files/patch-qt::pinentrycontroller.cpp
@@ -0,0 +1,13 @@
+--- qt/pinentrycontroller.cpp.orig Thu Feb 13 00:20:44 2003
++++ qt/pinentrycontroller.cpp Thu Feb 13 00:21:32 2003
+@@ -256,9 +256,8 @@
+ connect( _pinentry, SIGNAL( rejected() ),
+ this, SLOT( slotRejected() ) );
+ bool ret = _pinentry->exec();
+- FILE* fp = assuan_get_data_fp( _ctx );
+ if( ret ) {
+- fputs( static_cast<const char*>(_pinentry->text().utf8()), fp );
++ assuan_send_data ( _ctx, static_cast<const void*>(_pinentry->text().utf8()), _pinentry->text().utf8().length() );
+ return 0;
+ } else {
+ assuan_set_error( _ctx, ASSUAN_Canceled, "Dialog cancelled by user" );