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:   10-Jul-2007 09:33:31
  Branch: HEAD                             Handle: 2007071008333000

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

  Log:
    fix a bug in the use of the GCC_VERSION macro. This allows
    bootstrapping again on a bare Solaris 10/amd64 (core) with just Sun
    Studio 12 installed

  Summary:
    Revision    Changes     Path
    1.30        +12 -0      openpkg-src/gcc/gcc.patch
    1.145       +1  -1      openpkg-src/gcc/gcc.spec
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/gcc/gcc.patch
  ============================================================================
  $ cvs diff -u -r1.29 -r1.30 gcc.patch
  --- openpkg-src/gcc/gcc.patch 17 May 2007 10:18:56 -0000      1.29
  +++ openpkg-src/gcc/gcc.patch 10 Jul 2007 07:33:30 -0000      1.30
  @@ -97,3 +97,15 @@
    #define HAVE_ICONV 0
    typedef int iconv_t;  /* dummy */
    #endif
  +Index: gcc/config/i386/driver-i386.c
  +--- gcc/config/i386/driver-i386.c.orig       2006-12-29 07:09:06 +0100
  ++++ gcc/config/i386/driver-i386.c    2007-07-10 09:16:56 +0200
  +@@ -26,7 +26,7 @@
  + 
  + const char *host_detect_local_cpu (int argc, const char **argv);
  + 
  +-#ifdef GCC_VERSION
  ++#if defined(GCC_VERSION) && GCC_VERSION > 0
  + #define cpuid(num,a,b,c,d) \
  +   asm volatile ("xchgl %%ebx, %1; cpuid; xchgl %%ebx, %1" \
  +             : "=a" (a), "=r" (b), "=c" (c), "=d" (d)  \
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-src/gcc/gcc.spec
  ============================================================================
  $ cvs diff -u -r1.144 -r1.145 gcc.spec
  --- openpkg-src/gcc/gcc.spec  11 Jun 2007 14:11:50 -0000      1.144
  +++ openpkg-src/gcc/gcc.spec  10 Jul 2007 07:33:30 -0000      1.145
  @@ -37,7 +37,7 @@
   Group:        Compiler
   License:      GPL
   Version:      %{V_full}
  -Release:      20070611
  +Release:      20070710
   
   #   package options
   %option       with_cxx       yes
  @@ .
______________________________________________________________________
OpenPKG                                             http://openpkg.org
CVS Repository Commit List                     [email protected]

Reply via email to