[prev in list] [next in list] [prev in thread] [next in thread] 

List:       fink-commits
Subject:    dists/10.3/unstable/main/finkinfo/text html2text.info,NONE,1.1 html2text.patch,NONE,1.1
From:       Hisashi Todd Fujinaka <htodd () users ! sourceforge ! net>
Date:       2003-10-31 23:49:39
[Download RAW message or body]

Update of /cvsroot/fink/dists/10.3/unstable/main/finkinfo/text
In directory sc8-pr-cvs1:/tmp/cvs-serv30990

Added Files:
	html2text.info html2text.patch 
Log Message:
Updating html2text for gcc-3.3 and 10.3. The program needs a rewrite.


--- NEW FILE: html2text.info ---
Package: html2text
Version: 1.3.1
Revision: 10
Description: Advanced HTML to text converter
License: GPL
Maintainer: Chris Zubrzycki <beren12@users.sourceforge.net>
Replaces: html2text
Provides: html2text
Source: http://userpage.fu-berlin.de/~mbayer/tools/%n-%v.tar.gz
Source-MD5: faa3eaeb062540e72d251d6c3fa6cc71
Patch: %n.patch
SetCC: gcc3
SetCXX: g++3
InstallScript: <<
  #!/bin/sh
  INSTALL=install
  INSTALL_FILE="$INSTALL -p -o root -g admin -m 644"
  INSTALL_PROGRAM="$INSTALL -p -o root -g admin -m 755"
  INSTALL_DIR="$INSTALL -p -d -o root -g admin -m 755"
  $INSTALL_DIR %i/bin \
               %i/share/man/man1 \
               %i/share/man/man5
  $INSTALL_PROGRAM html2text %i/bin
  gunzip html2text.1.gz
  $INSTALL_FILE html2text.1 %i/share/man/man1
  gunzip html2textrc.5.gz
  $INSTALL_FILE html2textrc.5 %i/share/man/man5
<<
DocFiles: CHANGES COPYING CREDITS INSTALL KNOWN_BUGS README TODO
DescDetail: <<
 html2text was written because the author wasn't happy with the
 output of "lynx -dump" and so he wrote something better.
<<
Homepage: http://userpage.fu-berlin.de/~mbayer/tools/html2text.html 

--- NEW FILE: html2text.patch ---
diff -Naur html2text-1.3.1/configure \
                /sw/src/html2text-1.3.1-1/html2text-1.3.1/configure
--- html2text-1.3.1/configure	Sun Apr  7 07:05:48 2002
+++ /sw/src/html2text-1.3.1-1/html2text-1.3.1/configure	Fri Oct 31 11:51:36 2003
@@ -38,7 +38,7 @@
 }
 EOF
 CXX=unknown;
-for i in "CC" "g++"; do
+for i in "c++ -no-cpp-precomp -isystem /sw/include -DAUTO_PTR_BROKEN=1 -Wl,-L/sw/lib \
-Wl,-lpoll" "CC" "g++"; do  if $i -c $tmp_file.C 2>/dev/null; then
     CXX="$i";
     break;
diff -Naur html2text-1.3.1/format.C \
                /sw/src/html2text-1.3.1-1/html2text-1.3.1/format.C
--- html2text-1.3.1/format.C	Mon Jul 29 04:12:13 2002
+++ /sw/src/html2text-1.3.1-1/html2text-1.3.1/format.C	Fri Oct 31 12:01:20 2003
@@ -34,7 +34,7 @@
  /***************************************************************************/
 
 
-#include <strstream.h>
+#include <strstream>
 
 #include <stdlib.h>
 #include <ctype.h>
@@ -374,7 +374,7 @@
   case CUSTOM3:   bullet = custom3_bullet; break;
   case ARABIC_NUMBERS:
     {
-      ostrstream oss;
+      std::ostrstream oss;
       oss << number << '.' << std::ends;
       bullet = oss.str();
       oss.rdbuf()->freeze(0);




-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-commits


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic