aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authormarino <marino@FreeBSD.org>2013-10-02 20:28:04 +0800
committermarino <marino@FreeBSD.org>2013-10-02 20:28:04 +0800
commit0282ad5ab1c06252015975903187cce619448284 (patch)
tree0d4bc5d50d905a1b064e61d4b970165a891a2113 /security
parenta043a04f2f60a7ed8327d53e0575d79f230fc16b (diff)
downloadfreebsd-ports-gnome-0282ad5ab1c06252015975903187cce619448284.tar.gz
freebsd-ports-gnome-0282ad5ab1c06252015975903187cce619448284.tar.zst
freebsd-ports-gnome-0282ad5ab1c06252015975903187cce619448284.zip
security/tpmmanager: Fix c++ -fpermissive errors on gcc 4.7+
Approved by: portmgr (bapt, implicit)
Diffstat (limited to 'security')
-rw-r--r--security/tpmmanager/files/patch-src_TPMManager.cxx11
1 files changed, 11 insertions, 0 deletions
diff --git a/security/tpmmanager/files/patch-src_TPMManager.cxx b/security/tpmmanager/files/patch-src_TPMManager.cxx
new file mode 100644
index 000000000000..13254f6a63fe
--- /dev/null
+++ b/security/tpmmanager/files/patch-src_TPMManager.cxx
@@ -0,0 +1,11 @@
+--- src/TPMManager.cxx.orig 2011-08-15 13:23:48.000000000 +0000
++++ src/TPMManager.cxx
+@@ -409,7 +409,7 @@ void TPM_Manager::slotUpdatePCRs()
+
+ void TPM_Manager::slotProcessURL( const QString& url )
+ {
+- QUrl myURL = QUrl::QUrl(url, QUrl::StrictMode);
++ QUrl myURL = QUrl(url, QUrl::StrictMode);
+ if ( !( QDesktopServices::openUrl(myURL) ) )
+ QMessageBox::critical( this, "Error: Opening a URL", "Could not open your favourite browser. " );
+ }