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:   15-Oct-2005 08:57:14
  Branch: HEAD                             Handle: 2005101507571400

  Modified files:
    openpkg-src/gup         gup.patch gup.spec

  Log:
    fix building under NetBSD

  Summary:
    Revision    Changes     Path
    1.2         +13 -4      openpkg-src/gup/gup.patch
    1.38        +1  -1      openpkg-src/gup/gup.spec
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/gup/gup.patch
  ============================================================================
  $ cvs diff -u -r1.1 -r1.2 gup.patch
  --- openpkg-src/gup/gup.patch 15 Mar 2002 20:12:23 -0000      1.1
  +++ openpkg-src/gup/gup.patch 15 Oct 2005 06:57:14 -0000      1.2
  @@ -1,6 +1,15 @@
  ---- gup.h.orig       Sat Nov 24 20:23:54 2001
  -+++ gup.h    Sat Nov 24 20:23:44 2001
  -@@ -13,6 +13,7 @@
  +Index: gup.h
  +--- gup.h.orig       2002-12-29 19:25:36 +0100
  ++++ gup.h    2005-10-15 08:56:19 +0200
  +@@ -3,6 +3,7 @@
  + #else
  + #define _XOPEN_SOURCE
  + #define _BSD_SOURCE
  ++#define _NETBSD_SOURCE
  + #endif
  + 
  + #include <stdlib.h>
  +@@ -13,6 +14,7 @@
    #include <ctype.h>          /* isspace */
    #include <errno.h>          /* Needed for errno */
    #include <stdarg.h>
  @@ -8,7 +17,7 @@
    
    #include <sys/file.h>
    #include <sys/stat.h>               /* umask */
  -@@ -31,7 +32,7 @@
  +@@ -35,7 +37,7 @@
    #define     MAX_LINE_SIZE           512
    #define     MODEST_SIZE             128
    
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-src/gup/gup.spec
  ============================================================================
  $ cvs diff -u -r1.37 -r1.38 gup.spec
  --- openpkg-src/gup/gup.spec  24 Mar 2005 11:19:00 -0000      1.37
  +++ openpkg-src/gup/gup.spec  15 Oct 2005 06:57:14 -0000      1.38
  @@ -33,7 +33,7 @@
   Group:        Converter
   License:      Public Domain
   Version:      0.5.11
  -Release:      20050128
  +Release:      20051015
   
   #   list of sources
   Source0:      
ftp://ftp.debian.org/debian/pool/main/g/gup/gup_%{version}.tar.gz
  @@ .
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
CVS Repository Commit List                     [email protected]

Reply via email to