Fix build
Reported by: "Paul A. Mayer" <paul@fnug.net>
This commit is contained in:
parent
6ce96ae4b4
commit
81078eec59
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=75530
10
security/qtfw/files/patch-fwrule.cpp
Normal file
10
security/qtfw/files/patch-fwrule.cpp
Normal file
@ -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
|
||||
|
20
security/qtfw/files/patch-main.cpp
Normal file
20
security/qtfw/files/patch-main.cpp
Normal file
@ -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";
|
||||
|
20
security/qtfw/files/patch-optionlistdialog.cpp
Normal file
20
security/qtfw/files/patch-optionlistdialog.cpp
Normal file
@ -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 )
|
Loading…
Reference in New Issue
Block a user