diff options
author | jmmv <jmmv@pkgsrc.org> | 2004-02-29 11:10:36 +0000 |
---|---|---|
committer | jmmv <jmmv@pkgsrc.org> | 2004-02-29 11:10:36 +0000 |
commit | 6d9d050249987ca1cbb6f8fafb9858dfa9a62693 (patch) | |
tree | 82dd002eb2a59c6fb73baeab5dc70e3c646cadaf /textproc | |
parent | a41788d9c7c295f79df4c948ff058cd4ceaac765 (diff) | |
download | pkgsrc-6d9d050249987ca1cbb6f8fafb9858dfa9a62693.tar.gz |
Fix build with gcc3.
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/regexx/distinfo | 3 | ||||
-rw-r--r-- | textproc/regexx/patches/patch-ad | 45 |
2 files changed, 47 insertions, 1 deletions
diff --git a/textproc/regexx/distinfo b/textproc/regexx/distinfo index d0ec88fc212..e48483b9262 100644 --- a/textproc/regexx/distinfo +++ b/textproc/regexx/distinfo @@ -1,7 +1,8 @@ -$NetBSD: distinfo,v 1.1.1.1 2003/03/15 08:53:09 rh Exp $ +$NetBSD: distinfo,v 1.2 2004/02/29 11:10:36 jmmv Exp $ SHA1 (regexx-0.98.1.tar.gz) = 0ab71bd8d645d961d846445fd160b951e08d4514 Size (regexx-0.98.1.tar.gz) = 422031 bytes SHA1 (patch-aa) = 15d40e8c78fe8b31aa144e92d44d125872240f15 SHA1 (patch-ab) = 3ab2e37f530b2489c3837e0a55e27c33fba02757 SHA1 (patch-ac) = 12aa1a37bdccff90a7a7e7244f44890584ddd012 +SHA1 (patch-ad) = 35873392672c6edaf1037359785906ad6b52b346 diff --git a/textproc/regexx/patches/patch-ad b/textproc/regexx/patches/patch-ad new file mode 100644 index 00000000000..22b34be7766 --- /dev/null +++ b/textproc/regexx/patches/patch-ad @@ -0,0 +1,45 @@ +$NetBSD: patch-ad,v 1.1 2004/02/29 11:10:36 jmmv Exp $ + +--- src/regexx.hh.orig 2001-03-13 15:42:21.000000000 +0100 ++++ src/regexx.hh +@@ -29,10 +29,13 @@ + #ifndef REGEXX_HH + #define REGEXX_HH + ++#include <iostream> + #include <string> + #include <vector> + #include <split.hh> + ++using namespace std; ++ + namespace regexx { + + /** Class to store atoms. +@@ -566,7 +569,7 @@ namespace regexx { + } + + inline const std::string& +- Regexx::replacef(std::string (*_func)(const RegexxMatch&), int _flags = 0) ++ Regexx::replacef(std::string (*_func)(const RegexxMatch&), int _flags) + throw(CompileException) + { + exec(_flags&~nomatch); +@@ -580,7 +583,7 @@ namespace regexx { + inline const std::string& + Regexx::replacef(const std::string& _expr, + std::string (*_func)(const RegexxMatch&), +- int _flags = 0) ++ int _flags) + throw(CompileException) + { + expr(_expr); +@@ -590,7 +593,7 @@ namespace regexx { + inline const std::string& + Regexx::replacef(const std::string& _str, const std::string& _expr, + std::string (*_func)(const RegexxMatch&), +- int _flags = 0) ++ int _flags) + throw(CompileException) + { + str(_str); |