diff options
author | Alexey Dokuchaev <danfe@FreeBSD.org> | 2018-01-02 08:49:35 +0000 |
---|---|---|
committer | Alexey Dokuchaev <danfe@FreeBSD.org> | 2018-01-02 08:49:35 +0000 |
commit | 6b0ede6a5f60b79da04b9ef3a759ba7005d7caca (patch) | |
tree | 451fa56af520d26a4e0521342b894bb37f5789ba /lang/cim/files | |
parent | Remove ibus-cangjie, new BROKEN port (diff) |
- Resurrect `lang/cim', upstream is alive now
- Update MASTER_SITES and WWW: line accordingly
- Define LICENSE (GPLv2)
- Convert USE_AUTOTOOLS=libtool -> USES=libtool
- Remove USE_PERL5: while configure script checks
for it, it is never actually used anywhere
- Utilize INSTALL_TARGET=install-strip
- Hook provided tests to the test framework
- TIMESTAMP (cim-3.37.tar.gz) = 1125726905
Tested on: i386, amd64, powerpc, sparc64
Notes
Notes:
svn path=/head/; revision=457835
Diffstat (limited to 'lang/cim/files')
-rw-r--r-- | lang/cim/files/patch-missing-void | 188 | ||||
-rw-r--r-- | lang/cim/files/patch-src_mapline.c | 11 |
2 files changed, 199 insertions, 0 deletions
diff --git a/lang/cim/files/patch-missing-void b/lang/cim/files/patch-missing-void new file mode 100644 index 000000000000..6ac45bdfd813 --- /dev/null +++ b/lang/cim/files/patch-missing-void @@ -0,0 +1,188 @@ +--- src/dekl.c.orig 2005-09-03 04:14:27 UTC ++++ src/dekl.c +@@ -526,6 +526,7 @@ subordinate (rda, rdb) + + /* Kalles fra syntakssjekkeren hver gang en ny blokk entres */ + ++void + beginBlock (kind) + char kind; + { +@@ -654,6 +655,7 @@ beginBlock (kind) + /* Kalles fra syntakssjekkeren hver gang en blokk terminerer */ + + /*VARARGS0 */ ++void + endBlock (rtname, codeclass) + char *rtname; + char codeclass; +@@ -692,6 +694,7 @@ endBlock (rtname, codeclass) + /* RegDecl kalles fra syntakssjekkeren + * hver gang vi leser en deklarasjon */ + ++void + regDecl (ident, type, kind, categ) + char *ident, type, kind, categ; + { +@@ -1263,6 +1266,7 @@ setqualprefchain (rd, param) + * Prefikskjeden og kvalifikasjoner settes ved kall på setqualprefchain + * den sjekker også konsistensen for type kind og categ */ + ++void + static sjekkdekl (rb) + struct BLOCK *rb; + { +--- src/dekl.h.orig 1999-12-05 14:16:13 UTC ++++ src/dekl.h +@@ -189,9 +189,9 @@ struct BLOCK + #define CCCPROC 8 /* Ekstern C-prosedyre */ + + +-extern beginBlock (); +-extern endBlock (); +-extern regDecl (); ++extern void beginBlock (); ++extern void endBlock (); ++extern void regDecl (); + extern regInner (); + extern struct DECL *newDecl (); + extern struct BLOCK *firstclass (); +--- src/error.c.orig 1998-12-08 11:41:38 UTC ++++ src/error.c +@@ -42,6 +42,7 @@ int anterror; + + /****************************************************************************** + STARTERROR */ ++void + static starterror (line) + long line; + { +@@ -57,6 +58,7 @@ static starterror (line) + + /* Feil som oppdages av LEX */ + ++void + lerror (errcode) + int errcode; + { +@@ -460,6 +462,7 @@ textnumber (i) + /* Feil som oppdages av SJEKKEREN */ + + /*VARARGS1 */ ++void + serror (errcode, name, ant) + int errcode, + ant; +@@ -684,6 +687,7 @@ gerror (errcode, name) + /* Feil som oppdages under innlesing av eksterne moduler */ + + /*VARARGS1 */ ++void + merror (errcode, name) + int errcode; + char *name; +--- src/expbuilder.c.orig 2005-09-03 04:14:39 UTC ++++ src/expbuilder.c +@@ -199,6 +199,7 @@ struct EXP *elook() + + /* Bygger opp et uttrykstree, Alle operatorene leses postfix */ + ++void + ebuild () + { + struct EXP *re; +--- src/expchecker.c.orig 2000-08-27 01:36:20 UTC ++++ src/expchecker.c +@@ -237,6 +237,7 @@ static sametype (rel, rer) + /****************************************************************************** + ARGUMENTERROR */ + ++void + static argumenterror (melding, re) + int melding; + struct EXP *re; +--- src/extspec.c.orig 2000-05-29 09:51:25 UTC ++++ src/extspec.c +@@ -476,6 +476,7 @@ found: + /****************************************************************************** + LESINN_EXTERNAL_SPEC */ + ++void + lesinn_external_spec (ident, filename, kind) + char *ident; + char *filename; +@@ -565,6 +566,7 @@ static write_text_mif (f, s) FILE *f; un + /****************************************************************************** + WRITE_DECL_MIF */ + ++void + static write_decl_mif (f, rd, level) + FILE *f; struct DECL *rd; int level; + { +--- src/extspec.h.orig 1998-09-12 14:59:34 UTC ++++ src/extspec.h +@@ -28,7 +28,7 @@ void gettimestamp (); + void initExtspec (); + extern char *directive_timestamp; + extern char *timestamp; +-extern lesinn_external_spec (); ++extern void lesinn_external_spec (); + extern more_modules (); + extern struct stamp *first_stamp; + extern skrivut_external_spec (); +--- src/gen.h.orig 1998-10-19 14:18:17 UTC ++++ src/gen.h +@@ -68,11 +68,11 @@ extern gentype (); + extern genmodulemark(); + extern gen_adr_prot(); + +-extern genvalue(); ++extern void genvalue(); + + /* genpar.c */ + extern genprocparam (); +-extern genpredefproccall (); ++extern void genpredefproccall (); + extern gencproccall (); + extern gen_thunk_simple_address (); + extern gen_thunk_simple_value (); +--- src/genexp.c.orig 2000-05-29 09:22:29 UTC ++++ src/genexp.c +@@ -196,6 +196,7 @@ genmodulemark(maintimestamp) char *maint + /****************************************************************************** + GENVALUE */ + ++void + genvalue (re) + struct EXP *re; + { +--- src/genpar.c.orig 1999-12-09 17:55:29 UTC ++++ src/genpar.c +@@ -1112,6 +1112,7 @@ genprocparam (re) + /****************************************************************************** + GENPREDEFPROCCALL */ + ++void + genpredefproccall (re) + struct EXP *re; + { +--- src/genstr.c.orig 2000-02-05 19:16:21 UTC ++++ src/genstr.c +@@ -258,6 +258,7 @@ static blockmainstructure (rb, output_re + /****************************************************************************** + BLOCKSTRUCTURE */ + ++void + static blockstructure (rb) + struct BLOCK *rb; + { +--- src/lex.c.orig 2005-09-03 04:56:56 UTC ++++ src/lex.c +@@ -730,6 +730,7 @@ static scanDirflags () + /****************************************************************************** + DIRLINE */ + ++void + static scanDirline () + { + FILE *file; diff --git a/lang/cim/files/patch-src_mapline.c b/lang/cim/files/patch-src_mapline.c new file mode 100644 index 000000000000..c5c2f17a531c --- /dev/null +++ b/lang/cim/files/patch-src_mapline.c @@ -0,0 +1,11 @@ +--- src/mapline.c.orig 2018-01-02 05:18:40 UTC ++++ src/mapline.c +@@ -60,6 +60,8 @@ static int antmap = 1; + + /****************************************************************************** + MAPLINEINIT */ ++char * tag (char []); ++ + int maplineInit (sourcename, ifdefp) char *sourcename; void *ifdefp; + { + obstack_init (&osMap); |