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:   14-Jun-2003 20:47:46
  Branch: HEAD                             Handle: 2003061419474501

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

  Log:
    fix building on non-gcc hosts

  Summary:
    Revision    Changes     Path
    1.8         +22 -0      openpkg-src/gcc/gcc.patch
    1.54        +6  -6      openpkg-src/gcc/gcc.spec
    1.4875      +1  -0      openpkg-web/news.txt
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/gcc/gcc.patch
  ============================================================================
  $ cvs diff -u -r1.7 -r1.8 gcc.patch
  --- openpkg-src/gcc/gcc.patch 26 Mar 2003 11:01:47 -0000      1.7
  +++ openpkg-src/gcc/gcc.patch 14 Jun 2003 18:47:46 -0000      1.8
  @@ -18,3 +18,25 @@
   +#undef DEFAULT_PCC_STRUCT_RETURN
   +#define DEFAULT_PCC_STRUCT_RETURN 1
   
  +--- gcc/configure.dist       2003-06-11 11:23:53.000000000 +0200
  ++++ gcc/configure    2003-06-11 11:23:53.000000000 +0200
  +@@ -8259,7 +8259,7 @@
  +      && $gcc_cv_ld -shared -o conftest1.so conftest1.o \
  +     conftest2.o conftest3.o; then
  +     gcc_cv_ld_ro_rw_mix=`$gcc_cv_objdump -h conftest1.so \
  +-                     | grep -A1 myfoosect`
  ++                     | sed -ne '/myfoosect/{N;p}'`
  +     if echo "$gcc_cv_ld_ro_rw_mix" | grep CONTENTS > /dev/null; then
  +       if echo "$gcc_cv_ld_ro_rw_mix" | grep READONLY > /dev/null; then
  +     gcc_cv_ld_ro_rw_mix=read-only
  +--- gcc/configure.in.dist    2003-06-11 11:23:53.000000000 +0200
  ++++ gcc/configure.in 2003-06-11 11:23:53.000000000 +0200
  +@@ -2319,7 +2319,7 @@
  +      && $gcc_cv_ld -shared -o conftest1.so conftest1.o \
  +     conftest2.o conftest3.o; then
  +     gcc_cv_ld_ro_rw_mix=`$gcc_cv_objdump -h conftest1.so \
  +-                     | grep -A1 myfoosect`
  ++                     | sed -ne '/myfoosect/{N;p;}'`
  +     if echo "$gcc_cv_ld_ro_rw_mix" | grep CONTENTS > /dev/null; then
  +       if echo "$gcc_cv_ld_ro_rw_mix" | grep READONLY > /dev/null; then
  +     gcc_cv_ld_ro_rw_mix=read-only
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-src/gcc/gcc.spec
  ============================================================================
  $ cvs diff -u -r1.53 -r1.54 gcc.spec
  --- openpkg-src/gcc/gcc.spec  3 Jun 2003 10:11:09 -0000       1.53
  +++ openpkg-src/gcc/gcc.spec  14 Jun 2003 18:47:46 -0000      1.54
  @@ -38,7 +38,7 @@
   Group:        Language
   License:      GPL
   Version:      %{V_full}
  -Release:      20030603
  +Release:      20030614
   
   #   package options
   %option       with_cxx       yes
  @@ -141,9 +141,9 @@
       l_libcxxflags="-g"
   %if "%{with_binutils}" == "yes"
       #   at least GNU as from GNU binutils supports -pipe always
  -    l_boot_cflags="$l_boot_cflags -pipe"
  -    l_libcflags="$l_libcflags -pipe"
  -    l_libcxxflags="$l_libcxxflags -pipe"
  +    l_boot_cflags="$l_boot_cflags"
  +    l_libcflags="$l_libcflags"
  +    l_libcxxflags="$l_libcxxflags"
   %endif
   %if "%{with_optimize}" == "yes"
       #   conservatively optimize the generated program code
  @@ -154,8 +154,8 @@
           *x86-*     ) l_boot_cflags="$l_boot_cflags -mcpu=pentium3" ;;
           *sparc64-* ) l_boot_cflags="$l_boot_cflags -mtune=v9"      ;;
       esac
  -    l_libcflags="$l_libcflags -O2"
  -    l_libcxxflags="$l_libcxxflags -O2 -fno-implicit-templates"
  +    l_libcflags="$l_libcflags -O"
  +    l_libcxxflags="$l_libcxxflags -O -fno-implicit-templates"
   %else
       #   else do no optimizations at all to reduce problems to minimum in advance
       l_boot_cflags="$l_boot_cflags -O0"
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-web/news.txt
  ============================================================================
  $ cvs diff -u -r1.4874 -r1.4875 news.txt
  --- openpkg-web/news.txt      14 Jun 2003 15:03:32 -0000      1.4874
  +++ openpkg-web/news.txt      14 Jun 2003 18:47:45 -0000      1.4875
  @@ -1,3 +1,4 @@
  +14-Jun-2003: Upgraded package: P<gcc-3.3-20030614>
   14-Jun-2003: Upgraded package: P<strace-4.4.98-20030614>
   14-Jun-2003: Upgraded package: P<sitecopy-0.13.0-20030614>
   14-Jun-2003: Upgraded package: P<rdist-7.0.0a10-20030614>
  @@ .
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
CVS Repository Commit List                     [EMAIL PROTECTED]

Reply via email to