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 openpkg-web          Date:   12-Jan-2003 13:37:15
  Branch: HEAD                             Handle: 2003011212371301

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

  Log:
    port to FreeBSD 5.0

  Summary:
    Revision    Changes     Path
    1.1         +12 -0      openpkg-src/diffutils/diffutils.patch
    1.30        +3  -1      openpkg-src/diffutils/diffutils.spec
    1.2670      +1  -0      openpkg-web/news.txt
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/diffutils/diffutils.patch
  ============================================================================
  $ cvs diff -u -r0 -r1.1 diffutils.patch
  --- /dev/null 2003-01-12 13:37:15.000000000 +0100
  +++ diffutils.patch   2003-01-12 13:37:15.000000000 +0100
  @@ -0,0 +1,12 @@
  +--- lib/c-stack.c.orig       Sat Jun 22 15:25:12 2002
  ++++ lib/c-stack.c    Sun Jan 12 13:35:17 2003
  +@@ -67,6 +67,9 @@
  + #include <stdlib.h>
  + #include <string.h>
  + 
  ++#if defined(__FreeBSD__)
  ++#include <sys/types.h>
  ++#endif
  + #if HAVE_SYS_RESOURCE_H
  + # include <sys/resource.h>
  + #endif
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-src/diffutils/diffutils.spec
  ============================================================================
  $ cvs diff -u -r1.29 -r1.30 diffutils.spec
  --- openpkg-src/diffutils/diffutils.spec      3 Jan 2003 10:51:41 -0000       1.29
  +++ openpkg-src/diffutils/diffutils.spec      12 Jan 2003 12:37:14 -0000      1.30
  @@ -33,10 +33,11 @@
   Group:        Utility
   License:      GPL
   Version:      2.8.4
  -Release:      20020922
  +Release:      20030112
   
   #   list of sources
   Source0:      ftp://alpha.gnu.org/gnu/diffutils/diffutils-%{version}.tar.gz
  +Patch0:       diffutils.patch
   
   #   build information
   Prefix:       %{l_prefix}
  @@ -51,6 +52,7 @@
   
   %prep
       %setup -q
  +    %patch -p0
   
   %build
       CC="%{l_cc}" \
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-web/news.txt
  ============================================================================
  $ cvs diff -u -r1.2669 -r1.2670 news.txt
  --- openpkg-web/news.txt      12 Jan 2003 12:19:06 -0000      1.2669
  +++ openpkg-web/news.txt      12 Jan 2003 12:37:13 -0000      1.2670
  @@ -1,3 +1,4 @@
  +12-Jan-2003: Upgraded package: P<diffutils-2.8.4-20030112>
   12-Jan-2003: Upgraded package: P<coreutils-4.5.4-20030112>
   12-Jan-2003: Upgraded package: P<uvscan-4.1.6.4242-20030112>
   12-Jan-2003: Upgraded package: P<netpbm-10.11.4-20030112>
  @@ .
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
CVS Repository Commit List                     [EMAIL PROTECTED]

Reply via email to