Update of /cvsroot/fink/experimental/rangerrick/finkinfo/libs
In directory usw-pr-cvs1:/tmp/cvs-serv32041/finkinfo/libs

Added Files:
        gdchart-0.11.2-1.info gdchart-0.11.2-1.patch 
        korelib1-1.0-1.info libcapsinetwork-0.1.1-1.info 
        libcapsinetwork-0.1.1-1.patch libmath++-0.0.3-1.info 
        libmath++-0.0.3-1.patch libxslt-1.0.19-1.info 
        libxslt-1.0.19-1.patch 
Log Message:
just doing some rearranging -- there, you happy, Clef? =)

--- NEW FILE: gdchart-0.11.2-1.info ---
Package: gdchart
Version: 0.11.2
Revision: 1
BuildDepends: gd, freetype2, libjpeg
Depends: %N-shlibs (= %v-%r)
Source: http://www.fred.net/brv/chart/%n%vdev.tar.gz
PatchScript: sed 's|@PREFIX@|%p|g' < %a/%f.patch | patch -p1
CompileScript: make
InstallScript: <<
 make install DESTDIR=%d
 ranlib %i/lib/*.a
<<
SplitOff: <<
  Description: shared libraries for gdchart
  Package: %N-shlibs
  Depends: gd-shlibs
  BuildDependsOnly: true
  Files: lib/libgdc.0*.dylib
<<
DocFiles: README
Description: charting library
DescUsage: <<
gdchart is a library for creating charts and graphs programmatically.
<<
License: Restrictive
Maintainer: Benjamin Reed <[EMAIL PROTECTED]>
Homepage: http://www.fred.net/brv/chart/

--- NEW FILE: gdchart-0.11.2-1.patch ---
diff -uNbr gdchart0.11.2dev/makefile gdchart0.11.2dev-new/makefile
--- gdchart0.11.2dev/makefile   Thu Apr  4 19:59:36 2002
+++ gdchart0.11.2dev-new/makefile       Thu Aug  8 14:42:45 2002
@@ -1,7 +1,7 @@
-CC=gcc
+CC=cc
 # gcc 2.7.1 or better is required
 # CFLAGS=
-# CFLAGS=-g -ansi -pedantic
+CFLAGS=-fno-common -fPIC
 
 # ----- build path -----
 GDC_INCL=./
@@ -9,17 +9,17 @@
 GDC_LIB=libgdc.a
 
 # ----- install locations -----
-PREFIX_INC = /usr/local/include
-PREFIX_LIB = /usr/local/lib
+PREFIX_INC = @PREFIX@/include
+PREFIX_LIB = @PREFIX@/lib
 
-# INCLUDEDIRS=-I. -I/usr/include/freetype2 -I/usr/include/X11 
-I/usr/X11R6/include/X11 -I/usr/local/include 
+# INCLUDEDIRS=-I. -I/usr/include/freetype2 -I/usr/include/X11 
+-I/usr/X11R6/include/X11 -I@PREFIX@/include 
 
 # ----- lib gd -----
 # GDChart requires the gd library - www.boutell.com/gd/
 # libgd 1.8.4 or better is required.  Don't use 2.0.0
 # if it's not installed in a standard location edit these lines for your installation
-GD_INCL=../gd-1.8.4/
-GD_LD=../gd-1.8.4/
+GD_INCL=@PREFIX@/include/
+GD_LD=@PREFIX@/lib/
 GD_LIB=libgd.a
 # if you're using gd2.x, use these lines
 # (it's typically built as a shared lib)
@@ -47,7 +47,7 @@
 JPEG_LK   = -ljpeg
 
 # libgd optionally uses libfreetype to use TTFs
-# FT_LD  = /usr/local/lib
+# FT_LD  = @PREFIX@/lib
 FT_DEF    = -DHAVE_LIBFREETYPE
 FT_LK     = -lfreetype
 
@@ -66,7 +66,7 @@
 # LIB_PATHS = $(LIB_PATHS) -Xlinker -rpath -Xlinker $(PNG_LD) -Xlinker -rpath 
-Xlinker $(ZLIB_LD)
 
 
-all: libgdc.a gdc_samp1 gdc_samp2 gdc_pie_samp ft_samp
+all: libgdc.a
 
 # --- compile the samples ---
 gdc_pie_samp.o: $(GDC_INCL)gdc.h $(GDC_INCL)gdcpie.h gdc_pie_samp.c
@@ -82,27 +82,27 @@
        $(CC) $(CFLAGS) -I$(GDC_INCL) $(DEFS) -c ft_samp.c
 
 # --- link the samples ---
-gdc_samp1: $(GDC_LD)libgdc.a gdc_samp1.o $(GD_LD)/$(GD_LIB) $(GDC_LD)/$(GDC_LIB)
+gdc_samp1: $(GDC_LD)libgdc.a gdc_samp1.o $(GDC_LD)/$(GDC_LIB) $(GD_LD)/$(GD_LIB)
        $(CC) -o gdc_samp1 \
                         gdc_samp1.o \
                         $(LIB_PATHS) \
                         -lgdc -lgd -lz -lpng $(LIBS) -lm
 
-gdc_samp2: $(GDC_LD)libgdc.a gdc_samp2.o $(GD_LD)/$(GD_LIB) $(GDC_LD)/$(GDC_LIB)
+gdc_samp2: $(GDC_LD)libgdc.a gdc_samp2.o $(GDC_LD)/$(GDC_LIB) $(GD_LD)/$(GD_LIB)
        $(CC) -o gdc_samp2 \
                         gdc.o gdchart.o price_conv.o gifencode.o \
                         gdc_samp2.o \
                         $(LIB_PATHS) \
                         -lgdc -lgd -lz -lpng $(LIBS) -lm
 
-gdc_pie_samp: $(GDC_LD)libgdc.a gdc_pie_samp.o $(GD_LD)/$(GD_LIB) $(GDC_LD)/$(GDC_LIB)
+gdc_pie_samp: $(GDC_LD)libgdc.a gdc_pie_samp.o $(GDC_LD)/$(GDC_LIB) $(GD_LD)/$(GD_LIB)
        $(CC) -o gdc_pie_samp \
                         gdc.o gdc_pie.o price_conv.o gifencode.o \
                         gdc_pie_samp.o \
                         $(LIB_PATHS) \
                         -lgdc -lgd -lz -lpng $(LIBS) -lm
 
-ft_samp: $(GDC_LD)libgdc.a ft_samp.o $(GD_LD)/$(GD_LIB) $(GDC_LD)/$(GDC_LIB)
+ft_samp: $(GDC_LD)libgdc.a ft_samp.o $(GDC_LD)/$(GDC_LIB) $(GD_LD)/$(GD_LIB)
        $(CC) -o ft_samp \
                         gdc.o gdchart.o price_conv.o gifencode.o \
                         ft_samp.o \
@@ -133,6 +133,10 @@
 libgdc.a: gifencode.o price_conv.o gdc.o gdc_pie.o gdchart.o array_alloc.o
        ar cr libgdc.a gdc.o gdchart.o gdc_pie.o price_conv.o gifencode.o array_alloc.o
        ranlib libgdc.a
+       c++ -dynamiclib -install_name $(PREFIX_LIB)/libgdc.0.11.dylib -current_version 
+0.11.2 -compatibility_version 0.11 -o libgdc.0.11.2.dylib libgdc.a -L$(GD_LD) -lgd
+       ln -s libgdc.0.11.2.dylib libgdc.0.11.dylib
+       ln -s libgdc.0.11.2.dylib libgdc.0.dylib
+       ln -s libgdc.0.11.2.dylib libgdc.dylib
 
 # --- supporting libraries ---
 # should be compile & installed separately
@@ -141,8 +145,11 @@
 
 # ----- install -----
 install: gdc.h gdchart.h gdcpie.h gifencode.h libgdc.a
-       cp gdc.h  gdchart.h  gdcpie.h  gifencode.h $(PREFIX_INC)/
-       cp libgdc.a $(PREFIX_LIB)/
+       install -d -m 755 $(DESTDIR)$(PREFIX_INC)/
+       install -d -m 755 $(DESTDIR)$(PREFIX_LIB)/
+       install -m 644 gdc.h  gdchart.h  gdcpie.h  gifencode.h $(DESTDIR)$(PREFIX_INC)/
+       install -m 644 libgdc.a $(DESTDIR)$(PREFIX_LIB)/
+       cp libgdc.*dylib $(DESTDIR)$(PREFIX_LIB)/; chmod 644 
+$(DESTDIR)$(PREFIX_LIB)/libgdc*
 
 # --- clean ---
 clean:

--- NEW FILE: korelib1-1.0-1.info ---
Package: korelib1
Version: 1.0
Revision: 1
Source: ftp://ftp.rygannon.com/pub/Korelib/korelib-%v.tar.gz
Depends: %N-shlibs (= %v-%r)
BuildDepends: dlcompat, autoconf25, automake
SetCPPFLAGS: -I/sw/include
SetCFLAGS: -O2 -Ddlsym=dlsym_auto_underscore
CompileScript: <<
  aclocal
  automake -a -c -f
  autoconf -f
  sh ./configure %c
  make LIBDL=-ldl
<<
InstallScript: <<
 make install DESTDIR=%d
 ranlib %i/lib/*.a
 mv %i/bin/demo %i/bin/kore-demo
<<
SplitOff: <<
  Description: korelib shared libraries
  Package: %N-shlibs
  Depends: dlcompat
  BuildDependsOnly: true
  Files: lib/libkore.0*.dylib lib/libkore.la
<<
DocFiles: AUTHORS COPYING ChangeLog INSTALL NEWS README THANKS TODO
Description: cross-platform library for plugin-based platforms
License: GPL
Maintainer: Benjamin Reed <[EMAIL PROTECTED]>
Homepage: http://www.thekompany.com/projects/korelib/

--- NEW FILE: libcapsinetwork-0.1.1-1.info ---
Package: libcapsinetwork
Version: 0.1.1
Revision: 1
Source: mirror:sourceforge:%n/%n-%v.tar.bz2
PatchScript: sed 's|@PREFIX@|%p|g' < %a/%f.patch | patch -p1
InstallScript: <<
 make install DESTDIR=%d
 ranlib %i/lib/*.a
<<
SplitOff: <<
  Description: static libraries and headers for libCapsiNetwork
  Package: %N-dev
  Depends: libcapsinetwork (= %v-%r)    
  BuildDependsOnly: true
  Files: include lib/libcapsinetwork.dylib lib/*.a lib/*.la
<<
DocFiles: AUTHORS COPYING COPYING.LIB ChangeLog INSTALL NEWS README TODO
Description: C++ daemon development library
DescUsage: <<
libCapsiNetwork is a C++ network library to allow fast development
of server daemon processes.
<<
License: GPL/LGPL
Maintainer: Benjamin Reed <[EMAIL PROTECTED]>
Homepage: http://sourceforge.net/projects/libcapsinetwork/

--- NEW FILE: libcapsinetwork-0.1.1-1.patch ---
diff -uNbr libcapsinetwork-0.1.1/Makefile.in libcapsinetwork-0.1.1-patched/Makefile.in
--- libcapsinetwork-0.1.1/Makefile.in   Wed Jul  3 13:42:24 2002
+++ libcapsinetwork-0.1.1-patched/Makefile.in   Fri Jul 12 00:26:41 2002
@@ -89,7 +89,7 @@
 
 lib_LTLIBRARIES = libcapsinetwork.la
 
-libcapsinetwork_la_SOURCES = listener.cc socket.cc
+libcapsinetwork_la_SOURCES = listener.cc socket.cc server.cc
 libcapsinetwork_la_LDFLAGS = -no-undefined -version-info 0:1:0
 
 libcapsinetworkinc_HEADERS = listener.h socket.h
@@ -108,7 +108,7 @@
 LTLIBRARIES = $(lib_LTLIBRARIES)
 
 libcapsinetwork_la_LIBADD =
-am_libcapsinetwork_la_OBJECTS = listener.lo socket.lo
+am_libcapsinetwork_la_OBJECTS = listener.lo socket.lo server.lo
 libcapsinetwork_la_OBJECTS = $(am_libcapsinetwork_la_OBJECTS)
 noinst_PROGRAMS = exampleserver$(EXEEXT)
 PROGRAMS = $(noinst_PROGRAMS)
diff -uNbr libcapsinetwork-0.1.1/configure libcapsinetwork-0.1.1-patched/configure
--- libcapsinetwork-0.1.1/configure     Fri Jul 12 00:13:54 2002
+++ libcapsinetwork-0.1.1-patched/configure     Fri Jul 12 00:20:44 2002
@@ -5559,7 +5559,7 @@
     # FIXME: Relying on posixy $() will cause problems for
     #        cross-compilation, but unfortunately the echo tests do not
     #        yet detect zsh echo's removal of \ escapes.
-    archive_cmds='$CC $(test .$module = .yes && echo -bundle || echo -dynamiclib) 
$allow_undefined_flag -o $lib $libobjs $deplibs$linkopts -install_name $rpath/$soname 
$(test -n "$verstring" -a x$verstring != x0.0 && echo $verstring)'
+    archive_cmds='c++ $(test .$module = .yes && echo -bundle || echo -dynamiclib) 
+$allow_undefined_flag -o $lib $libobjs $deplibs$linkopts -install_name $rpath/$soname 
+$tmp_verstring'
     # We need to add '_' to the symbols in $export_symbols first
     #archive_expsym_cmds="$archive_cmds"' && strip -s $export_symbols'
     hardcode_direct=yes
diff -uNbr libcapsinetwork-0.1.1/listener.cc libcapsinetwork-0.1.1-patched/listener.cc
--- libcapsinetwork-0.1.1/listener.cc   Wed Jul  3 13:36:57 2002
+++ libcapsinetwork-0.1.1-patched/listener.cc   Fri Jul 12 00:12:15 2002
@@ -14,6 +14,7 @@
 // the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
 // Boston, MA 02111-1307, USA.
 
+#include <sys/types.h>
 #include <sys/socket.h>
 #include <netinet/in.h>
 #include <arpa/inet.h>
@@ -94,7 +95,7 @@
        memset(&servaddr, 0, sizeof(servaddr));
 
        servaddr.sin_family = AF_INET;
-       inet_pton(AF_INET, m_ipAddr.c_str(), &servaddr.sin_addr);
+//     inet_pton(AF_INET, m_ipAddr.c_str(), &servaddr.sin_addr);
 //     servaddr.sin_addr.s_addr = htonl(INADDR_ANY); // any host may connect
        servaddr.sin_port = htons(m_port);
 
diff -uNbr libcapsinetwork-0.1.1/ltmain.sh libcapsinetwork-0.1.1-patched/ltmain.sh
--- libcapsinetwork-0.1.1/ltmain.sh     Tue May 29 22:41:38 2001
+++ libcapsinetwork-0.1.1-patched/ltmain.sh     Fri Jul 12 00:24:05 2002
@@ -2858,6 +2858,11 @@
        if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then
          eval cmds=\"$archive_expsym_cmds\"
        else
+          if test "x$verstring" = "x0.0"; then
+            tmp_verstring=
+          else
+            tmp_verstring="$verstring"
+          fi
          eval cmds=\"$archive_cmds\"
        fi
        IFS="${IFS=     }"; save_ifs="$IFS"; IFS='~'
diff -uNbr libcapsinetwork-0.1.1/socket.cc libcapsinetwork-0.1.1-patched/socket.cc
--- libcapsinetwork-0.1.1/socket.cc     Wed Jul  3 13:36:57 2002
+++ libcapsinetwork-0.1.1-patched/socket.cc     Fri Jul 12 00:12:15 2002
@@ -21,6 +21,7 @@
 #include <iostream>
 
 #include "socket.h"
+#define socklen_t int
 
 Socket *s1 = NULL;
 // static Socket *sN = NULL;

--- NEW FILE: libmath++-0.0.3-1.info ---
Package: libmath++
Version: 0.0.3
Revision: 1
Source: ftp://ftp.surakware.net/pub/unstable/releases/%n/%n-%v.tar.gz
PatchScript: sed 's|@PREFIX@|%p|g' < %a/%f.patch | patch -p1
InstallScript: <<
 make install DESTDIR=%d
 ranlib %i/lib/*.a
<<
SplitOff: <<
  Description: libmath++ development headers and libraries.
  Package: %N-dev
  Depends: libmath++ (= %v-%r)    
  BuildDependsOnly: true
  Files: include lib/libmath++.dylib lib/*.a lib/*.la
<<
DocFiles: AUTHORS COPYING ChangeLog INSTALL NEWS README TODO
Description: C++ math library
DescUsage: <<
libmath++ is a template based math library, written in C++, for
symbolic and numeric calculus applications. 
<<
DescPort: <<
gcc 2.95.2 does not have sstream (although gcc3 in the dev tools does...)
<<
License: GPL
Maintainer: Benjamin Reed <[EMAIL PROTECTED]>
Homepage: http://www.surakware.net/projects/libmath%2B%2B/index.xml

--- NEW FILE: libmath++-0.0.3-1.patch ---
diff -uNbr libmath++-0.0.3/examples/Makefile.in 
libmath++-0.0.3-new/examples/Makefile.in
--- libmath++-0.0.3/examples/Makefile.in        2002-07-01 22:46:04.000000000 -0500
+++ libmath++-0.0.3-new/examples/Makefile.in    2002-07-30 09:24:25.000000000 -0500
@@ -92,7 +92,7 @@
 am__quote = @am__quote@
 install_sh = @install_sh@
 
-CXXFLAGS = -pedantic -ansi -Wall -Wno-long-long
+CXXFLAGS = -pedantic -ansi -Wall -Wno-long-long -I$(top_srcdir)/math++
 
 LIBS = ../math++/libmath++.la
 
diff -uNbr libmath++-0.0.3/math++/Makefile.in libmath++-0.0.3-new/math++/Makefile.in
--- libmath++-0.0.3/math++/Makefile.in  2002-07-01 22:46:05.000000000 -0500
+++ libmath++-0.0.3-new/math++/Makefile.in      2002-07-30 09:24:25.000000000 -0500
@@ -92,7 +92,7 @@
 am__quote = @am__quote@
 install_sh = @install_sh@
 
-CXXFLAGS = -pedantic -ansi -Wall -Wno-long-long
+CXXFLAGS = -pedantic -ansi -Wall -Wno-long-long -I$(top_srcdir)/math++
 
 lib_LTLIBRARIES = libmath++.la
 
diff -uNbr libmath++-0.0.3/math++/printer.tcc libmath++-0.0.3-new/math++/printer.tcc
--- libmath++-0.0.3/math++/printer.tcc  2002-05-05 05:48:24.000000000 -0500
+++ libmath++-0.0.3-new/math++/printer.tcc      2002-07-30 09:26:40.000000000 -0500
@@ -24,7 +24,11 @@
 #error You may not include math++/printer.tcc directly; include math++/printer.h 
instead.
 #endif
 
-#include <sstream>
+#if defined(__APPLE__) && __GNUC__ < 3
+# include <sstream.gcc2>
+#else
+# include <sstream>
+#endif
 
 namespace math {
 
diff -uNbr libmath++-0.0.3/math++/reader.tcc libmath++-0.0.3-new/math++/reader.tcc
--- libmath++-0.0.3/math++/reader.tcc   2002-07-01 19:56:12.000000000 -0500
+++ libmath++-0.0.3-new/math++/reader.tcc       2002-07-30 09:26:52.000000000 -0500
@@ -25,7 +25,11 @@
 #endif
 
 #include <memory>
-#include <sstream>
+#if defined(__APPLE__) && __GNUC__ < 3
+# include <sstream.gcc2>
+#else
+# include <sstream>
+#endif
 #include <iostream> // just for debuggin
 
 #include <cstring>
diff -uNbr libmath++-0.0.3/math++/sstream.gcc2 libmath++-0.0.3-new/math++/sstream.gcc2
--- libmath++-0.0.3/math++/sstream.gcc2 1969-12-31 19:00:00.000000000 -0500
+++ libmath++-0.0.3-new/math++/sstream.gcc2     2002-07-30 09:24:25.000000000 -0500
@@ -0,0 +1,225 @@
+/* This is part of libio/iostream, providing -*- C++ -*- input/output.
+Copyright (C) 2000 Free Software Foundation
+
+This file is part of the GNU IO Library.  This library is free
+software; you can redistribute it and/or modify it under the
+terms of the GNU General Public License as published by the
+Free Software Foundation; either version 2, or (at your option)
+any later version.
+
+This library is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this library; see the file COPYING.  If not, write to the Free
+Software Foundation, 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
+
+As a special exception, if you link this library with files
+compiled with a GNU compiler to produce an executable, this does not cause
+the resulting executable to be covered by the GNU General Public License.
+This exception does not however invalidate any other reasons why
+the executable file might be covered by the GNU General Public License. */
+
+/* Written by Magnus Fromreide ([EMAIL PROTECTED]). */
+
+#ifndef __SSTREAM__
+#define __SSTREAM__
+
+#include <string>
+#include <iostream.h>
+#include <streambuf.h>
+
+namespace std
+{
+  class stringbuf : public streambuf
+  {
+  public:
+    typedef char       char_type;
+    typedef int                int_type;
+    typedef streampos  pos_type;
+    typedef streamoff  off_type;
+
+    explicit stringbuf(int which=ios::in|ios::out) :
+      streambuf(which), buf(), mode(static_cast<ios::open_mode>(which)),
+      rpos(0), bufsize(1)
+    { }
+       
+    explicit stringbuf(const std::string &s, int which=ios::in|ios::out) :
+      streambuf(which), buf(s), mode(static_cast<ios::open_mode>(which)),
+      bufsize(1)
+    {
+      if(mode & ios::in)
+       {
+         setg(&defbuf, &defbuf + bufsize, &defbuf + bufsize);
+       }
+      if(mode & ios::out)
+       {
+         setp(&defbuf, &defbuf + bufsize);
+       }
+      rpos = (mode & ios::ate ? s.size() : 0);
+    }
+       
+    std::string str() const
+    {
+      const_cast<stringbuf*>(this)->sync();  // Sigh, really ugly hack
+      return buf;
+    };
+
+    void str(const std::string& s)
+    {
+      buf = s;
+      if(mode & ios::in)
+       {
+         gbump(egptr() - gptr());
+       }
+      if(mode & ios::out)
+       {
+         pbump(pbase() - pptr());
+       }
+      rpos = (mode & ios::ate ? s.size() : 0);
+    }
+
+  protected:
+    inline virtual int sync();
+    inline virtual int overflow(int = EOF);
+    inline virtual int underflow();
+  private:
+    std::string                        buf;
+    ios::open_mode             mode;
+    std::string::size_type     rpos;
+    streamsize                 bufsize;
+    char                       defbuf;
+  };
+
+  class stringstreambase : virtual public ios {
+  protected:
+    stringbuf __my_sb;
+  public:
+    std::string str() const
+    {
+      return dynamic_cast<stringbuf*>(_strbuf)->str();
+    }
+    void str(const std::string& s)
+    {
+      clear();
+      dynamic_cast<stringbuf*>(_strbuf)->str(s);
+    }
+       
+    stringbuf* rdbuf()
+    {
+      return &__my_sb;
+    }
+  protected:
+    stringstreambase(int which) :
+      __my_sb(which)
+    {
+      init (&__my_sb);
+    }
+       
+    stringstreambase(const std::string& s, int which) :
+      __my_sb(s, which)
+    {
+      init (&__my_sb);
+    }
+  };
+    
+  class istringstream : public stringstreambase, public istream {
+  public:
+    istringstream(int which=ios::in) :
+      stringstreambase(which)
+    { }
+       
+    istringstream(const std::string& s, int which=ios::in) :
+      stringstreambase(s, which)
+    { }
+  };
+    
+  class ostringstream : public stringstreambase, public ostream {
+  public:
+    ostringstream(int which=ios::out) :
+      stringstreambase(which)
+    { }
+       
+    ostringstream(const std::string& s, int which=ios::out) :
+      stringstreambase(s, which)
+    { }
+  };
+    
+  class stringstream : public stringstreambase, public iostream {
+  public:
+    stringstream(int which=ios::in|ios::out) :
+      stringstreambase(which)
+    { }
+    
+    stringstream(const std::string &s, int which=ios::in|ios::out) :
+      stringstreambase(s, which)
+    { }
+  };
+}
+
+inline int std::stringbuf::sync()
+{
+  if((mode & ios::out) == 0)
+    return EOF;
+
+  streamsize n = pptr() - pbase();
+  if(n)
+    {
+      buf.replace(rpos, std::string::npos, pbase(), n);
+      if(buf.size() - rpos != n)
+       return EOF;
+      rpos += n;
+      pbump(-n);
+      gbump(egptr() - gptr());
+    }
+  return 0;
+}
+
+inline int std::stringbuf::overflow(int ch)
+{
+  if((mode & ios::out) == 0)
+    return EOF;
+
+  streamsize n = pptr() - pbase();
+
+  if(n && sync())
+    return EOF;
+
+  if(ch != EOF)
+    {
+      std::string::size_type oldSize = buf.size();
+      
+      buf.replace(rpos, std::string::npos, ch);
+      if(buf.size() - oldSize != 1)
+       return EOF;
+      ++rpos;
+    }
+  return 0;
+}
+
+inline int std::stringbuf::underflow()
+{
+  sync();
+  if((mode & ios::in) == 0)
+    {
+      return EOF;
+    }
+  if(rpos >= buf.size())
+    {
+      return EOF;
+    }
+  
+  std::string::size_type n = egptr() - eback();
+  std::string::size_type s;
+
+  s = buf.copy(eback(), n, rpos);
+  pbump(pbase() - pptr());
+  gbump(eback() - gptr());
+  int res = (0377 & buf[rpos]);
+  rpos += s;
+  return res;
+}
+
+#endif /* not __STRSTREAM__ */
diff -uNbr libmath++-0.0.3/math++/utils.cpp libmath++-0.0.3-new/math++/utils.cpp
--- libmath++-0.0.3/math++/utils.cpp    2002-04-08 16:09:12.000000000 -0500
+++ libmath++-0.0.3-new/math++/utils.cpp        2002-07-30 09:27:02.000000000 -0500
@@ -21,7 +21,11 @@
 //  Boston, MA 02111-1307, USA.
 ///////////////////////////////////////////////////////////////////////
 #include <math++/utils.h>
-#include <sstream>
+#if defined(__APPLE__) && __GNUC__ < 3
+# include <sstream.gcc2>
+#else
+# include <sstream>
+#endif
 
 #include <cmath>
 

--- NEW FILE: libxslt-1.0.19-1.info ---
Package: libxslt
Version: 1.0.19
Revision: 1
Maintainer: Benjamin Reed <[EMAIL PROTECTED]>
BuildDepends: gdbm, gmp, libxml2
Depends: %N-shlibs (= %v-%r)
Source: mirror:gnome:stable/sources/libxslt/%n-%v.tar.bz2
Replaces: %N (<< 1.0.15-2)
Patch: %f.patch
NoSetLDFLAGS: true
ConfigureParams: --mandir='${prefix}/share/man'
InstallScript: <<
 make install prefix=%i
 mkdir -p %i/share/doc
 mv %i/doc/%n-%v %i/share/doc/%n
 rm -rf %i/doc
<<
DocFiles: README COPYING AUTHORS ChangeLog Copyright FEATURES NEWS TODO
SplitOff: <<
 Package: %N-shlibs
 Replaces: %N (<< 1.0.15-2)
 Depends: libxml2-shlibs (>= 2.4.17)
 Description: XML stylsheet transformation shared libraries
 Files: lib/libexslt.0*.dylib lib/libxslt.1*.dylib lib/libxsltbreakpoint.1*.dylib
 DocFiles: COPYING AUTHORS Copyright
<<
Description: XML stylesheet transformation library
License: GPL/LGPL
Homepage: http://www.xmlsoft.org/XSLT/

--- NEW FILE: libxslt-1.0.19-1.patch ---
diff -uNbr libxslt-1.0.18/aclocal.m4 libxslt-1.0.18-new/aclocal.m4
--- libxslt-1.0.18/aclocal.m4   Mon May 27 17:31:20 2002
+++ libxslt-1.0.18-new/aclocal.m4       Thu Jun  6 22:49:06 2002
@@ -1635,7 +1635,7 @@
     ;;
 
   darwin* | rhapsody*)
-    allow_undefined_flag='-undefined suppress'
+    allow_undefined_flag='-undefined suppress -flat_namespace'
     # FIXME: Relying on posixy $() will cause problems for
     #        cross-compilation, but unfortunately the echo tests do not
     #        yet detect zsh echo's removal of \ escapes.
diff -uNbr libxslt-1.0.18/configure libxslt-1.0.18-new/configure
--- libxslt-1.0.18/configure    Mon May 27 17:31:25 2002
+++ libxslt-1.0.18-new/configure        Thu Jun  6 22:49:06 2002
@@ -3580,11 +3580,11 @@
     ;;
 
   darwin* | rhapsody*)
-    allow_undefined_flag='-undefined suppress'
+    allow_undefined_flag='-undefined suppress -flat_namespace'
     # FIXME: Relying on posixy $() will cause problems for
     #        cross-compilation, but unfortunately the echo tests do not
     #        yet detect zsh echo's removal of \ escapes.
-    archive_cmds='$CC $(test .$module = .yes && echo -bundle || echo -dynamiclib) 
$allow_undefined_flag -o $lib $libobjs $deplibs$linkopts -install_name $rpath/$soname 
$(test -n "$verstring" -a x$verstring != x0.0 && echo $verstring)'
+    archive_cmds='$CC $(test .$module = .yes && echo -bundle || echo -dynamiclib) 
+$allow_undefined_flag -o $lib $libobjs $deplibs$linkopts $(test .$module != .yes && 
+echo -install_name $rpath/$soname $tmp_verstring)'
     # We need to add '_' to the symbols in $export_symbols first
     #archive_expsym_cmds="$archive_cmds"' && strip -s $export_symbols'
     hardcode_direct=yes
diff -uNbr libxslt-1.0.18/ltmain.sh libxslt-1.0.18-new/ltmain.sh
--- libxslt-1.0.18/ltmain.sh    Mon May 27 17:31:19 2002
+++ libxslt-1.0.18-new/ltmain.sh        Thu Jun  6 22:49:06 2002
@@ -2858,6 +2858,11 @@
        if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then
          eval cmds=\"$archive_expsym_cmds\"
        else
+         if test "x$verstring" = "x0.0"; then
+           tmp_verstring=
+         else
+           tmp_verstring="$verstring"
+         fi
          eval cmds=\"$archive_cmds\"
        fi
        IFS="${IFS=     }"; save_ifs="$IFS"; IFS='~'



-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
_______________________________________________
Fink-commits mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-commits

Reply via email to