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:   09-Jan-2003 15:02:58
  Branch: HEAD                             Handle: 2003010914025601

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

  Log:
    port to FreeBSD 5.0

  Summary:
    Revision    Changes     Path
    1.1         +51 -0      openpkg-src/make/make.patch
    1.25        +3  -1      openpkg-src/make/make.spec
    1.2623      +1  -0      openpkg-web/news.txt
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/make/make.patch
  ============================================================================
  $ cvs diff -u -r0 -r1.1 make.patch
  --- /dev/null 2003-01-09 15:02:58.000000000 +0100
  +++ make.patch        2003-01-09 15:02:58.000000000 +0100
  @@ -0,0 +1,51 @@
  +--- glob/glob.c.orig Wed Sep 25 03:11:43 2002
  ++++ glob/glob.c      Wed Sep 25 03:15:32 2002
  +@@ -215,13 +215,13 @@
  + #  ifdef HAVE_ALLOCA_H
  + #   include <alloca.h>
  + #  else     /* Not HAVE_ALLOCA_H.  */
  +-#   ifndef _AIX
  ++#   if !defined (_AIX) && !defined (__FreeBSD__)
  + #    ifdef WINDOWS32
  + #     include <malloc.h>
  + #    else
  + extern char *alloca ();
  + #    endif /* WINDOWS32 */
  +-#   endif /* Not _AIX.  */
  ++#   endif /* Not _AIX && not __FreeBSD__.  */
  + #  endif /* sparc or HAVE_ALLOCA_H.  */
  + # endif     /* GCC.  */
  + 
  +
  +--- glob/glob.h.orig Sat Jan 22 00:43:03 2000
  ++++ glob/glob.h      Fri Aug 23 02:37:03 2002
  +@@ -47,6 +47,9 @@
  + 
  + /* We need `size_t' for the following definitions.  */
  + #ifndef __size_t
  ++#if defined __FreeBSD__
  ++#define __size_t size_t
  ++#else
  + # if defined __GNUC__ && __GNUC__ >= 2
  + typedef __SIZE_TYPE__ __size_t;
  + # else
  +@@ -59,6 +62,7 @@
  +  */
  + #if !(defined __DECC && defined __SIZE_T)
  + typedef unsigned long int __size_t;
  ++#endif
  + #endif
  + # endif
  + #else
  +--- make.h.orig      Wed Sep 11 18:55:44 2002
  ++++ make.h   Mon Oct 21 22:05:11 2002
  +@@ -33,7 +33,7 @@
  + #  ifdef _AIX
  +  #pragma alloca
  + #  else
  +-#   ifndef alloca /* predefined by HP cc +Olibcalls */
  ++#   if !defined (alloca) && !defined (__FreeBSD__) /* predefined by HP cc 
+Olibcalls, part of stdlib.h on FreeBSD */
  + char *alloca ();
  + #   endif
  + #  endif
  +
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-src/make/make.spec
  ============================================================================
  $ cvs diff -u -r1.24 -r1.25 make.spec
  --- openpkg-src/make/make.spec        3 Jan 2003 10:53:16 -0000       1.24
  +++ openpkg-src/make/make.spec        9 Jan 2003 14:02:57 -0000       1.25
  @@ -33,10 +33,11 @@
   Group:        Development
   License:      GPL
   Version:      3.80
  -Release:      20021010
  +Release:      20030109
   
   #   list of sources
   Source0:      ftp://ftp.gnu.org/gnu/make/make-%{version}.tar.gz
  +Patch0:       make.patch
   
   #   build information
   Prefix:       %{l_prefix}
  @@ -53,6 +54,7 @@
   
   %prep
       %setup -q
  +    %patch -p0
   
   %build
       CC="%{l_cc}" \
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-web/news.txt
  ============================================================================
  $ cvs diff -u -r1.2622 -r1.2623 news.txt
  --- openpkg-web/news.txt      9 Jan 2003 13:38:23 -0000       1.2622
  +++ openpkg-web/news.txt      9 Jan 2003 14:02:56 -0000       1.2623
  @@ -1,3 +1,4 @@
  +09-Jan-2003: Upgraded package: P<make-3.80-20030109>
   09-Jan-2003: Upgraded package: P<openpkg-20030109-20030109>
   09-Jan-2003: Upgraded package: P<perl-gd-20030109-20030109>
   09-Jan-2003: New package: P<tcpreplay-1.3.2-20030109>
  @@ .
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
CVS Repository Commit List                     [EMAIL PROTECTED]

Reply via email to