pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/comms/plp Make build with gcc3.
details: https://anonhg.NetBSD.org/pkgsrc/rev/2c8a9ec3f014
branches: trunk
changeset: 480399:2c8a9ec3f014
user: wiz <wiz%pkgsrc.org@localhost>
date: Wed Sep 08 12:47:39 2004 +0000
description:
Make build with gcc3.
diffstat:
comms/plp/distinfo | 19 ++++++++++++-------
comms/plp/patches/patch-aa | 4 ++--
comms/plp/patches/patch-ab | 15 ++++++++++++---
comms/plp/patches/patch-af | 8 ++++----
comms/plp/patches/patch-ag | 17 +++++++++++++----
comms/plp/patches/patch-ah | 30 ++++++++++++++++++++++++++----
comms/plp/patches/patch-ai | 15 ++++++++++++---
comms/plp/patches/patch-aj | 46 ++++++++++++++++++++++++++++++++++++++++++++++
comms/plp/patches/patch-ak | 18 ++++++++++++++++++
comms/plp/patches/patch-al | 13 +++++++++++++
comms/plp/patches/patch-am | 31 +++++++++++++++++++++++++++++++
comms/plp/patches/patch-ao | 15 +++++++++++++++
12 files changed, 204 insertions(+), 27 deletions(-)
diffs (truncated from 337 to 300 lines):
diff -r d28c63ee9e00 -r 2c8a9ec3f014 comms/plp/distinfo
--- a/comms/plp/distinfo Wed Sep 08 12:28:26 2004 +0000
+++ b/comms/plp/distinfo Wed Sep 08 12:47:39 2004 +0000
@@ -1,13 +1,18 @@
-$NetBSD: distinfo,v 1.8 2004/08/30 06:27:55 recht Exp $
+$NetBSD: distinfo,v 1.9 2004/09/08 12:47:39 wiz Exp $
SHA1 (plp_1_8.tar.gz) = cad586353091895b6efc556d2cb5fa16891a3749
Size (plp_1_8.tar.gz) = 58424 bytes
-SHA1 (patch-aa) = 0aa07f8542acbd9180cfbfb4230e50eb97e45cb9
-SHA1 (patch-ab) = 41314372a3f5f5723393c0cf42c20d4257b170b6
+SHA1 (patch-aa) = de823cbd6f27bfc4245af8d9de100a3a48ac258c
+SHA1 (patch-ab) = 9404e7c991d8b9e5abc358f90b91392833aa80d7
SHA1 (patch-ac) = 9f196ba3c236629c6ed1b59842fb6de2716917a6
SHA1 (patch-ad) = 4a6421d7256498df6293011bafc76e75cc5512e6
SHA1 (patch-ae) = 29b0cde6353c257a01a1630981f229c6673bbe73
-SHA1 (patch-af) = f8c668a5891e51637f2b0cdaf7036c8632b3965d
-SHA1 (patch-ag) = 354183a25f00d951e5cbc25e64b11b1daac21939
-SHA1 (patch-ah) = e0a90f7f8f70ab94f252af28d0d6ecbb878265df
-SHA1 (patch-ai) = 88ec3fd405e7b19003d91e37dbcf739f948e7c03
+SHA1 (patch-af) = 0ab78ff48fbd42b45bd59468eb24297f44802ef5
+SHA1 (patch-ag) = c6610f91ba3216aaca6fbf74620e64b1657e711e
+SHA1 (patch-ah) = bd381b9d8bbd68e985e6323c775324093fe7fbfe
+SHA1 (patch-ai) = 82b2a9af4d88bb27ea8c196f1b2ecdc39d7c9d24
+SHA1 (patch-aj) = 4973bd796ce661c6a4dcf11c8a774e0d6450480b
+SHA1 (patch-ak) = 28ca61ae1f6b1a02f349bf57f5f351c55c3b7575
+SHA1 (patch-al) = c8dc10319e174159efc6d838928a39bdb0446feb
+SHA1 (patch-am) = b3453d4cfb48a6daeae9aea896b261cae7db489f
+SHA1 (patch-ao) = eabe7562e75c3ab9900a889ffe14813a9faad01b
diff -r d28c63ee9e00 -r 2c8a9ec3f014 comms/plp/patches/patch-aa
--- a/comms/plp/patches/patch-aa Wed Sep 08 12:28:26 2004 +0000
+++ b/comms/plp/patches/patch-aa Wed Sep 08 12:47:39 2004 +0000
@@ -1,6 +1,6 @@
-$NetBSD: patch-aa,v 1.3 2001/04/22 17:43:19 skrll Exp $
+$NetBSD: patch-aa,v 1.4 2004/09/08 12:47:39 wiz Exp $
---- defaults.h.orig Tue Nov 2 20:51:01 1999
+--- defaults.h.orig 1999-11-02 21:51:01.000000000 +0100
+++ defaults.h
@@ -19,7 +19,7 @@
diff -r d28c63ee9e00 -r 2c8a9ec3f014 comms/plp/patches/patch-ab
--- a/comms/plp/patches/patch-ab Wed Sep 08 12:28:26 2004 +0000
+++ b/comms/plp/patches/patch-ab Wed Sep 08 12:47:39 2004 +0000
@@ -1,8 +1,17 @@
-$NetBSD: patch-ab,v 1.3 2001/04/22 17:43:19 skrll Exp $
+$NetBSD: patch-ab,v 1.4 2004/09/08 12:47:39 wiz Exp $
---- ncp/mp_serial.c.orig Tue Nov 2 20:47:06 1999
+--- ncp/mp_serial.c.orig 1999-11-02 21:47:06.000000000 +0100
+++ ncp/mp_serial.c
-@@ -223,8 +223,8 @@
+@@ -37,7 +37,7 @@
+ #ifdef sun
+ # include <sys/ttold.h> /* sun has TIOCEXCL there */
+ #endif
+-#if defined (__SVR4)
++#if defined (__SVR4) || defined(__NetBSD__)
+ #include <stdlib.h>
+ #endif
+
+@@ -223,8 +223,8 @@ int init_serial(const char *dev, int spe
void ser_exit(int fd)
{
struct termios ti;
diff -r d28c63ee9e00 -r 2c8a9ec3f014 comms/plp/patches/patch-af
--- a/comms/plp/patches/patch-af Wed Sep 08 12:28:26 2004 +0000
+++ b/comms/plp/patches/patch-af Wed Sep 08 12:47:39 2004 +0000
@@ -1,6 +1,6 @@
-$NetBSD: patch-af,v 1.6 2002/11/14 23:58:34 jlam Exp $
+$NetBSD: patch-af,v 1.7 2004/09/08 12:47:39 wiz Exp $
---- Makefile.orig Tue Nov 2 16:05:02 1999
+--- Makefile.orig 1999-11-02 22:05:02.000000000 +0100
+++ Makefile
@@ -16,18 +16,12 @@
@@ -25,7 +25,7 @@
#######################################
# You shouldn't need to look any further..
-@@ -38,20 +32,23 @@
+@@ -38,20 +32,23 @@ export AR
export LD
export LIBS
@@ -58,7 +58,7 @@
clean:
cd utils; $(MAKE) clean
-@@ -59,7 +56,7 @@
+@@ -59,7 +56,7 @@ clean:
cd rfsv; $(MAKE) clean
rm -f ncp.log *~ core
diff -r d28c63ee9e00 -r 2c8a9ec3f014 comms/plp/patches/patch-ag
--- a/comms/plp/patches/patch-ag Wed Sep 08 12:28:26 2004 +0000
+++ b/comms/plp/patches/patch-ag Wed Sep 08 12:47:39 2004 +0000
@@ -1,8 +1,8 @@
-$NetBSD: patch-ag,v 1.1 2000/10/10 12:12:10 pooka Exp $
+$NetBSD: patch-ag,v 1.2 2004/09/08 12:47:39 wiz Exp $
---- rfsv/rfsv16.cc.orig Wed Nov 3 00:01:01 1999
-+++ rfsv/rfsv16.cc Tue Oct 10 15:06:29 2000
-@@ -113,7 +113,7 @@
+--- rfsv/rfsv16.cc.orig 1999-11-02 23:01:01.000000000 +0100
++++ rfsv/rfsv16.cc
+@@ -113,7 +113,7 @@ int rfsv16::dir(const char* dirName, buf
if (version != 2) return 1;
int status = a.getWord(2);
long size = a.getDWord(4);
@@ -11,3 +11,12 @@
const char *s = a.getString(16);
a.discardFirstBytes(17+strlen(s));
+@@ -238,7 +238,7 @@ int rfsv16::write(const char* localName,
+ }
+ unsigned char * buff = new unsigned char [RFSV_SENDLEN];
+ while (ip &&!ip.eof()) {
+- ip.read(buff, RFSV_SENDLEN);
++ ip.read((char *)buff, RFSV_SENDLEN);
+ bufferStore tmp(buff, ip.gcount());
+ if (tmp.getLen() == 0) break;
+ bufferStore a;
diff -r d28c63ee9e00 -r 2c8a9ec3f014 comms/plp/patches/patch-ah
--- a/comms/plp/patches/patch-ah Wed Sep 08 12:28:26 2004 +0000
+++ b/comms/plp/patches/patch-ah Wed Sep 08 12:47:39 2004 +0000
@@ -1,8 +1,8 @@
-$NetBSD: patch-ah,v 1.1 2000/10/10 12:12:10 pooka Exp $
+$NetBSD: patch-ah,v 1.2 2004/09/08 12:47:39 wiz Exp $
---- rfsv/rfsv32.cc.orig Tue Nov 2 23:12:47 1999
-+++ rfsv/rfsv32.cc Tue Oct 10 15:07:34 2000
-@@ -183,7 +183,7 @@
+--- rfsv/rfsv32.cc.orig 1999-11-02 22:12:47.000000000 +0100
++++ rfsv/rfsv32.cc
+@@ -183,7 +183,7 @@ int rfsv32::dir(const char* dirName, buf
us += modLow;
us /= 1000000;
us -= (1970*365 + 490)*60*60*24;
@@ -11,3 +11,25 @@
char dateBuff[100];
struct tm *t;
t = gmtime(&date);
+@@ -275,10 +275,10 @@ void rfsv32::opErr(long status) {
+ case BAD_HANDLE:
+ cerr << "BAD_HANDLE";
+ break;
+- case OVERFLOW:
++ case E_OVERFLOW:
+ cerr << "OVERFLOW";
+ break;
+- case UNDERFLOW:
++ case E_UNDERFLOW:
+ cerr << "UNDERFLOW";
+ break;
+ case ALREADY_EXISTS:
+@@ -455,7 +455,7 @@ int rfsv32::write(const char* localName,
+ }
+ unsigned char * buff = new unsigned char [RFSV_SENDLEN];
+ while (ip &&!ip.eof()) {
+- ip.read(buff, RFSV_SENDLEN);
++ ip.read((char *)buff, RFSV_SENDLEN);
+ bufferStore tmp(buff, ip.gcount());
+ if (tmp.getLen() == 0) break;
+ bufferStore a;
diff -r d28c63ee9e00 -r 2c8a9ec3f014 comms/plp/patches/patch-ai
--- a/comms/plp/patches/patch-ai Wed Sep 08 12:28:26 2004 +0000
+++ b/comms/plp/patches/patch-ai Wed Sep 08 12:47:39 2004 +0000
@@ -1,8 +1,8 @@
-$NetBSD: patch-ai,v 1.1 2002/07/17 17:41:25 wiz Exp $
+$NetBSD: patch-ai,v 1.2 2004/09/08 12:47:39 wiz Exp $
---- utils/ppsocket.cc.orig Mon Apr 12 23:17:08 1999
+--- utils/ppsocket.cc.orig 1999-04-12 23:17:08.000000000 +0200
+++ utils/ppsocket.cc
-@@ -198,7 +198,7 @@
+@@ -198,7 +198,7 @@ bool ppsocket::listen(char* Host, int Po
ppsocket* ppsocket::accept(char* Peer, int MaxLen)
{
@@ -11,3 +11,12 @@
ppsocket* accepted;
char* peer;
+@@ -421,7 +421,7 @@ bool ppsocket::sputc(char c)
+ {
+ int i;
+
+- cout << hex << (int)c << endl;
++ cout << std::hex << (int)c << endl;
+
+ i = writeTimeout(&c, 1, 0);
+
diff -r d28c63ee9e00 -r 2c8a9ec3f014 comms/plp/patches/patch-aj
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/comms/plp/patches/patch-aj Wed Sep 08 12:47:39 2004 +0000
@@ -0,0 +1,46 @@
+$NetBSD: patch-aj,v 1.1 2004/09/08 12:47:39 wiz Exp $
+
+--- ncp/link.cc.orig 1999-04-12 23:49:12.000000000 +0200
++++ ncp/link.cc
+@@ -30,7 +30,7 @@
+ #include "bufferstore.h"
+ #include "bufferarray.h"
+
+-link::link(const char *fname, int baud, IOWatch &iow, bool _s5, bool _verbose) :
++Link::Link(const char *fname, int baud, IOWatch &iow, bool _s5, bool _verbose) :
+ s5(_s5)
+ {
+ p = new packet(fname, baud, iow, PACKET_LAYER_DIAGNOSTICS);
+@@ -43,16 +43,16 @@ link::link(const char *fname, int baud,
+ failed = false;
+ }
+
+-link::~link() {
++Link::~Link() {
+ delete p;
+ }
+
+-void link::send(const bufferStore &buff) {
++void Link::send(const bufferStore &buff) {
+ if (buff.getLen() > 300) abort();
+ sendQueue.pushBuffer(buff);
+ }
+
+-bufferArray link::poll() {
++bufferArray Link::poll() {
+ bufferArray ret;
+ bufferStore buff;
+ unsigned char type;
+@@ -145,10 +145,10 @@ bufferArray link::poll() {
+ return ret;
+ }
+
+-bool link::stuffToSend() {
++bool Link::stuffToSend() {
+ return (somethingToSend || !sendQueue.empty());
+ }
+
+-bool link::hasFailed() {
++bool Link::hasFailed() {
+ return failed;
+ }
diff -r d28c63ee9e00 -r 2c8a9ec3f014 comms/plp/patches/patch-ak
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/comms/plp/patches/patch-ak Wed Sep 08 12:47:39 2004 +0000
@@ -0,0 +1,18 @@
+$NetBSD: patch-ak,v 1.1 2004/09/08 12:47:39 wiz Exp $
+
+--- ncp/link.h.orig 1999-04-12 23:20:41.000000000 +0200
++++ ncp/link.h
+@@ -7,10 +7,10 @@
+ class packet;
+ class IOWatch;
+
+-class link {
++class Link {
+ public:
+- link(const char *fname, int baud, IOWatch &iow, bool s5, bool _verbose = false);
+- ~link();
++ Link(const char *fname, int baud, IOWatch &iow, bool s5, bool _verbose = false);
++ ~Link();
+ void send(const bufferStore &buff);
+ bufferArray poll();
+ bool stuffToSend();
diff -r d28c63ee9e00 -r 2c8a9ec3f014 comms/plp/patches/patch-al
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/comms/plp/patches/patch-al Wed Sep 08 12:47:39 2004 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-al,v 1.1 2004/09/08 12:47:39 wiz Exp $
+
+--- ncp/ncp.cc.orig 1999-04-12 23:27:06.000000000 +0200
++++ ncp/ncp.cc
+@@ -33,7 +33,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;
+
diff -r d28c63ee9e00 -r 2c8a9ec3f014 comms/plp/patches/patch-am
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/comms/plp/patches/patch-am Wed Sep 08 12:47:39 2004 +0000
@@ -0,0 +1,31 @@
+$NetBSD: patch-am,v 1.1 2004/09/08 12:47:39 wiz Exp $
+
+--- ncp/ncp.h.orig 1999-04-12 23:22:43.000000000 +0200
++++ ncp/ncp.h
+@@ -3,7 +3,7 @@
+
+ #include "bool.h"
+ #include "bufferstore.h"
+-class link;
++class Link;
+ class channel;
+ class IOWatch;
+
Home |
Main Index |
Thread Index |
Old Index