RPM Community Forums

Mailing List Message of <rpm-cvs>

[CVS] RPM: xar/lib/ archive.c

From: Anders F. Björklund <afb@rpm5.org>
Date: Sun 11 Nov 2007 - 11:02:47 CET
Message-Id: <20071111100247.7BD8934845A@rpm5.org>
  RPM Package Manager, CVS Repository
  http://rpm5.org/cvs/
  ____________________________________________________________________________

  Server: rpm5.org                         Name:   Anders F. Björklund
  Root:   /v/rpm/cvs                       Email:  afb@rpm5.org
  Module: xar                              Date:   11-Nov-2007 11:02:47
  Branch: HEAD                             Handle: 2007111110024700

  Modified files:
    xar/lib                 archive.c

  Log:
    make xar build with the older libxml2-2.6.16 too, for %macosx

  Summary:
    Revision    Changes     Path
    1.9         +4  -0      xar/lib/archive.c
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: xar/lib/archive.c
  ============================================================================
  $ cvs diff -u -r1.8 -r1.9 archive.c
  --- xar/lib/archive.c	11 Nov 2007 03:30:45 -0000	1.8
  +++ xar/lib/archive.c	11 Nov 2007 10:02:47 -0000	1.9
  @@ -79,6 +79,10 @@
   #define LONG_MIN INT32_MIN
   #endif
   
  +#if LIBXML_VERSION < 20618
  +#define xmlDictCleanup()	/* function doesn't exist in older API */
  +#endif
  +
   static int32_t xar_unserialize(xar_t x);
   void xar_serialize(xar_t x, const char *file);
   
  @@ .
Received on Sun Nov 11 11:02:47 2007
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.