OpenPKG CVS Repository
  http://cvs.openpkg.org/
  ____________________________________________________________________________

  Server: cvs.openpkg.org                  Name:   Michael van Elst
  Root:   /e/openpkg/cvs                   Email:  [EMAIL PROTECTED]
  Module: openpkg-src openpkg-web          Date:   10-Jul-2003 18:39:21
  Branch: HEAD                             Handle: 2003071017391802

  Modified files:
    openpkg-src/max         max.patch max.spec
    openpkg-web             news.txt

  Log:
    fix building

  Summary:
    Revision    Changes     Path
    1.3         +36 -0      openpkg-src/max/max.patch
    1.11        +5  -1      openpkg-src/max/max.spec
    1.5513      +1  -0      openpkg-web/news.txt
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/max/max.patch
  ============================================================================
  $ cvs diff -u -r1.2 -r1.3 max.patch
  --- openpkg-src/max/max.patch 18 Jun 2003 09:42:41 -0000      1.2
  +++ openpkg-src/max/max.patch 10 Jul 2003 16:39:20 -0000      1.3
  @@ -32,3 +32,39 @@
                        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
  +@@ -55,18 +55,17 @@
  + #include <ctype.h>
  + #include <stdio.h>
  + #include <signal.h>
  ++#include <time.h>           /* for __DATE__ and __TIME__ */
  + #ifdef __STDC__
  + #include <stdlib.h>
  + #endif
  + 
  + #ifndef VMS
  + #ifndef USG
  +-#include <sys/time.h>               /* for __DATE__ and __TIME__ */
  + #include <sys/resource.h>
  + #else
  + #include <sys/param.h>                      /* CYGNUS LOCAL: shebs -noquiet */
  + #include <sys/times.h>
  +-#include <time.h>
  + #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.10 -r1.11 max.spec
  --- openpkg-src/max/max.spec  9 Jul 2003 15:13:36 -0000       1.10
  +++ openpkg-src/max/max.spec  10 Jul 2003 16:39:20 -0000      1.11
  @@ -33,7 +33,7 @@
   Group:        Converter
   License:      TUM Open-Source
   Version:      7.4.2
  -Release:      20030709
  +Release:      20030710
   
   #   list of sources
   Source0:      http://www2.informatik.tu-muenchen.de/pub/sw/max-%{version}.tar.gz
  @@ -56,6 +56,10 @@
   %prep
       %setup -q
       %patch -p0
  +    #   avoid conflicts with standard library function index()
  +    %{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
   
   %build
       CC="%{l_cc}" \
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-web/news.txt
  ============================================================================
  $ cvs diff -u -r1.5512 -r1.5513 news.txt
  --- openpkg-web/news.txt      10 Jul 2003 15:02:33 -0000      1.5512
  +++ openpkg-web/news.txt      10 Jul 2003 16:39:18 -0000      1.5513
  @@ -1,3 +1,4 @@
  +10-Jul-2003: Upgraded package: P<max-7.4.2-20030710>
   10-Jul-2003: Upgraded package: P<bind8-8.4.1-20030710>
   10-Jul-2003: Upgraded package: P<lyx-1.3.2-20030710>
   10-Jul-2003: Upgraded package: P<openpkg-tool-20030710-20030710>
  @@ .
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
CVS Repository Commit List                     [EMAIL PROTECTED]

Reply via email to