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-Sep-2006 08:15:54
  Branch: HEAD                             Handle: 2006091507155400

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

  Log:
    upgrading package: dbus 0.92 -> 0.93

  Summary:
    Revision    Changes     Path
    1.1         +20 -0      openpkg-src/dbus/dbus.patch
    1.8         +7  -5      openpkg-src/dbus/dbus.spec
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/dbus/dbus.patch
  ============================================================================
  $ cvs diff -u -r0 -r1.1 dbus.patch
  --- /dev/null 2006-09-15 08:15:42 +0200
  +++ dbus.patch        2006-09-15 08:15:54 +0200
  @@ -0,0 +1,20 @@
  +Index: dbus/dbus-sysdeps-util-unix.c
  +--- dbus/dbus-sysdeps-util-unix.c.orig       2006-09-14 07:41:41 +0200
  ++++ dbus/dbus-sysdeps-util-unix.c    2006-09-15 08:08:48 +0200
  +@@ -30,6 +30,7 @@
  + #include "dbus-test.h"
  + 
  + #include <sys/types.h>
  ++#include <sys/param.h>
  + #include <stdlib.h>
  + #include <string.h>
  + #include <signal.h>
  +@@ -514,6 +515,8 @@
  + #   else
  + #       if defined(NAME_MAX)
  +      name_max = NAME_MAX;
  ++#       elif defined(MAXPATHLEN)
  ++     name_max = MAXPATHLEN;
  + #       else
  + #           error "buffer size for readdir_r cannot be determined"
  + #       endif
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-src/dbus/dbus.spec
  ============================================================================
  $ cvs diff -u -r1.7 -r1.8 dbus.spec
  --- openpkg-src/dbus/dbus.spec        20 Aug 2006 16:21:23 -0000      1.7
  +++ openpkg-src/dbus/dbus.spec        15 Sep 2006 06:15:54 -0000      1.8
  @@ -35,16 +35,17 @@
   Class:        EVAL
   Group:        System
   License:      AFL/GPL
  -Version:      0.92
  -Release:      20060820
  +Version:      0.93
  +Release:      20060915
   
   #   list of sources
   Source0:      http://dbus.freedesktop.org/releases/dbus-%{version}.tar.gz
  +Patch0:       dbus.patch
   
   #   build information
   Prefix:       %{l_prefix}
   BuildRoot:    %{l_buildroot}
  -BuildPreReq:  OpenPKG, openpkg >= 20040130, pkgconfig
  +BuildPreReq:  OpenPKG, openpkg >= 20040130, pkgconfig, gcc
   PreReq:       OpenPKG, openpkg >= 20040130
   BuildPreReq:  libxml
   PreReq:       libxml
  @@ -68,15 +69,16 @@
   
   %prep
       %setup -q
  +    %patch -p0
       %{l_shtool} subst \
           -e 's;#! /bin/bash;#!%{l_bash};' \
           tools/run-with-tmp-session-bus.sh
   
   %build
       CC="%{l_cc}" \
  -    CFLAGS="%{l_cflags -O}" \
  +    CFLAGS="%{l_cflags -O} -pthread" \
       CPPFLAGS="%{l_cppflags}" \
  -    LDFLAGS="%{l_ldflags}" \
  +    LDFLAGS="%{l_ldflags} -pthread" \
       ./configure \
           --prefix=%{l_prefix} \
           --localstatedir=%{l_prefix}/var/dbus \
  @@ .
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
CVS Repository Commit List                     [email protected]

Reply via email to