From a79f0d9fb55c1325fd33335c16b9bda6532f0d66 Mon Sep 17 00:00:00 2001 From: Will Andrews Date: Thu, 30 Jan 2003 22:37:07 +0000 Subject: Add pinentry 0.6.7, a collection of simple PIN or passphrase entry dialogs. --- security/pinentry/files/patch-qt::main.cpp | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 security/pinentry/files/patch-qt::main.cpp (limited to 'security/pinentry/files/patch-qt::main.cpp') diff --git a/security/pinentry/files/patch-qt::main.cpp b/security/pinentry/files/patch-qt::main.cpp new file mode 100644 index 000000000000..be62eb2ae09f --- /dev/null +++ b/security/pinentry/files/patch-qt::main.cpp @@ -0,0 +1,15 @@ +--- qt/main.cpp.orig Thu Jan 30 09:25:31 2003 ++++ qt/main.cpp Thu Jan 30 09:26:10 2003 +@@ -157,6 +157,12 @@ + #ifdef FALLBACK_CURSES + if( pinentry_have_display (argc, argv) ) { + #endif ++ // Work around non-standard handling of DISPLAY ++ for( int i = 1; i < argc; ++i ) { ++ if( !strcmp( "--display", argv[i] ) ) { ++ argv[i] = "-display"; ++ } ++ } + return qt_main( argc, argv ); + #ifdef FALLBACK_CURSES + } else { -- cgit v1.2.3