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-Jun-2007 11:17:54
  Branch: HEAD                             Handle: 2007060610175301

  Modified files:
    openpkg-src/binutils    binutils.patch binutils.spec

  Log:
    blindly try to add some additional Mac OS X support

  Summary:
    Revision    Changes     Path
    1.19        +21 -0      openpkg-src/binutils/binutils.patch
    1.78        +1  -1      openpkg-src/binutils/binutils.spec
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/binutils/binutils.patch
  ============================================================================
  $ cvs diff -u -r1.18 -r1.19 binutils.patch
  --- openpkg-src/binutils/binutils.patch       24 Jun 2006 20:04:49 -0000      
1.18
  +++ openpkg-src/binutils/binutils.patch       6 Jun 2007 09:17:53 -0000       
1.19
  @@ -146,3 +146,24 @@
    BFDDIR = $(BASEDIR)/bfd
    INCDIR = $(BASEDIR)/include
   
  +-----------------------------------------------------------------------------
  +
  +workaround problems under Mac OS X.
  +
  +Index: libiberty/fibheap.c
  +--- libiberty/fibheap.c.orig 2005-05-10 17:33:33 +0200
  ++++ libiberty/fibheap.c      2007-06-06 11:11:42 +0200
  +@@ -34,8 +34,11 @@
  + #include "libiberty.h"
  + #include "fibheap.h"
  + 
  +-
  ++#ifdef LONG_MIN
  + #define FIBHEAPKEY_MIN      LONG_MIN
  ++#else
  ++#define FIBHEAPKEY_MIN      (-0x7fffffffL - 1)
  ++#endif
  + 
  + static void fibheap_ins_root (fibheap_t, fibnode_t);
  + static void fibheap_rem_root (fibheap_t, fibnode_t);
  +
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-src/binutils/binutils.spec
  ============================================================================
  $ cvs diff -u -r1.77 -r1.78 binutils.spec
  --- openpkg-src/binutils/binutils.spec        5 Jun 2007 17:48:36 -0000       
1.77
  +++ openpkg-src/binutils/binutils.spec        6 Jun 2007 09:17:54 -0000       
1.78
  @@ -33,7 +33,7 @@
   Group:        Compiler
   License:      GPL
   Version:      2.17
  -Release:      20070605
  +Release:      20070606
   
   #   list of sources
   Source0:      
ftp://sources.redhat.com/pub/binutils/releases/binutils-%{version}.tar.bz2
  @@ .
______________________________________________________________________
OpenPKG                                             http://openpkg.org
CVS Repository Commit List                     [email protected]

Reply via email to