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

  Server: cvs.openpkg.org                  Name:   Michael Schloh
  Root:   /v/openpkg/cvs                   Email:  [EMAIL PROTECTED]
  Module: openpkg-src                      Date:   30-Mar-2005 17:49:00
  Branch: HEAD                             Handle: 2005033016490000

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

  Log:
    apply same fix as today's libpixman for FreeBSD, which does't
    unconditionally provide stdint.h

  Summary:
    Revision    Changes     Path
    1.2         +41 -0      openpkg-src/cairo/cairo.patch
    1.5         +1  -1      openpkg-src/cairo/cairo.spec
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/cairo/cairo.patch
  ============================================================================
  $ cvs diff -u -r1.1 -r1.2 cairo.patch
  --- openpkg-src/cairo/cairo.patch     4 Feb 2005 20:52:16 -0000       1.1
  +++ openpkg-src/cairo/cairo.patch     30 Mar 2005 15:49:00 -0000      1.2
  @@ -143,3 +143,44 @@
    #endif /* CAIRO_HAS_XLIB_SURFACE */
    #endif /* CAIRO_XLIB_H */
    
  +Index: src/cairoint.h
  +--- src/cairoint.h.orig      2005-03-04 18:57:54 +0100
  ++++ src/cairoint.h   2005-03-30 17:39:07 +0200
  +@@ -54,7 +54,16 @@
  + #include <string.h>
  + #include <math.h>
  + #include <limits.h>
  +-#include <stdint.h>
  ++
  ++#if defined (__SVR4) && defined (__sun)
  ++# include <sys/int_types.h>
  ++#else
  ++# if defined (__OpenBSD__) || defined (__FreeBSD__)
  ++#  include <inttypes.h>
  ++# else 
  ++#  include <stdint.h>
  ++# endif
  ++#endif
  + 
  + #include "cairo.h"
  + 
  +Index: src/cairo-wideint.h
  +--- src/cairo-wideint.h.orig 2005-02-22 20:24:50 +0100
  ++++ src/cairo-wideint.h      2005-03-30 17:42:19 +0200
  +@@ -38,7 +38,15 @@
  + #ifndef CAIRO_WIDEINT_H
  + #define CAIRO_WIDEINT_H
  + 
  +-#include <stdint.h>
  ++#if defined (__SVR4) && defined (__sun)
  ++# include <sys/int_types.h>
  ++#else
  ++# if defined (__OpenBSD__) || defined (__FreeBSD__)
  ++#  include <inttypes.h>
  ++# else 
  ++#  include <stdint.h>
  ++# endif
  ++#endif
  + 
  + /*
  +  * 64-bit datatypes.  Two separate implementations, one using
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-src/cairo/cairo.spec
  ============================================================================
  $ cvs diff -u -r1.4 -r1.5 cairo.spec
  --- openpkg-src/cairo/cairo.spec      24 Mar 2005 11:18:31 -0000      1.4
  +++ openpkg-src/cairo/cairo.spec      30 Mar 2005 15:49:00 -0000      1.5
  @@ -33,7 +33,7 @@
   Group:        XWindow
   License:      MIT-style
   Version:      0.4.0
  -Release:      20050309
  +Release:      20050330
   
   #   package options
   %option       with_pdf   yes
  @@ .
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
CVS Repository Commit List                     [email protected]

Reply via email to