head 1.4; access; symbols OPENPKG_E1_MP_HEAD:1.4 OPENPKG_E1_MP:1.4 OPENPKG_E1_MP_2_STABLE:1.4.2.2 OPENPKG_E1_FP:1.4.2.2 OPENPKG_2_STABLE_MP:1.4 OPENPKG_2_STABLE_20061018:1.4.2.2 OPENPKG_2_STABLE:1.4.0.2 OPENPKG_CW_FP:1.3 OPENPKG_1_STABLE_MP:1.3; locks; strict; comment @# @; 1.4 date 2006.10.12.13.03.38; author rse; state Exp; branches 1.4.2.1; next 1.3; commitid 6wrG60xYk8zcyoQr; 1.3 date 2003.07.10.16.39.20; author mlelstv; state Exp; branches; next 1.2; 1.2 date 2003.06.18.09.42.41; author mlelstv; state Exp; branches; next 1.1; 1.1 date 2003.06.18.08.39.32; author mlelstv; state Exp; branches; next ; 1.4.2.1 date 2006.10.12.13.03.38; author rse; state dead; branches; next 1.4.2.2; commitid iZxwRSmmWscPXUQr; 1.4.2.2 date 2006.10.16.14.52.34; author rse; state Exp; branches; next ; commitid iZxwRSmmWscPXUQr; desc @@ 1.4 log @fix Yacc sources and fresh up config.* scripts for increased portability @ text @Index: etc/fixdist --- etc/fixdist.orig 1995-06-25 17:04:04.000000000 +0200 +++ etc/fixdist 2006-10-12 15:01:16.289329307 +0200 @@@@ -65,7 +65,7 @@@@ todir="."; tofile=$2; for (i=0; (p=index(tofile, "/")) != 0; ) { - todir=todir "/" substr(tofile, 0, p-1); + todir=todir "/" substr(tofile, 1, p-1); tofile=substr(tofile, p+1, length(tofile)-p); frompath="../" frompath; i=p; Index: src/bim/bim_attr.c --- src/bim/bim_attr.c.orig 1998-04-07 13:32:30.000000000 +0200 +++ src/bim/bim_attr.c 2006-10-12 15:01:16.292489464 +0200 @@@@ -1286,11 +1286,7 @@@@ /* Speicherbereich fuer die alfabetische Liste der Sortennamen wieder freigeben. Diese Liste wird in- zwischen vom List-Widget verwaltet. */ -#ifndef linux XtFree((char *) string_list); -#else - #error "bug needs to be fixed" -#endif /* Erzeugung der Menue-Button der Menueleiste gemaess der Liste 'menu_list' (s.o.). */ Index: src/cmax/cmax_pars.y --- src/cmax/cmax_pars.y.orig 1998-04-01 13:04:45.000000000 +0200 +++ src/cmax/cmax_pars.y 2006-10-12 15:01:51.682873863 +0200 @@@@ -18,6 +18,7 @@@@ extern line; static ELEMENT syntaxtree = nil(); extern ELEMENT predeclared_entities( void ); +static ELEMENT _build_listexpr(ELEMENT applid, ELEMENT listexpr, ELEMENT exprseq); %} %union { Index: src/cmax/main.c --- src/cmax/main.c.orig 1998-03-19 13:45:36.000000000 +0100 +++ src/cmax/main.c 2006-10-12 15:01:16.288137127 +0200 @@@@ -331,6 +331,9 @@@@ int printflag = 0; FILE *fileptr; + extern FILE *errfile; + errfile = stderr; + #ifdef DEBUG fprintf(stderr, "Start of main program\n"); #endif Index: src/mpp/mpp_cpplib.c --- src/mpp/mpp_cpplib.c.orig 1997-06-24 15:18:15.000000000 +0200 +++ src/mpp/mpp_cpplib.c 2006-10-12 15:01:16.291781591 +0200 @@@@ -55,18 +55,17 @@@@ #include #include #include +#include /* for __DATE__ and __TIME__ */ #ifdef __STDC__ #include #endif #ifndef VMS #ifndef USG -#include /* for __DATE__ and __TIME__ */ #include #else #include /* CYGNUS LOCAL: shebs -noquiet */ #include -#include #include #endif /* USG */ #endif /* not VMS */ @ 1.4.2.1 log @file max.patch was added on branch OPENPKG_2_STABLE on 2006-10-16 14:52:34 +0000 @ text @d1 74 @ 1.4.2.2 log @Mass merge from CURRENT to 2-STABLE (all packages except those of JUNK class) @ text @a0 74 Index: etc/fixdist --- etc/fixdist.orig 1995-06-25 17:04:04.000000000 +0200 +++ etc/fixdist 2006-10-12 15:01:16.289329307 +0200 @@@@ -65,7 +65,7 @@@@ todir="."; tofile=$2; for (i=0; (p=index(tofile, "/")) != 0; ) { - todir=todir "/" substr(tofile, 0, p-1); + todir=todir "/" substr(tofile, 1, p-1); tofile=substr(tofile, p+1, length(tofile)-p); frompath="../" frompath; i=p; Index: src/bim/bim_attr.c --- src/bim/bim_attr.c.orig 1998-04-07 13:32:30.000000000 +0200 +++ src/bim/bim_attr.c 2006-10-12 15:01:16.292489464 +0200 @@@@ -1286,11 +1286,7 @@@@ /* Speicherbereich fuer die alfabetische Liste der Sortennamen wieder freigeben. Diese Liste wird in- zwischen vom List-Widget verwaltet. */ -#ifndef linux XtFree((char *) string_list); -#else - #error "bug needs to be fixed" -#endif /* Erzeugung der Menue-Button der Menueleiste gemaess der Liste 'menu_list' (s.o.). */ Index: src/cmax/cmax_pars.y --- src/cmax/cmax_pars.y.orig 1998-04-01 13:04:45.000000000 +0200 +++ src/cmax/cmax_pars.y 2006-10-12 15:01:51.682873863 +0200 @@@@ -18,6 +18,7 @@@@ extern line; static ELEMENT syntaxtree = nil(); extern ELEMENT predeclared_entities( void ); +static ELEMENT _build_listexpr(ELEMENT applid, ELEMENT listexpr, ELEMENT exprseq); %} %union { Index: src/cmax/main.c --- src/cmax/main.c.orig 1998-03-19 13:45:36.000000000 +0100 +++ src/cmax/main.c 2006-10-12 15:01:16.288137127 +0200 @@@@ -331,6 +331,9 @@@@ int printflag = 0; FILE *fileptr; + extern FILE *errfile; + errfile = stderr; + #ifdef DEBUG fprintf(stderr, "Start of main program\n"); #endif Index: src/mpp/mpp_cpplib.c --- src/mpp/mpp_cpplib.c.orig 1997-06-24 15:18:15.000000000 +0200 +++ src/mpp/mpp_cpplib.c 2006-10-12 15:01:16.291781591 +0200 @@@@ -55,18 +55,17 @@@@ #include #include #include +#include /* for __DATE__ and __TIME__ */ #ifdef __STDC__ #include #endif #ifndef VMS #ifndef USG -#include /* for __DATE__ and __TIME__ */ #include #else #include /* CYGNUS LOCAL: shebs -noquiet */ #include -#include #include #endif /* USG */ #endif /* not VMS */ @ 1.3 log @fix building @ text @d1 41 a41 2 --- src/cmax/main.c.dist 2003-06-18 10:21:57.000000000 +0200 +++ src/cmax/main.c 2003-06-18 10:30:36.000000000 +0200 d52 3 a54 24 --- src/max/max_sgen.c.dist 2003-06-18 10:21:51.000000000 +0200 +++ src/max/max_sgen.c 2003-06-18 10:21:42.000000000 +0200 @@@@ -62,7 +62,7 @@@@ fprintf(out,"extern mxi_ELEMENT mxi_string_conc( char*, int, long,...);\n"); fprintf(out,"static mxi_ELEMENT mxv_errstr;\n"); - fprintf(out,"FILE *errfile = stderr;\n"); + fprintf(out,"FILE *errfile;\n"); fprintf(out,"extern void mxi_prterrm(char*,int,char*,char*);\n"); fprintf(out,"static char mxi_errmstr[] = \"0th parameter is of wrong sort\";\n"); fprintf(out,"void comp_errm(char *filenm, int ln, char *fctnm, int parno){\n"); --- etc/fixdist.dist 2003-06-18 11:37:57.000000000 +0200 +++ etc/fixdist 2003-06-18 11:38:10.000000000 +0200 @@@@ -65,7 +65,7 @@@@ todir="."; tofile=$2; for (i=0; (p=index(tofile, "/")) != 0; ) { - todir=todir "/" substr(tofile, 0, p-1); + todir=todir "/" substr(tofile, 1, p-1); tofile=substr(tofile, p+1, length(tofile)-p); frompath="../" frompath; i=p; --- src/mpp/mpp_cpplib.c.dist Thu Jul 10 17:11:08 2003 +++ src/mpp/mpp_cpplib.c Thu Jul 10 17:11:23 2003 a74 14 --- src/bim/bim_attr.c.dist Thu Jul 10 17:16:44 2003 +++ src/bim/bim_attr.c Thu Jul 10 17:16:51 2003 @@@@ -1286,11 +1286,7 @@@@ /* Speicherbereich fuer die alfabetische Liste der Sortennamen wieder freigeben. Diese Liste wird in- zwischen vom List-Widget verwaltet. */ -#ifndef linux XtFree((char *) string_list); -#else - #error "bug needs to be fixed" -#endif /* Erzeugung der Menue-Button der Menueleiste gemaess der Liste 'menu_list' (s.o.). */ @ 1.2 log @fix fixdist script @ text @d35 36 @ 1.1 log @avoid using stderr as a constant @ text @d24 11 @