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-2006 12:42:46
  Branch: HEAD                             Handle: 2006101511424600

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

  Log:
    provide some fallbacks for u_intX_t types on non-BSD and non-Linux
    platforms. Partly taken over from Michael Schloh's patch set

  Summary:
    Revision    Changes     Path
    1.2         +27 -1      openpkg-src/libevent/libevent.patch
    1.33        +1  -1      openpkg-src/libevent/libevent.spec
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/libevent/libevent.patch
  ============================================================================
  $ cvs diff -u -r1.1 -r1.2 libevent.patch
  --- openpkg-src/libevent/libevent.patch       9 Oct 2006 08:29:05 -0000       
1.1
  +++ openpkg-src/libevent/libevent.patch       15 Oct 2006 10:42:46 -0000      
1.2
  @@ -1,6 +1,32 @@
  +Index: event.h
  +--- event.h.orig     2005-12-06 04:16:01.000000000 +0100
  ++++ event.h  2006-10-15 12:40:36.125816239 +0200
  +@@ -76,6 +76,22 @@
  + }
  + #endif /* !RB_ENTRY */
  + 
  ++/* provide fallbacks for unportable use of u_int*_t declarations */
  ++#if !defined(__FreeBSD__) && !defined(__linux__)
  ++#ifndef u_int64_t
  ++#define u_int64_t unsigned long long
  ++#endif
  ++#ifndef u_int32_t
  ++#define u_int32_t unsigned int
  ++#endif
  ++#ifndef u_int16_t
  ++#define u_int16_t unsigned short
  ++#endif
  ++#ifndef u_int6_t
  ++#define u_int8_t unsigned char
  ++#endif
  ++#endif
  ++
  + struct event_base;
  + struct event {
  +     TAILQ_ENTRY (event) ev_next;
   Index: event_tagging.c
   --- event_tagging.c.orig     2005-09-09 09:03:32.000000000 +0200
  -+++ event_tagging.c  2006-10-09 10:25:08.161143399 +0200
  ++++ event_tagging.c  2006-10-15 12:39:09.171109180 +0200
   @@ -39,7 +39,7 @@
    #include <sys/time.h>
    #endif
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-src/libevent/libevent.spec
  ============================================================================
  $ cvs diff -u -r1.32 -r1.33 libevent.spec
  --- openpkg-src/libevent/libevent.spec        13 Oct 2006 17:29:23 -0000      
1.32
  +++ openpkg-src/libevent/libevent.spec        15 Oct 2006 10:42:46 -0000      
1.33
  @@ -33,7 +33,7 @@
   Group:        Network
   License:      BSD
   Version:      1.2
  -Release:      20061013
  +Release:      20061015
   
   #   list of sources
   Source0:      http://monkey.org/~provos/libevent-%{version}.tar.gz
  @@ .
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
CVS Repository Commit List                     [email protected]

Reply via email to