diff options
author | joerg <joerg@pkgsrc.org> | 2013-05-23 18:41:21 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2013-05-23 18:41:21 +0000 |
commit | e1a0e64dcb8beba63dceb56b53a96221409ff4ee (patch) | |
tree | f2118e7caae204d1e81b67fda27968b65fa305d5 /math/ordCalc | |
parent | 50cdad2ad2b840b1d5a5dbdb7b9e12cb6c16757e (diff) | |
download | pkgsrc-e1a0e64dcb8beba63dceb56b53a96221409ff4ee.tar.gz |
Fix reference type to match argument from flex. Add missing include.
Diffstat (limited to 'math/ordCalc')
-rw-r--r-- | math/ordCalc/distinfo | 5 | ||||
-rw-r--r-- | math/ordCalc/patches/patch-src_intfc.cpp | 12 | ||||
-rw-r--r-- | math/ordCalc/patches/patch-src_intfc.h | 13 | ||||
-rw-r--r-- | math/ordCalc/patches/patch-src_parse.cpp | 13 |
4 files changed, 42 insertions, 1 deletions
diff --git a/math/ordCalc/distinfo b/math/ordCalc/distinfo index bead1f97041..715a82f465e 100644 --- a/math/ordCalc/distinfo +++ b/math/ordCalc/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.5 2012/12/20 21:47:31 joerg Exp $ +$NetBSD: distinfo,v 1.6 2013/05/23 18:41:21 joerg Exp $ SHA1 (ordCalc_0.2.tar.bz2) = 6b3e1e5b714cc50d1e2c48b8f06b8dd41fbde134 RMD160 (ordCalc_0.2.tar.bz2) = caf9c89a2a54fe3e5414cb7f1e1a4e1d4aad0397 @@ -7,6 +7,9 @@ SHA1 (patch-aa) = 8e07a797e1f258727e1320ffe4e6256cd5049a69 SHA1 (patch-ab) = 0adfeaa3a1018d3197a26480e9a736e7d9da962d SHA1 (patch-ac) = a716cc6dc42d46b5c9c0d0fe5bda8a226ab71638 SHA1 (patch-ad) = e8a1fa4fcfdf8d43d70f614ef63127885dc885b4 +SHA1 (patch-src_intfc.cpp) = e2d8f2d2e374c9eda118cd281126c416a7976774 +SHA1 (patch-src_intfc.h) = dbb95eb44fc3abe01fdcabaf824790915117d09c SHA1 (patch-src_mn.cpp) = da8ff526d95f171566d0cd8061a1439975342554 SHA1 (patch-src_ordBase.h) = 22a0bf9c135bbcb88f10c25871c619718ceb40ad SHA1 (patch-src_ordinal.h) = e1dde6caf141c82b7f740ce18280be6507bacd9e +SHA1 (patch-src_parse.cpp) = 1e7602a33edd62f4d5a119c2e35062499c07d70e diff --git a/math/ordCalc/patches/patch-src_intfc.cpp b/math/ordCalc/patches/patch-src_intfc.cpp new file mode 100644 index 00000000000..77bf0ff3175 --- /dev/null +++ b/math/ordCalc/patches/patch-src_intfc.cpp @@ -0,0 +1,12 @@ +$NetBSD: patch-src_intfc.cpp,v 1.1 2013/05/23 18:41:21 joerg Exp $ + +--- src/intfc.cpp.orig 2013-05-23 17:22:49.000000000 +0000 ++++ src/intfc.cpp +@@ -4,6 +4,7 @@ + #include <map> + #include <assert.h> + #include <ctype.h> ++#include <unistd.h> + #include "ordTop.h" + + diff --git a/math/ordCalc/patches/patch-src_intfc.h b/math/ordCalc/patches/patch-src_intfc.h new file mode 100644 index 00000000000..1be6d7e1287 --- /dev/null +++ b/math/ordCalc/patches/patch-src_intfc.h @@ -0,0 +1,13 @@ +$NetBSD: patch-src_intfc.h,v 1.1 2013/05/23 18:41:21 joerg Exp $ + +--- src/intfc.h.orig 2013-05-23 17:23:47.000000000 +0000 ++++ src/intfc.h +@@ -170,7 +170,7 @@ public: + + void parseInput(const char * file); + void popFile(); +- void readline(char * buf, int& char_read, int max_size); ++ void readline(char * buf, size_t& char_read, int max_size); + void readFromFile(const string * fileName); + void readFromFile(); + enum logOption {createLog,flushLog,stopLog,exitClean}; diff --git a/math/ordCalc/patches/patch-src_parse.cpp b/math/ordCalc/patches/patch-src_parse.cpp new file mode 100644 index 00000000000..34013b6b206 --- /dev/null +++ b/math/ordCalc/patches/patch-src_parse.cpp @@ -0,0 +1,13 @@ +$NetBSD: patch-src_parse.cpp,v 1.1 2013/05/23 18:41:21 joerg Exp $ + +--- src/parse.cpp.orig 2013-05-23 17:24:24.000000000 +0000 ++++ src/parse.cpp +@@ -96,7 +96,7 @@ void ParseSemantics::exampleParse() + } + } + +-void ParseSemantics::readline(char * buf, int& char_read, int max_size) ++void ParseSemantics::readline(char * buf, size_t& char_read, int max_size) + { + if (exampleInput) { + int length = strlen(*exampleInput); |