diff options
author | Chris Piazza <cpiazza@FreeBSD.org> | 2000-01-22 03:23:29 +0000 |
---|---|---|
committer | Chris Piazza <cpiazza@FreeBSD.org> | 2000-01-22 03:23:29 +0000 |
commit | ecb784b4286813db411c10c386b3a1cb52de4bc8 (patch) | |
tree | 6c2ade80f2d9736052e0f547b96c0d9c09cdf431 /math/simpack | |
parent | Update to ver 4.1.26 (diff) |
Unbreak for NEWGCC
PR: 16255
Submitted by: Alexander Langer <alex@cichlids.com>
Notes
Notes:
svn path=/head/; revision=24897
Diffstat (limited to 'math/simpack')
-rw-r--r-- | math/simpack/files/patch-ad | 18 | ||||
-rw-r--r-- | math/simpack/files/patch-ae | 23 | ||||
-rw-r--r-- | math/simpack/files/patch-af | 16 | ||||
-rw-r--r-- | math/simpack/files/patch-ag | 17 | ||||
-rw-r--r-- | math/simpack/files/patch-ah | 24 |
5 files changed, 98 insertions, 0 deletions
diff --git a/math/simpack/files/patch-ad b/math/simpack/files/patch-ad new file mode 100644 index 000000000000..9536c40e870d --- /dev/null +++ b/math/simpack/files/patch-ad @@ -0,0 +1,18 @@ +--- func/event/include/capi.h.old Fri Jan 21 15:47:27 2000 ++++ func/event/include/capi.h Fri Jan 21 15:47:52 2000 +@@ -18,11 +18,11 @@ + + // extract info from init_simpack()'s parameter: + +- const FEL_TYPE_MASK = 0x000f; // new +- const REMOVE_DUP_MASK = 0x0010; // orig REMOVE_DUPLICATES was pound-defined as 16 but not used +- const REMOVE_DUPLICATES = 0x0010; // for compat w/simpack appl code qnet +- const RESEED_MASK = 0x0020; // orig RESEED was pound-defined as 32 but not used +- const RESEED = 0x0020; // for compat w/simpack ++ const int FEL_TYPE_MASK = 0x000f; // new ++ const int REMOVE_DUP_MASK = 0x0010; // orig REMOVE_DUPLICATES was pound-defined as 16 but not used ++ const int REMOVE_DUPLICATES = 0x0010; // for compat w/simpack appl code qnet ++ const int RESEED_MASK = 0x0020; // orig RESEED was pound-defined as 32 but not used ++ const int RESEED = 0x0020; // for compat w/simpack + + // Group 1: related to class Future: diff --git a/math/simpack/files/patch-ae b/math/simpack/files/patch-ae new file mode 100644 index 000000000000..1a2e9c9e30b4 --- /dev/null +++ b/math/simpack/files/patch-ae @@ -0,0 +1,23 @@ +--- func/event/include/vlist.h.old Fri Jan 21 15:49:25 2000 ++++ func/event/include/vlist.h Fri Jan 21 15:49:48 2000 +@@ -136,9 +136,9 @@ + -----------------------------------------------------------------------------*/ + + #if TURBOC +- const STANDARD_HEAP_CAPACITY = 100; // heap size ++ const int STANDARD_HEAP_CAPACITY = 100; // heap size + #else +- const STANDARD_HEAP_CAPACITY = 50000; ++ const int STANDARD_HEAP_CAPACITY = 50000; + #endif + + class Heap : public Vlist +@@ -227,7 +227,7 @@ + const long MAX_NBUCKETS = 32768-1; + #endif + +-const LARGEST_CALENDAR_SAMPLE = 25; ++const int LARGEST_CALENDAR_SAMPLE = 25; + + class Calendar : public Vlist + { diff --git a/math/simpack/files/patch-af b/math/simpack/files/patch-af new file mode 100644 index 000000000000..481ac8531ef0 --- /dev/null +++ b/math/simpack/files/patch-af @@ -0,0 +1,16 @@ +--- func/event/include/facility.h.old Fri Jan 21 15:52:05 2000 ++++ func/event/include/facility.h Fri Jan 21 15:52:29 2000 +@@ -12,11 +12,11 @@ + created with the c++ API (Facility constructor). + -----------------------------------------------------------------------------*/ + +-const MAX_FACILITIES = 1000; // max number of facilities ++const int MAX_FACILITIES = 1000; // max number of facilities + + + enum FacStatus {FREE, BUSY}; +-const MAX_FAC_NAME_LEN = 64; ++const int MAX_FAC_NAME_LEN = 64; + const double MINUS_INFINITY = -1.0e77; // for debug during development + + /*============================================================================= diff --git a/math/simpack/files/patch-ag b/math/simpack/files/patch-ag new file mode 100644 index 000000000000..2d867f7bd65e --- /dev/null +++ b/math/simpack/files/patch-ag @@ -0,0 +1,17 @@ +patch-ag + +--- func/event/include/token.h.old Fri Jan 21 15:53:54 2000 ++++ func/event/include/token.h Fri Jan 21 15:54:10 2000 +@@ -9,9 +9,9 @@ + ****************************************************************************/ + + // symbolic name +-const AUTO = -1; +-const MAX_NUM_RATTR = 5; +-const MAX_NUM_IATTR = 3; ++const int AUTO = -1; ++const int MAX_NUM_RATTR = 5; ++const int MAX_NUM_IATTR = 3; + + class Token + { diff --git a/math/simpack/files/patch-ah b/math/simpack/files/patch-ah new file mode 100644 index 000000000000..ce3e59866a2f --- /dev/null +++ b/math/simpack/files/patch-ah @@ -0,0 +1,24 @@ +--- func/event/include/queuing.h.old Fri Jan 21 15:58:43 2000 ++++ func/event/include/queuing.h Fri Jan 21 15:59:06 2000 +@@ -31,15 +31,15 @@ + enum YesNo {NO, YES}; + enum Switch {OFF, ON}; + enum TrueFalse {FALSE, TRUE}; +- const NOT_FOUND = -1; // in Event +- const MAX_NAME_LEN = 100; // in Facility +- const ES_STG_LEN = 24; // in Estatus and Event +- const BFR_SIZ = 222; // in Facility & Future +- const TINY_BFR_SIZ = 16; ++ const int NOT_FOUND = -1; // in Event ++ const int MAX_NAME_LEN = 100; // in Facility ++ const int ES_STG_LEN = 24; // in Estatus and Event ++ const int BFR_SIZ = 222; // in Facility & Future ++ const int TINY_BFR_SIZ = 16; + + // Class dfns: + +- const MAX_NUM_ATTR = 5; // for old style token, for compatibility mode ++ const int MAX_NUM_ATTR = 5; // for old style token, for compatibility mode + struct TOKEN // old style token + { + float attr [MAX_NUM_ATTR]; |