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 /devel/cocktail/files/patch-reuse-m2c-SetsDrv2.c | |
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 'devel/cocktail/files/patch-reuse-m2c-SetsDrv2.c')
-rw-r--r-- | devel/cocktail/files/patch-reuse-m2c-SetsDrv2.c | 163 |
1 files changed, 0 insertions, 163 deletions
diff --git a/devel/cocktail/files/patch-reuse-m2c-SetsDrv2.c b/devel/cocktail/files/patch-reuse-m2c-SetsDrv2.c deleted file mode 100644 index 06538a4261cb..000000000000 --- a/devel/cocktail/files/patch-reuse-m2c-SetsDrv2.c +++ /dev/null @@ -1,163 +0,0 @@ ---- /usr/ports/devel/cocktail/work/cocktail-9309//./reuse/m2c/SetsDrv2.c Sat Sep 11 00:58:46 2004 -+++ ./reuse/m2c/SetsDrv2.c Thu Aug 5 18:49:36 2004 -@@ -0,0 +1,160 @@ -+#include "SYSTEM_.h" -+ -+#ifndef DEFINITION_Sets -+#include "Sets.h" -+#endif -+ -+#ifndef DEFINITION_IO -+#include "IO.h" -+#endif -+ -+#include <stdio.h> -+#include <assert.h> -+ -+int sizes[] = { 1, 2, 3, 4, 5, -+ 7, 8, 9, -+ 15, 16, 17, -+ 31, 32, 33, -+ 63, 64, 65, -+ 127, 128, 129, -+ 254, 255, 256, -+ 511, 512, 513, -+ 1023, 1024, 1025, -+ 0 }; -+ -+#define MAXSET 1026 -+int myset[MAXSET]; -+ -+static Sets_tSet s, t, u, v; -+static IO_tFile f; -+ -+static void SetInfo( Sets_tSet s ) -+{ -+ Sets_WriteSet((rSystem_tFile)IO_StdOutput, s); -+ IO_WriteS((rSystem_tFile)IO_StdOutput, (STRING)" Card = ", 8L); -+ IO_WriteI((rSystem_tFile)IO_StdOutput, (LONGINT)Sets_Card(&s), 0L); -+ IO_WriteNl((rSystem_tFile)IO_StdOutput); -+} -+ -+static BOOLEAN TestOdd(int i) -+{ -+ return (i%2) == 1; -+} -+ -+static BOOLEAN TestEven(int i) -+{ -+ return (i%2) == 0; -+} -+ -+static void CleanMyset(void) -+{ -+ int i; -+ for (i=0; i++; i<MAXSET) { -+ myset[i] = 0; -+ } -+} -+ -+static void SetMyset(int i) -+{ -+ myset[i] = 1; -+} -+ -+void BEGIN_MODULE() -+{ -+ int i, j, size, sizeindex = 0; -+ -+ BEGIN_Sets(); -+ BEGIN_IO(); -+ -+ while (sizes[sizeindex] != 0 ) { -+ size = sizes[sizeindex]-1; -+ printf("Upperbound: %d\n", size); -+ -+ Sets_MakeSet(&s, (LONGCARD)size); -+ for (i = 0; i <= size; i += 1) { -+ Sets_Include(&s,i); -+ } -+ for (i = 0; i <= size; i += 1) { -+ assert(Sets_IsElement(i, &s)); /* a full filed set */ -+ } -+ -+ Sets_MakeSet(&t, (LONGCARD)size); -+ for (i = 0; i <= size; i += 2) { -+ Sets_Include(&t,i); /* all even elements */ -+ } -+ Sets_Difference(&s,t); /* s = all odd elements */ -+ for (i = 1; i <= size; i += 2) { -+ assert(Sets_IsElement(i, &s)); -+ } -+/* SetInfo(s); -+/* SetInfo(t); -+ */ -+ -+ Sets_Intersection(&t,s); -+ assert(Sets_IsEmpty(t)); /* even and odd do not mix */ -+ -+ Sets_MakeSet(&u, (LONGCARD)size); -+ Sets_Assign(&t,s); -+ Sets_Complement(&t); /* t = all even */ -+ Sets_Assign(&u,t); /* keep a copy */ -+ for (i = 0; i <= size; i += 2) { -+ assert(Sets_IsElement(i, &t)); -+ } -+ Sets_Intersection(&t,s); -+ assert(Sets_IsEmpty(t)); -+ -+ Sets_Union(&s,u); /* odd and even gives a full set */ -+ assert(!Sets_IsEmpty(s)); -+ for (i = 0; i <= size; i += 1) { -+ assert(Sets_IsElement(i, &s)); -+ } -+ Sets_Assign(&t,s); -+ -+ for (i = 0; i <= size; i += 1) { -+ assert(Sets_IsElement(i, &s)); -+ Sets_Exclude(&s, i); -+ assert(!Sets_IsElement(i, &s)); -+ } -+ assert(Sets_IsEmpty(s)); -+ -+ while( !Sets_IsEmpty(t) ) { -+ Sets_Include(&s, Sets_Extract(&t)); -+ } -+ assert(Sets_IsEmpty(t)); -+ for (i = 0; i <= size; i += 1) { -+ assert(Sets_IsElement(i, &s)); -+ } -+ -+ while( !Sets_IsEmpty(s) ) { -+ j = Sets_Select(&s); -+ Sets_Include(&t, j); -+ Sets_Exclude(&s, j); -+ } -+ assert(Sets_IsEmpty(s)); -+ for (i = 0; i <= size; i += 1) { -+ assert(Sets_IsElement(i, &t)); -+ } -+ -+ Sets_AssignEmpty(&t); -+ for (i = 0; i <= size; i += 2) { -+ Sets_Include(&t, i); -+ } -+ Sets_Exists(t,(Sets_ProcOfCardToBool)(TestEven)); -+ -+ CleanMyset(); -+ Sets_ForallDo(t, (Sets_ProcOfCard)(SetMyset)); -+ -+ for (i = 0; i <= size; i += 1) { -+ assert(Sets_IsElement(i, &t)==(myset[i]==1)); -+ } -+ for (i = 0; i <= size; i += 1) { -+ assert((!Sets_IsElement(i, &t))==(myset[i]==0)); -+ } -+ -+ /* next size */ -+ sizeindex++; -+ Sets_ReleaseSet(&s); -+ Sets_ReleaseSet(&t); -+ Sets_ReleaseSet(&u); -+ } -+} |