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:   06-Oct-2005 20:58:35
  Branch: HEAD                             Handle: 2005100619583500

  Added files:
    openpkg-src/mathomatic  mathomatic.patch
  Modified files:
    openpkg-src/mathomatic  mathomatic.spec

  Log:
    bandage for isinf(3) which is a C99 feature; bless for PLUS class

  Summary:
    Revision    Changes     Path
    1.1         +15 -0      openpkg-src/mathomatic/mathomatic.patch
    1.53        +4  -2      openpkg-src/mathomatic/mathomatic.spec
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/mathomatic/mathomatic.patch
  ============================================================================
  $ cvs diff -u -r0 -r1.1 mathomatic.patch
  --- /dev/null 2005-10-06 20:58:33 +0200
  +++ mathomatic.patch  2005-10-06 20:58:35 +0200
  @@ -0,0 +1,15 @@
  +Index: am.h
  +--- am.h.orig        2005-08-23 18:55:45.000000000 +0200
  ++++ am.h     2005-10-06 20:56:57.183209883 +0200
  +@@ -22,6 +22,11 @@
  + #define     isfinite(d)     finite(d)
  + #endif
  + 
  ++#if defined(__STDC__) && __STDC__+0 < 199901L
  ++#undef isinf
  ++#define isinf(x) 0
  ++#endif
  ++
  + #undef      PI
  + #define     PI      3.141592653589793238
  + #define     E       2.718281828459045235
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-src/mathomatic/mathomatic.spec
  ============================================================================
  $ cvs diff -u -r1.52 -r1.53 mathomatic.spec
  --- openpkg-src/mathomatic/mathomatic.spec    16 Sep 2005 20:10:01 -0000      
1.52
  +++ openpkg-src/mathomatic/mathomatic.spec    6 Oct 2005 18:58:35 -0000       
1.53
  @@ -29,14 +29,15 @@
   Vendor:       George Gesslein
   Packager:     OpenPKG
   Distribution: OpenPKG
  -Class:        EVAL
  +Class:        PLUS
   Group:        Algorithm
   License:      Open Source
   Version:      12.4.11
  -Release:      20050916
  +Release:      20051006
   
   #   list of sources
   Source0:      http://www.panix.com/~gesslein/mathomatic-%{version}.tgz
  +Patch0:       mathomatic.patch
   
   #   build information
   Prefix:       %{l_prefix}
  @@ -61,6 +62,7 @@
   
   %prep
       %setup -q
  +    %patch -p0
   
   %build
       %{l_make} %{l_mflags -O} \
  @@ .
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
CVS Repository Commit List                     [email protected]

Reply via email to