summaryrefslogtreecommitdiff
path: root/comms/plp/patches/patch-ai
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2011-12-19 13:44:07 +0000
committerwiz <wiz@pkgsrc.org>2011-12-19 13:44:07 +0000
commit091cd93cb6e9dd785b93071e42cc3117b040cb7d (patch)
treeaee16a3d703600b9ba373ba228ae0bc713dd34c4 /comms/plp/patches/patch-ai
parentd14bcf8a9370b28931c2ec72b95c88f177d30418 (diff)
downloadpkgsrc-091cd93cb6e9dd785b93071e42cc3117b040cb7d.tar.gz
Fix build with gcc-4.5.
Mark as not MAKE_JOBS_SAFE (doesn't wait for library to be built before linking it).
Diffstat (limited to 'comms/plp/patches/patch-ai')
-rw-r--r--comms/plp/patches/patch-ai18
1 files changed, 14 insertions, 4 deletions
diff --git a/comms/plp/patches/patch-ai b/comms/plp/patches/patch-ai
index 6f767ecc8d7..bd5150fc5e3 100644
--- a/comms/plp/patches/patch-ai
+++ b/comms/plp/patches/patch-ai
@@ -1,8 +1,18 @@
-$NetBSD: patch-ai,v 1.2 2004/09/08 12:47:39 wiz Exp $
+$NetBSD: patch-ai,v 1.3 2011/12/19 13:44:07 wiz Exp $
---- utils/ppsocket.cc.orig 1999-04-12 23:17:08.000000000 +0200
+--- utils/ppsocket.cc.orig 1999-04-12 21:17:08.000000000 +0000
+++ utils/ppsocket.cc
-@@ -198,7 +198,7 @@ bool ppsocket::listen(char* Host, int Po
+@@ -24,7 +24,8 @@
+ #include <string.h>
+ #include <stdlib.h>
+ #include <stdarg.h>
+-#include <iostream.h>
++#include <iostream>
++using namespace std;
+ #include <fcntl.h>
+ #include <unistd.h>
+ #include <sys/time.h>
+@@ -198,7 +199,7 @@ bool ppsocket::listen(char* Host, int Po
ppsocket* ppsocket::accept(char* Peer, int MaxLen)
{
@@ -11,7 +21,7 @@ $NetBSD: patch-ai,v 1.2 2004/09/08 12:47:39 wiz Exp $
ppsocket* accepted;
char* peer;
-@@ -421,7 +421,7 @@ bool ppsocket::sputc(char c)
+@@ -421,7 +422,7 @@ bool ppsocket::sputc(char c)
{
int i;