From 626387c3de160715b0218a363a4b050cdf5e30e4 Mon Sep 17 00:00:00 2001 From: kevlo Date: Thu, 24 Jun 2004 05:30:42 +0000 Subject: [PATCH] update to 1.9 --- textproc/source-highlight/Makefile | 4 ++-- textproc/source-highlight/distinfo | 6 +++--- .../patches/patch-src_lib_fileutil_cc | 12 ++++++++++++ textproc/source-highlight/pkg/PLIST | 8 ++++++-- 4 files changed, 23 insertions(+), 7 deletions(-) create mode 100644 textproc/source-highlight/patches/patch-src_lib_fileutil_cc diff --git a/textproc/source-highlight/Makefile b/textproc/source-highlight/Makefile index 2a9b8453acc..34b656c2309 100644 --- a/textproc/source-highlight/Makefile +++ b/textproc/source-highlight/Makefile @@ -1,8 +1,8 @@ -# $OpenBSD: Makefile,v 1.11 2003/11/15 15:12:55 sturm Exp $ +# $OpenBSD: Makefile,v 1.12 2004/06/24 05:30:42 kevlo Exp $ COMMENT= "C/C++,Prolog,Perl,PHP3 and Java sources to HTML converter" -DISTNAME= source-highlight-1.8 +DISTNAME= source-highlight-1.9 CATEGORIES= textproc HOMEPAGE= http://www.gnu.org/software/src-highlite/source-highlight.html diff --git a/textproc/source-highlight/distinfo b/textproc/source-highlight/distinfo index e4e989014af..da42df6a95a 100644 --- a/textproc/source-highlight/distinfo +++ b/textproc/source-highlight/distinfo @@ -1,3 +1,3 @@ -MD5 (source-highlight-1.8.tar.gz) = 2d8f1b6aab702f8c5ce952542cd5fb02 -RMD160 (source-highlight-1.8.tar.gz) = f520aad327859cedd6e8467d8f80632fd35174ac -SHA1 (source-highlight-1.8.tar.gz) = 4116ac69a69486c87443de12f32ba3e78b3d371e +MD5 (source-highlight-1.9.tar.gz) = 88e1ecd5c4c37104ed98c0674f630656 +RMD160 (source-highlight-1.9.tar.gz) = 8028371e709b2a576017b568df75c0cf922306ca +SHA1 (source-highlight-1.9.tar.gz) = b7acc3e354a3043c517f7efa4ddb5e0924464a68 diff --git a/textproc/source-highlight/patches/patch-src_lib_fileutil_cc b/textproc/source-highlight/patches/patch-src_lib_fileutil_cc new file mode 100644 index 00000000000..1cc573f7291 --- /dev/null +++ b/textproc/source-highlight/patches/patch-src_lib_fileutil_cc @@ -0,0 +1,12 @@ +$OpenBSD: patch-src_lib_fileutil_cc,v 1.1 2004/06/24 05:30:44 kevlo Exp $ +--- src/lib/fileutil.cc.orig 2004-06-24 13:08:35.000000000 +0000 ++++ src/lib/fileutil.cc 2004-06-24 13:09:28.000000000 +0000 +@@ -41,7 +41,7 @@ read_file(const string &fileName) + // we open it as binary otherwise we may experience problems under + // Windows system: when we fread, the number of char read can be + // less then char_count, and thus we'd get an error... +- ifstream file (fileName.c_str (), ios_base::binary); ++ ifstream file (fileName.c_str (), ios::binary); + if (! file.is_open () ) + file_error ("Error operning", fileName); + else diff --git a/textproc/source-highlight/pkg/PLIST b/textproc/source-highlight/pkg/PLIST index b4604e2e8fc..8bd269a72ed 100644 --- a/textproc/source-highlight/pkg/PLIST +++ b/textproc/source-highlight/pkg/PLIST @@ -1,12 +1,13 @@ -@comment $OpenBSD: PLIST,v 1.9 2003/10/15 04:49:06 kevlo Exp $ +@comment $OpenBSD: PLIST,v 1.10 2004/06/24 05:30:47 kevlo Exp $ bin/cpp2html bin/java2html bin/source-highlight +bin/source-highlight-cgi +bin/src-hilite-lesspipe.sh man/man1/source-highlight.1 share/doc/source-highlight/COPYING share/doc/source-highlight/CREDITS share/doc/source-highlight/ChangeLog -share/doc/source-highlight/ChangeLog.html share/doc/source-highlight/Hello.css share/doc/source-highlight/Hello.java share/doc/source-highlight/Hello.java.html @@ -36,11 +37,14 @@ share/doc/source-highlight/mono.css share/doc/source-highlight/source-highlight.html share/doc/source-highlight/startapp.cc.html share/doc/source-highlight/test.js.html +share/doc/source-highlight/test.lua.html +share/doc/source-highlight/test.ml.html share/doc/source-highlight/test.php3.html share/doc/source-highlight/test.pl.html share/doc/source-highlight/test.pm.html share/doc/source-highlight/test.py.html share/doc/source-highlight/test.rb.html +share/doc/source-highlight/test.sml.html share/doc/source-highlight/xhtml.css share/source-highlight/tags.j2h share/source-highlight/tags2.j2h