1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-04 01:48:54 +00:00

fix build on -stable

Noticed by:	bento via kris
This commit is contained in:
Ying-Chieh Liao 2004-01-29 02:08:34 +00:00
parent 95c49fb170
commit 930e963ab7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=99355
8 changed files with 87 additions and 0 deletions

View File

@ -0,0 +1,10 @@
--- assa/Address.h.orig Thu Jan 29 00:58:13 2004
+++ assa/Address.h Thu Jan 29 01:11:14 2004
@@ -12,7 +12,6 @@
#ifndef ADDRESS_H
#define ADDRESS_H
-#include <netinet/in.h>
#include <netdb.h>
#include <sys/types.h>
#include <sys/socket.h>

View File

@ -0,0 +1,10 @@
--- assa/INETAddress.cpp.orig Thu Jan 22 23:53:34 2004
+++ assa/INETAddress.cpp Thu Jan 22 23:53:45 2004
@@ -14,6 +14,7 @@
#include <netdb.h> // gethostbyname(3)
extern int h_errno; // gethostbyname(3)
+#include <sys/types.h>
#include <sys/socket.h> // for AF_INET
#include <unistd.h>
#include <sys/utsname.h>

View File

@ -0,0 +1,11 @@
--- assa/IniFile.h.orig Sat Sep 13 19:01:00 2003
+++ assa/IniFile.h Thu Jan 29 09:05:01 2004
@@ -171,7 +171,7 @@
/** Return iterator past the last section.
*/
- const_config_iterator sect_end () const { return m_config.end (); }
+ config_iterator sect_end () { return m_config.end (); }
/** Return number of sections in the cache
*/

View File

@ -0,0 +1,10 @@
--- assa/Logger_Impl.cpp.orig Thu Jan 29 01:12:05 2004
+++ assa/Logger_Impl.cpp Thu Jan 29 01:12:37 2004
@@ -14,6 +14,7 @@
#include <iostream>
#include <iomanip>
+#include <cstdio>
#include "assa/TimeVal.h"
#include "assa/Logger_Impl.h"

View File

@ -0,0 +1,11 @@
--- assa/Logger_Impl.h.orig Mon Oct 13 11:30:18 2003
+++ assa/Logger_Impl.h Thu Jan 29 00:28:19 2004
@@ -16,6 +16,8 @@
#include <errno.h>
#include <string>
+#include <stdarg.h>
+#include <sys/types.h>
using std::string;
using std::ostream;

View File

@ -0,0 +1,12 @@
--- examples/logserver/server/MonitorConn.cpp.orig Thu Jan 29 08:53:46 2004
+++ examples/logserver/server/MonitorConn.cpp Thu Jan 29 08:54:16 2004
@@ -19,6 +19,9 @@
#include "Conn.h"
#include "LogServer-main.h"
#include "LogServer.h"
+#include <algorithm>
+
+using namespace std;
/** Convert user input to upper case
*/

View File

@ -0,0 +1,13 @@
--- tests/pq_test.cpp.orig Thu Jan 29 08:39:07 2004
+++ tests/pq_test.cpp Thu Jan 29 08:40:48 2004
@@ -23,10 +23,6 @@
#include <iostream>
using namespace std;
-#include <getopt.h>
-extern char *optarg;
-extern int optind, opterr, optopt;
-
// ASSA
#include "assa/PriorityQueue.h"
using namespace ASSA;

View File

@ -0,0 +1,10 @@
--- tests/semaphore_test.cpp.orig Thu Jan 29 08:42:17 2004
+++ tests/semaphore_test.cpp Thu Jan 29 08:42:43 2004
@@ -16,6 +16,7 @@
using namespace std;
#include <assert.h>
+#include <sys/types.h>
#include <sys/ipc.h> // ftok(2)
#include "assa/Assert.h"