diff options
author | Rene Ladan <rene@FreeBSD.org> | 2011-04-18 22:25:41 +0000 |
---|---|---|
committer | Rene Ladan <rene@FreeBSD.org> | 2011-04-18 22:25:41 +0000 |
commit | 48f1d8c469aeb67c4c7838bd2bdf17f28eacbc79 (patch) | |
tree | 5509f9ae2d797f02944d429c11a7b43a3c3d2cf3 /lang/mozart/files/patch-platform-emulator-cac.cc | |
parent | Repair pkg-plist to remove directories created by NLS option. (diff) |
Remove most expired ports:
2011-04-17 cad/tclspice: has been broken for more than a year
2011-04-17 comms/hcfmdm: does not compile on 7.X or higher
2011-04-17 databases/mysqlcc: has been broken for almost a year
2011-04-17 devel/ruby-rjudy: does not compile on FreeBSD 7.x or newer
2011-04-17 devel/xfc: does not compile on FreeBSD 7.x or newer
2011-04-17 devel/lamson: has been broken for a half year
2011-04-17 devel/cocktail: does not build on FreeBSD 7.x or newer
2011-04-17 devel/djgpp-gcc: has been broken for half a year
2011-04-17 devel/gauche-sdl: has been broken for a year
2011-04-17 devel/gdb53-act: does not compile on FreeBSD 7.x and up
2011-04-17 editors/zed: does not compile on FreeBSD 7.x or newer
2011-04-17 games/aqbubble: does not compile on FreeBSD 7.x or newer
2011-04-17 graphics/libvisual-plugins: has been broken for 3 years
2011-04-17 japanese/roundcube: has been broken for almost a year
2011-04-17 japanese/tkstep80: does not compile on FreeBSD 7.x or newer
2011-04-17 lang/u++: has been broken for over a half year
2011-04-17 lang/pugs: has been broken for over a year
2011-04-17 lang/mozart: does not compile on FreeBSD 7.x or newer
2011-04-17 math/linalg: does not build on FreeBSD 7.x or newer
2011-04-17 math/R-cran-igraph: has been broken for over a half year
2011-04-17 misc/ftree: has been broken for over a half year
2011-04-17 multimedia/katchtv: has been broken for a half year
2011-04-17 multimedia/libomxil-bellagio: has been broken for almost a year
2011-04-17 multimedia/banshee-mirage: has been broken for over a half year
2011-04-17 net-p2p/trackerbt: has been broken for a half year
2011-04-17 net/cap: does not compile on FreeBSD 7.x or newer
2011-04-17 net/ggsd: does not compile on FreeBSD 7.x or newer
2011-04-17 net/b2bua: does not compile on FreeBSD 7.x or newer
2011-04-17 net/penguintv: has been broken for a half year
2011-04-17 news/openftd: has been broken for almost a year
2011-04-17 palm/romeo: does not compile on FreeBSD 7.x or newer
2011-04-17 science/pcp: does not compile on FreeBSD 7.x or newer
2011-04-17 science/elmer-fem: has been broken for over a year
2011-04-17 security/newpki-lib: does not compile on FreeBSD 7.x or newer
2011-04-17 security/newpki-server: does not compile on FreeBSD 7.x or newer
2011-04-17 security/xmlsec: does not compile on FreeBSD 7.x or newer
2011-04-17 security/f-protd: has been broken for over a year
2011-04-17 sysutils/xwlans: does not compile on FreeBSD 7.x or newer
2011-04-17 www/bk_edit: does not compile on FreeBSD 7.x and newer
2011-04-17 www/bricolage: has been broken for a half year
2011-04-17 x11-toolkits/gauche-gtk: has been broken for a year
2011-04-17 x11-toolkits/gambas2-gb-qt: has been broken for over a year
2011-04-17 x11-toolkits/php-gtk2: has been broken for over a half year
2011-04-17 x11-toolkits/p5-Tcl-Tk: has been broken for 2 year
2011-04-17 x11/metisse: has been broken for over a half year
Notes
Notes:
svn path=/head/; revision=272897
Diffstat (limited to 'lang/mozart/files/patch-platform-emulator-cac.cc')
-rw-r--r-- | lang/mozart/files/patch-platform-emulator-cac.cc | 105 |
1 files changed, 0 insertions, 105 deletions
diff --git a/lang/mozart/files/patch-platform-emulator-cac.cc b/lang/mozart/files/patch-platform-emulator-cac.cc deleted file mode 100644 index f84e09eddc17..000000000000 --- a/lang/mozart/files/patch-platform-emulator-cac.cc +++ /dev/null @@ -1,105 +0,0 @@ ---- ./platform/emulator/cac.cc.orig Tue Apr 6 08:27:38 2004 -+++ ./platform/emulator/cac.cc Sat Sep 3 18:46:08 2005 -@@ -15,8 +15,8 @@ - * Organization or Person (Year(s)) - * - * Last change: -- * $Date: 2004/04/06 12:27:38 $ by $Author: popow $ -- * $Revision: 1.76 $ -+ * $Date: 2004/08/11 14:49:03 $ by $Author: popow $ -+ * $Revision: 1.76.2.2 $ - * - * This file is part of Mozart, an implementation - * of Oz 3: -@@ -552,9 +552,8 @@ - ret->nextGCStep(); - // an alive board must be copied at every GC step exactly once: - Assert(ret->isEqGCStep(oz_getGCStep())); --#else -- ret->setCopyStep(oz_getCopyStep()); - #endif -+ ret->setCopyStep(oz_getCopyStep()); - - cacStack.push(ret, PTR_BOARD); - -@@ -764,52 +763,54 @@ - } else { - // construct anew, GC"ing keys/values along; - // -- int oldSize, newSize; -- DictNode* old; -- -- // -- oldSize = dictHTSizes[sizeIndex]; -- old = table; -+ const int tableSize = dictHTSizes[sizeIndex]; - - // can be zero too: -- int tableSize = (int) ((double) entries * GDT_IDEALENTRIES); -- Assert(tableSize < oldSize); -- sizeIndex--; -- while (sizeIndex >= 0 && dictHTSizes[sizeIndex] >= tableSize) -- sizeIndex--; -- Assert(sizeIndex < 0 || dictHTSizes[sizeIndex] < tableSize); -- sizeIndex++; -- Assert(sizeIndex >= 0 && dictHTSizes[sizeIndex] >= tableSize); -+ int newTableSize = (int) ((double) entries / GDT_IDEALENTRIES); -+ int newSizeIndex = sizeIndex - 1; -+ DictNode* old = table; -+ -+ // -+ Assert(newTableSize < tableSize); -+ while (newSizeIndex >= 0 && dictHTSizes[newSizeIndex] >= newTableSize) -+ newSizeIndex--; -+ Assert(newSizeIndex < 0 || dictHTSizes[newSizeIndex] < newTableSize); -+ newSizeIndex++; -+ Assert(newSizeIndex >= 0 && dictHTSizes[newSizeIndex] >= newTableSize); - // Must not oscillate: -- Assert(dictHTSizes[sizeIndex] < oldSize); -+ Assert(dictHTSizes[newSizeIndex] < tableSize); - // Next GC should not attempt compactification: -- Assert(entries >= (dictHTSizes[sizeIndex] / GDT_MINFULL)); -+ Assert(entries >= (dictHTSizes[newSizeIndex] / GDT_MINFULL)); - - // construct the table anew (keep the 'entries' counter); -- tableSize = dictHTSizes[sizeIndex]; -- maxEntries = (int) (GDT_MAXENTRIES * tableSize); -- table = (DictNode *) oz_heapMalloc(tableSize * sizeof(DictNode)); -- for (int i = tableSize; i--; ) -- (void) new (&table[i]) DictNode; -+ newTableSize = dictHTSizes[newSizeIndex]; -+ -+ // -+ DictHashTable *dht = new DictHashTable(*this); -+ // 'entries' copied; -+ an = (DictNode *) oz_heapMalloc(newTableSize * sizeof(DictNode)); -+ for (int i = newTableSize; i--; ) -+ (void) new (&an[i]) DictNode; -+ dht->table = an; -+ dht->sizeIndex = newSizeIndex; -+ dht->maxEntries = (int) (GDT_MAXENTRIES * newTableSize); - - // -- for (int i = oldSize; i--; old++) { -+ for (int i = tableSize; i--; old++) { - if (!old->isEmpty()) { - if (!old->isPointer()) { -- _cacDictEntry(old); -+ dht->_cacDictEntry(old); - } else { - DictNode *sptr = old->getDictNodeSPtr(); - DictNode *eptr = old->getDictNodeEPtr(); - do { -- _cacDictEntry(sptr++); -+ dht->_cacDictEntry(sptr++); - } while (sptr < eptr); - } - } - } - - // -- DictHashTable *dht = new DictHashTable(*this); -- dht->table = table; - return (dht); - } - Assert(0); |