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:   26-Sep-2005 15:26:33
  Branch: HEAD                             Handle: 2005092614263200

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

  Log:
    port to FreeBSD 4 and disable also pthread parts

  Summary:
    Revision    Changes     Path
    1.8         +27 -0      openpkg-src/cairo/cairo.patch
    1.15        +6  -1      openpkg-src/cairo/cairo.spec
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/cairo/cairo.patch
  ============================================================================
  $ cvs diff -u -r0 -r1.8 cairo.patch
  --- /dev/null 2005-09-26 15:26:02 +0200
  +++ cairo.patch       2005-09-26 15:26:33 +0200
  @@ -0,0 +1,27 @@
  +Index: pixman/src/pixman.h
  +--- pixman/src/pixman.h.orig 2005-08-10 21:36:51 +0200
  ++++ pixman/src/pixman.h      2005-09-26 15:07:00 +0200
  +@@ -81,13 +81,21 @@
  +  */
  + 
  + 
  ++#include "config.h"
  ++
  + #if defined (__SVR4) && defined (__sun)
  + # include <sys/int_types.h>
  + #else
  + # if defined (__OpenBSD__) || defined (_AIX)
  + #  include <inttypes.h>
  +-# else 
  +-#  include <stdint.h>
  ++# else
  ++#  if   HAVE_STDINT_H
  ++#   include <stdint.h>
  ++#  elif HAVE_INTTYPES_H
  ++#   include <inttypes.h>
  ++#  elif HAVE_SYS_INT_TYPES_H
  ++#   include <sys/int_types.h>
  ++#  endif
  + # endif
  + #endif
  + 
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-src/cairo/cairo.spec
  ============================================================================
  $ cvs diff -u -r1.14 -r1.15 cairo.spec
  --- openpkg-src/cairo/cairo.spec      3 Sep 2005 09:15:25 -0000       1.14
  +++ openpkg-src/cairo/cairo.spec      26 Sep 2005 13:26:32 -0000      1.15
  @@ -33,7 +33,7 @@
   Group:        XWindow
   License:      MIT-style
   Version:      1.0.0
  -Release:      20050903
  +Release:      20050926
   
   #   package options
   %option       with_pdf   yes
  @@ -43,6 +43,7 @@
   
   #   list of sources
   Source0:      http://cairographics.org/releases/cairo-%{version}.tar.gz
  +Patch0:       cairo.patch
   
   #   build information
   Prefix:       %{l_prefix}
  @@ -87,8 +88,11 @@
   
   %prep
       %setup -q
  +    %patch -p0
   
   %build
  +    ( echo "ac_cv_header_pthread_h=no"
  +    ) >config.cache
       %{l_shtool} subst \
           -e 's;libpng12;libpng;g' \
           configure
  @@ -106,6 +110,7 @@
   %endif
       export PKG_CONFIG="%{l_prefix}/bin/pkg-config"
       ./configure \
  +        --cache-file=./config.cache \
           --prefix=%{l_prefix} \
   %if "%{with_png}" == "yes"
           --enable-png \
  @@ .
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
CVS Repository Commit List                     [email protected]

Reply via email to