aboutsummaryrefslogtreecommitdiff
path: root/security/qtfw
diff options
context:
space:
mode:
authorPatrick Li <pat@FreeBSD.org>2003-02-14 20:46:24 +0000
committerPatrick Li <pat@FreeBSD.org>2003-02-14 20:46:24 +0000
commit81078eec594ff407d931dce0cf5597518e3b5663 (patch)
treebe202871a02a8e367f4290fb67dfd44d69dee80c /security/qtfw
parent6ce96ae4b4c79fc92f08eee1c508a77b60ab371c (diff)
downloadports-81078eec594ff407d931dce0cf5597518e3b5663.tar.gz
ports-81078eec594ff407d931dce0cf5597518e3b5663.zip
Notes
Diffstat (limited to 'security/qtfw')
-rw-r--r--security/qtfw/files/patch-fwrule.cpp10
-rw-r--r--security/qtfw/files/patch-main.cpp20
-rw-r--r--security/qtfw/files/patch-optionlistdialog.cpp20
3 files changed, 50 insertions, 0 deletions
diff --git a/security/qtfw/files/patch-fwrule.cpp b/security/qtfw/files/patch-fwrule.cpp
new file mode 100644
index 000000000000..979c53b9e120
--- /dev/null
+++ b/security/qtfw/files/patch-fwrule.cpp
@@ -0,0 +1,10 @@
+--- fwrule.cpp.orig Fri Feb 14 13:36:27 2003
++++ fwrule.cpp Fri Feb 14 13:36:33 2003
+@@ -5,6 +5,7 @@
+ #include <sys/param.h>
+ #include <ctype.h>
+ #include <netdb.h>
++#include <netinet/in.h>
+
+ #define IPPROTO_IP 0
+
diff --git a/security/qtfw/files/patch-main.cpp b/security/qtfw/files/patch-main.cpp
new file mode 100644
index 000000000000..653d90c02ac2
--- /dev/null
+++ b/security/qtfw/files/patch-main.cpp
@@ -0,0 +1,20 @@
+--- main.cpp.orig Fri Feb 14 13:38:07 2003
++++ main.cpp Fri Feb 14 13:41:54 2003
+@@ -28,6 +28,8 @@
+ #include <qlineedit.h>
+ #include <qmessagebox.h>
+
++#include <netinet/in.h>
++
+ void load_protocol_list();
+ void load_service_list();
+ void load_interface_list();
+@@ -192,7 +194,7 @@
+ char tmpstr[500];
+ QString rcfile_name = getpwuid(getuid())->pw_dir;
+ rcfile_name+="/.qtfwrc";
+- ifstream rcfile(rcfile_name,ios::nocreate);
++ ifstream rcfile(rcfile_name,ios::in);
+ app_rc.style = "Windows";
+ app_rc.browser = "netscape";
+
diff --git a/security/qtfw/files/patch-optionlistdialog.cpp b/security/qtfw/files/patch-optionlistdialog.cpp
new file mode 100644
index 000000000000..200c0a7a14f7
--- /dev/null
+++ b/security/qtfw/files/patch-optionlistdialog.cpp
@@ -0,0 +1,20 @@
+--- optionlistdialog.cpp.orig Fri Feb 14 13:45:36 2003
++++ optionlistdialog.cpp Fri Feb 14 13:46:06 2003
+@@ -15,7 +15,7 @@
+ {
+ }
+
+-OptionListDialog::OptionListDialog(QString * items,int numItems, QString selected_item,QWidget* parent = 0, const char* name = 0)
++OptionListDialog::OptionListDialog(QString * items,int numItems, QString selected_item,QWidget* parent, const char* name)
+ : QDialog( parent, name, TRUE, 0 )
+ {
+ if ( !name )
+@@ -79,7 +79,7 @@
+ {
+ }
+
+-IcmptypeListDialog::IcmptypeListDialog(_icmpcode * items,int numItems, QString selected_item,QWidget* parent = 0, const char* name = 0)
++IcmptypeListDialog::IcmptypeListDialog(_icmpcode * items,int numItems, QString selected_item,QWidget* parent, const char* name)
+ : QDialog( parent, name, TRUE, 0 )
+ {
+ if ( !name )