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

  Server: cvs.openpkg.org                  Name:   Ralf S. Engelschall
  Root:   /e/openpkg/cvs                   Email:  [EMAIL PROTECTED]
  Module: openpkg-src                      Date:   26-Feb-2004 10:25:18
  Branch: HEAD                             Handle: 2004022609251800

  Modified files:
    openpkg-src/tcpreplay   tcpreplay.spec

  Log:
    upgrading package: tcpreplay 1.4.6 -> 2.0.2

  Summary:
    Revision    Changes     Path
    1.19        +10 -7      openpkg-src/tcpreplay/tcpreplay.spec
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/tcpreplay/tcpreplay.spec
  ============================================================================
  $ cvs diff -u -r1.18 -r1.19 tcpreplay.spec
  --- openpkg-src/tcpreplay/tcpreplay.spec      13 Feb 2004 10:28:08 -0000      1.18
  +++ openpkg-src/tcpreplay/tcpreplay.spec      26 Feb 2004 09:25:18 -0000      1.19
  @@ -33,8 +33,8 @@
   Class:        EVAL
   Group:        Network
   License:      BSD-style
  -Version:      1.4.6
  -Release:      20040207
  +Version:      2.0.2
  +Release:      20040226
   
   #   list of sources
   Source0:      
http://osdn.dl.sourceforge.net/sourceforge/tcpreplay/tcpreplay-%{version}.tar.gz
  @@ -55,7 +55,6 @@
   
   %track
       prog tcpreplay = {
  -        comment   = "rse: 1.4.6-2.0.1: FreeBSD: collect2: ld terminated with signal 
11"
           version   = %{version}
           url       = http://prdownloads.sourceforge.net/tcpreplay/
           regex     = tcpreplay-(\d+\.\d+\.\d+)\.tar\.gz
  @@ -65,10 +64,14 @@
       %setup -q
   
   %build
  -    CC="%{l_cc}" \
  -    CFLAGS="%{l_cflags -O}" \
  -    CPPFLAGS="%{l_cppflags}" \
  -    LDFLAGS="%{l_ldflags}" \
  +    export CC="%{l_cc}"
  +    #   FIXME: evil hack to workaround ld(1) segfaults
  +    case "%{l_platform -t}" in
  +        *-freebsd4* ) CC="/usr/bin/gcc" ;;
  +    esac
  +    export CFLAGS="%{l_cflags}"
  +    export CPPFLAGS="%{l_cppflags}"
  +    export LDFLAGS="%{l_ldflags}"
       ./configure \
           --prefix=%{l_prefix} \
           --with-libnet=%{l_prefix}
  @@ .
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
CVS Repository Commit List                     [EMAIL PROTECTED]

Reply via email to