summaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorpat <pat@FreeBSD.org>2003-02-14 20:46:24 +0000
committerpat <pat@FreeBSD.org>2003-02-14 20:46:24 +0000
commitb98a7f4e3ba50ef19ada6613726d80fdc3ab7b48 (patch)
tree05b15d3bc2fe0bb13d5ddc1f9b903a7225d96cb5 /security
parent41de67dbd4c447d59619d96e2edf7b743476c821 (diff)
downloadFreeBSD-ports-b98a7f4e3ba50ef19ada6613726d80fdc3ab7b48.zip
FreeBSD-ports-b98a7f4e3ba50ef19ada6613726d80fdc3ab7b48.tar.gz
Fix build
Reported by: "Paul A. Mayer" <paul@fnug.net>
Diffstat (limited to 'security')
-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 0000000..979c53b
--- /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 0000000..653d90c
--- /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 0000000..200c0a7
--- /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 )
OpenPOWER on IntegriCloud