pkgsrc/comms/plp/patches/patch-al
wiz cbbd0ce5d3 Fix build with gcc-4.5.
Mark as not MAKE_JOBS_SAFE (doesn't wait for library to be built before
linking it).
2011-12-19 13:44:07 +00:00

24 lines
595 B
Text

$NetBSD: patch-al,v 1.2 2011/12/19 13:44:07 wiz Exp $
--- ncp/ncp.cc.orig 1999-04-12 21:27:06.000000000 +0000
+++ ncp/ncp.cc
@@ -19,8 +19,9 @@
//
// e-mail philip.proudman@btinternet.com
-#include <stream.h>
#include <string.h>
+#include <iostream>
+using namespace std;
#include "bool.h"
#include "../defaults.h"
@@ -33,7 +34,7 @@
ncp::ncp(const char *fname, int baud, IOWatch &iow, bool _s5) :
s5(_s5)
{
- l = new link(fname, baud, iow, s5, LINK_LAYER_DIAGNOSTICS);
+ l = new Link(fname, baud, iow, s5, LINK_LAYER_DIAGNOSTICS);
gotLinkChan = false;
failed = false;