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:   24-Feb-2007 09:44:00
  Branch: HEAD                             Handle: 2007022408440000

  Modified files:
    openpkg-src/php         php.spec

  Log:
    GCC 4.1 under Solaris 10 with optimization turned on incorrectly
    builds PHP (it segfaults in at least 'phpinfo(INFO_MODULES);'), so
    disable optimizations there at all

  Summary:
    Revision    Changes     Path
    1.145       +5  -2      openpkg-src/php/php.spec
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/php/php.spec
  ============================================================================
  $ cvs diff -u -r1.144 -r1.145 php.spec
  --- openpkg-src/php/php.spec  23 Feb 2007 14:37:58 -0000      1.144
  +++ openpkg-src/php/php.spec  24 Feb 2007 08:44:00 -0000      1.145
  @@ -39,7 +39,7 @@
   Group:        Language
   License:      PHP
   Version:      %{V_php}
  -Release:      20070223
  +Release:      20070224
   
   #   package options
   %option       with_suhosin              no
  @@ -291,7 +291,10 @@
   
   %build
       #   configure package
  -    cflags="%{l_cflags -O}"
  +    case "%{l_platform -t}" in
  +        *-sunos5.10 ) cflags="%{l_cflags}"    ;;
  +        *           ) cflags="%{l_cflags -O}" ;;
  +    esac
       cppflags="%{l_cppflags}"
       ldflags="%{l_ldflags}"
       libs=""
  @@ .
______________________________________________________________________
OpenPKG                                             http://openpkg.org
CVS Repository Commit List                     openpkg-cvs@openpkg.org

Reply via email to