pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/re2c Add a missing header and correct a type, to...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3bc2f78a61f8
branches:  trunk
changeset: 483047:3bc2f78a61f8
user:      kristerw <kristerw%pkgsrc.org@localhost>
date:      Sat Nov 06 18:08:48 2004 +0000

description:
Add a missing header and correct a type, to make this build on NetBSD 1.6.

diffstat:

 devel/re2c/distinfo         |   5 ++++-
 devel/re2c/patches/patch-aa |  32 ++++++++++++++++++++++++++++++++
 devel/re2c/patches/patch-ab |  11 +++++++++++
 devel/re2c/patches/patch-ac |  12 ++++++++++++
 4 files changed, 59 insertions(+), 1 deletions(-)

diffs (79 lines):

diff -r 902da73c224e -r 3bc2f78a61f8 devel/re2c/distinfo
--- a/devel/re2c/distinfo       Sat Nov 06 17:50:09 2004 +0000
+++ b/devel/re2c/distinfo       Sat Nov 06 18:08:48 2004 +0000
@@ -1,4 +1,7 @@
-$NetBSD: distinfo,v 1.3 2004/09/10 18:52:29 wiz Exp $
+$NetBSD: distinfo,v 1.4 2004/11/06 18:08:48 kristerw Exp $
 
 SHA1 (re2c-0.9.3.tar.gz) = f7afa459474abadea146031f2d9dbadbfc5a568f
 Size (re2c-0.9.3.tar.gz) = 173075 bytes
+SHA1 (patch-aa) = e02c2e2bcbd277b7df81b8e453366453830798ff
+SHA1 (patch-ab) = d41159b20c75b97c39dcf5d6fc5c547a0639860c
+SHA1 (patch-ac) = c92be8d3b6caa1a86056b030609b353856d89e4d
diff -r 902da73c224e -r 3bc2f78a61f8 devel/re2c/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/re2c/patches/patch-aa       Sat Nov 06 18:08:48 2004 +0000
@@ -0,0 +1,32 @@
+$NetBSD: patch-aa,v 1.3 2004/11/06 18:08:48 kristerw Exp $
+
+--- substr.h.orig      Sat Nov  6 18:54:16 2004
++++ substr.h   Sat Nov  6 18:55:42 2004
+@@ -8,11 +8,11 @@
+ class SubStr {
+ public:
+     char              *str;
+-    uint              len;
++    unsigned int      len;
+ public:
+     friend bool operator==(const SubStr &, const SubStr &);
+-    SubStr(uchar*, uint);
+-    SubStr(char*, uint);
++    SubStr(uchar*, unsigned int);
++    SubStr(char*, unsigned int);
+     SubStr(const SubStr&);
+     void out(std::ostream&) const;
+ };
+@@ -34,10 +34,10 @@
+     return o << *s;
+ }
+ 
+-inline SubStr::SubStr(uchar *s, uint l)
++inline SubStr::SubStr(uchar *s, unsigned int l)
+     : str((char*) s), len(l) { }
+ 
+-inline SubStr::SubStr(char *s, uint l)
++inline SubStr::SubStr(char *s, unsigned int l)
+     : str(s), len(l) { }
+ 
+ inline SubStr::SubStr(const SubStr &s)
diff -r 902da73c224e -r 3bc2f78a61f8 devel/re2c/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/re2c/patches/patch-ab       Sat Nov 06 18:08:48 2004 +0000
@@ -0,0 +1,11 @@
+$NetBSD: patch-ab,v 1.1 2004/11/06 18:08:48 kristerw Exp $
+
+--- substr.cc.orig     Sat Nov  6 18:55:56 2004
++++ substr.cc  Sat Nov  6 18:56:08 2004
+@@ -33,5 +33,5 @@
+ Str::~Str() {
+     delete str;
+     str = (char*)-1;
+-    len = (uint)-1;
++    len = (unsigned int)-1;
+ }
diff -r 902da73c224e -r 3bc2f78a61f8 devel/re2c/patches/patch-ac
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/re2c/patches/patch-ac       Sat Nov 06 18:08:48 2004 +0000
@@ -0,0 +1,12 @@
+$NetBSD: patch-ac,v 1.1 2004/11/06 18:08:48 kristerw Exp $
+
+--- actions.cc.orig    Sat Nov  6 18:52:41 2004
++++ actions.cc Sat Nov  6 18:53:24 2004
+@@ -3,6 +3,7 @@
+ #include <string.h>
+ #include <iostream>
+ #include <iomanip>
++#include <ctype.h>
+ 
+ #include "globals.h"
+ #include "parser.h"



Home | Main Index | Thread Index | Old Index