OpenPKG CVS Repository
  http://cvs.openpkg.org/
  ____________________________________________________________________________

  Server: cvs.openpkg.org                  Name:   Torsten Homeyer
  Root:   /v/openpkg/cvs                   Email:  [EMAIL PROTECTED]
  Module: openpkg-src                      Date:   16-Nov-2006 11:27:19
  Branch: HEAD                             Handle: 2006111610271900

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

  Log:
    braindead configure script checks for gcc by calling basename  and
    therefore fails to build at least under SunOS9

  Summary:
    Revision    Changes     Path
    1.3         +12 -0      openpkg-src/top/top.patch
    1.25        +5  -3      openpkg-src/top/top.spec
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/top/top.patch
  ============================================================================
  $ cvs diff -u -r0 -r1.3 top.patch
  --- /dev/null 2006-11-16 11:27:10 +0100
  +++ top.patch 2006-11-16 11:27:19 +0100
  @@ -0,0 +1,12 @@
  +Index: configure
  +--- configure.orig   2006-02-15 23:26:59.000000000 +0100
  ++++ configure        2006-11-16 11:09:36.371224000 +0100
  +@@ -3871,7 +3871,7 @@
  + if test "$bits" = "64"; then
  +     echo "$as_me:$LINENO: result: 64 bit" >&5
  + echo "${ECHO_T}64 bit" >&6
  +-    if test `basename $CC` = "gcc"; then
  ++    if test "$GCC" = "yes"; then
  +         extra_flag="-m64"
  +     fi
  +     echo "$as_me:$LINENO: checking whether $CC accepts $extra_flag" >&5
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-src/top/top.spec
  ============================================================================
  $ cvs diff -u -r1.24 -r1.25 top.spec
  --- openpkg-src/top/top.spec  13 Oct 2006 17:34:54 -0000      1.24
  +++ openpkg-src/top/top.spec  16 Nov 2006 10:27:19 -0000      1.25
  @@ -31,16 +31,17 @@
   Summary:      Full-Screen Process Display
   URL:          http://www.spang.uk.eu.org/top/
   Vendor:       William LeFebvre
  -Packager:     OpenPKG Foundation e.V.
  -Distribution: OpenPKG Community
  +Packager:     OpenPKG
  +Distribution: OpenPKG
   Class:        EVAL
   Group:        Monitoring
   License:      Freely Redistributable
   Version:      %{V_opkg}
  -Release:      20061013
  +Release:      20061116
   
   #   list of sources
   Source0:      ftp://ftp.groupsys.com/pub/top/top-%{V_dist}.tar.gz
  +Patch0:       top.patch
   
   #   build information
   Prefix:       %{l_prefix}
  @@ -63,6 +64,7 @@
   
   %prep
       %setup -q -n top-%{V_dist}
  +    %patch -p0
   
   %build
       #   configure program
  @@ .
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
CVS Repository Commit List                     [email protected]

Reply via email to