diff options
author | joerg <joerg@pkgsrc.org> | 2013-02-26 10:22:53 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2013-02-26 10:22:53 +0000 |
commit | fcc16af5057f9fcbd1ee4a4ddb7e83b3b3efd486 (patch) | |
tree | fba94cc011964a3c4c0b2f55c8f6278bb87018b8 /cad | |
parent | f4b6b13c7f722384c0cddccf501ab0a7fd51c57b (diff) | |
download | pkgsrc-fcc16af5057f9fcbd1ee4a4ddb7e83b3b3efd486.tar.gz |
Define classes before using them.
Diffstat (limited to 'cad')
-rw-r--r-- | cad/gnucap/distinfo | 3 | ||||
-rw-r--r-- | cad/gnucap/patches/patch-modelgen_mg__.h | 47 |
2 files changed, 49 insertions, 1 deletions
diff --git a/cad/gnucap/distinfo b/cad/gnucap/distinfo index ea311cec3bc..8d1f9bd0a46 100644 --- a/cad/gnucap/distinfo +++ b/cad/gnucap/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.12 2012/02/16 11:37:27 hans Exp $ +$NetBSD: distinfo,v 1.13 2013/02/26 10:22:53 joerg Exp $ SHA1 (gnucap-2006-07-08.tar.gz) = dafdfa1f78ee37b247066ccac7a2e63f99a7d8f0 RMD160 (gnucap-2006-07-08.tar.gz) = 8006dffd189095b81dbf7358caacea870bc054df @@ -7,6 +7,7 @@ SHA1 (patch-aa) = 60e6484c852adfba3b0bd11a9a5c691e4d228bd7 SHA1 (patch-ab) = cdb1825722b18784ca54ae0c39183ff0790dc6d9 SHA1 (patch-modelgen_ap.h) = 323081e63db5148da5706ea8a9470f2c8769467f SHA1 (patch-modelgen_io__.h) = 56aa956aa1e49889fea1ad59c2615e7c34f87b4c +SHA1 (patch-modelgen_mg__.h) = e1464d428a8855124a8ac260041836a043a044ac SHA1 (patch-src_ap.h) = a11af959b3e7637a5e49df1c2fc2672ded4dc5df SHA1 (patch-src_c__comand.h) = c00405e8f81398ab1bbaea171ee51f5cbcfe5328 SHA1 (patch-src_declare.h) = a8cea1d2a6866b12a3aa0d91a5f86b14ca7030fa diff --git a/cad/gnucap/patches/patch-modelgen_mg__.h b/cad/gnucap/patches/patch-modelgen_mg__.h new file mode 100644 index 00000000000..1da6be3a411 --- /dev/null +++ b/cad/gnucap/patches/patch-modelgen_mg__.h @@ -0,0 +1,47 @@ +$NetBSD: patch-modelgen_mg__.h,v 1.1 2013/02/26 10:22:53 joerg Exp $ + +--- modelgen/mg_.h.orig 2013-02-25 18:16:05.000000000 +0000 ++++ modelgen/mg_.h +@@ -77,6 +77,21 @@ inline CS& operator>>(CS& f, Base& + inline std::ostream& operator<<(std::ostream& f, const Base& d) + {d.print(f); return f;} + /*--------------------------------------------------------------------------*/ ++class C_Comment ++ :public Base ++{ ++public: ++ void parse(CS& f); ++}; ++/*--------------------------------------------------------------------------*/ ++class Cxx_Comment ++ :public Base ++{ ++public: ++ void parse(CS& f); ++}; ++ ++/*--------------------------------------------------------------------------*/ + template <class T> + class List_Base + :public Base +@@ -149,20 +164,6 @@ public: + } + }; + /*--------------------------------------------------------------------------*/ +-class C_Comment +- :public Base +-{ +-public: +- void parse(CS& f); +-}; +-/*--------------------------------------------------------------------------*/ +-class Cxx_Comment +- :public Base +-{ +-public: +- void parse(CS& f); +-}; +-/*--------------------------------------------------------------------------*/ + class Key + { + std::string _name; |