OpenPKG CVS Repository http://cvs.openpkg.org/ ____________________________________________________________________________
Server: cvs.openpkg.org Name: Ralf S. Engelschall Root: /v/openpkg/cvs Email: [EMAIL PROTECTED] Module: openpkg-src Date: 12-Oct-2006 15:03:40 Branch: HEAD Handle: 2006101214033801 Modified files: openpkg-src/max max.patch max.spec Log: fix Yacc sources and fresh up config.* scripts for increased portability Summary: Revision Changes Path 1.4 +44 -40 openpkg-src/max/max.patch 1.22 +3 -2 openpkg-src/max/max.spec ____________________________________________________________________________ patch -p0 <<'@@ .' Index: openpkg-src/max/max.patch ============================================================================ $ cvs diff -u -r1.3 -r1.4 max.patch --- openpkg-src/max/max.patch 10 Jul 2003 16:39:20 -0000 1.3 +++ openpkg-src/max/max.patch 12 Oct 2006 13:03:38 -0000 1.4 @@ -1,5 +1,44 @@ ---- 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 +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; @@ -10,30 +49,9 @@ #ifdef DEBUG fprintf(stderr, "Start of main program\n"); #endif ---- 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 +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 <ctype.h> #include <stdio.h> @@ -54,17 +72,3 @@ #include <fcntl.h> #endif /* USG */ #endif /* not VMS */ ---- 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.). */ - @@ . patch -p0 <<'@@ .' Index: openpkg-src/max/max.spec ============================================================================ $ cvs diff -u -r1.21 -r1.22 max.spec --- openpkg-src/max/max.spec 23 Sep 2006 10:52:09 -0000 1.21 +++ openpkg-src/max/max.spec 12 Oct 2006 13:03:39 -0000 1.22 @@ -33,7 +33,7 @@ Group: CompilerCompiler License: TUM Open-Source Version: 7.4.2 -Release: 20060923 +Release: 20061012 # list of sources Source0: http://www2.informatik.tu-muenchen.de/pub/sw/max-%{version}.tar.gz @@ -42,7 +42,7 @@ # build information Prefix: %{l_prefix} BuildRoot: %{l_buildroot} -BuildPreReq: OpenPKG, openpkg >= 20040130, flex, bison, gcc, X11, perl +BuildPreReq: OpenPKG, openpkg >= 20040130, flex, bison, gcc, X11, perl, config PreReq: OpenPKG, openpkg >= 20040130 AutoReq: no AutoReqProv: no @@ -69,6 +69,7 @@ %{l_shtool} subst \ -e 's;\([^a-zA-Z0-9_]\)index\( *(\);\1Mindex\2;g' \ src/max/*.c src/max/*.h src/max/*.B src/max/*.m + %{l_prefix}/bin/config install config %build CC="%{l_cc}" \ @@ . ______________________________________________________________________ The OpenPKG Project www.openpkg.org CVS Repository Commit List openpkg-cvs@openpkg.org