pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/converters/tex2rtf Make this build with gcc3
details: https://anonhg.NetBSD.org/pkgsrc/rev/18063b498c6e
branches: trunk
changeset: 465082:18063b498c6e
user: ben <ben%pkgsrc.org@localhost>
date: Sat Dec 20 16:00:56 2003 +0000
description:
Make this build with gcc3
* remove unnecessary ios::nocreate
http://www.dinkumware.com/manuals/reader.aspx?b=p/&h=fstream.html#basic_filebuf::open
* add using namespace std to get min()
diffstat:
converters/tex2rtf/distinfo | 4 +++-
converters/tex2rtf/patches/patch-ac | 31 +++++++++++++++++++++++++++++++
converters/tex2rtf/patches/patch-ad | 13 +++++++++++++
3 files changed, 47 insertions(+), 1 deletions(-)
diffs (65 lines):
diff -r 3cb2c729d3ff -r 18063b498c6e converters/tex2rtf/distinfo
--- a/converters/tex2rtf/distinfo Sat Dec 20 16:00:55 2003 +0000
+++ b/converters/tex2rtf/distinfo Sat Dec 20 16:00:56 2003 +0000
@@ -1,6 +1,8 @@
-$NetBSD: distinfo,v 1.1.1.1 2002/05/25 23:23:01 rh Exp $
+$NetBSD: distinfo,v 1.2 2003/12/20 16:00:56 ben Exp $
SHA1 (tex2rtf164_source.zip) = 553e76b3ffd7e0a670427ea27a4cdaab3cee4d72
Size (tex2rtf164_source.zip) = 310555 bytes
SHA1 (patch-aa) = 08b848150d26177e8401a0538fe9ea49395c1a5e
SHA1 (patch-ab) = fbb7a7733670acc96f86765c7c3d34baeab4a061
+SHA1 (patch-ac) = 786e851e1a3968f7796c10f302bbb7f88ef42932
+SHA1 (patch-ad) = 1eadb381c0cfc436f5d35a314feb2d229af4be5a
diff -r 3cb2c729d3ff -r 18063b498c6e converters/tex2rtf/patches/patch-ac
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/converters/tex2rtf/patches/patch-ac Sat Dec 20 16:00:56 2003 +0000
@@ -0,0 +1,31 @@
+$NetBSD: patch-ac,v 1.1 2003/12/20 16:00:56 ben Exp $
+
+--- texutils.cpp.orig 1997-06-05 16:17:46.000000000 -0700
++++ texutils.cpp
+@@ -390,7 +390,7 @@ void WriteTexReferences(char *filename)
+
+ void ReadTexReferences(char *filename)
+ {
+- ifstream istr(filename, ios::nocreate | ios::in);
++ ifstream istr(filename, ios::in);
+ if (istr.bad()) return;
+
+ char label[100];
+@@ -554,7 +554,7 @@ void BibReadValue(istream& istr, char *b
+ Bool ReadBib(char *filename)
+ {
+ char buf[300];
+- ifstream istr(filename, ios::nocreate | ios::in);
++ ifstream istr(filename, ios::in);
+ if (istr.bad()) return FALSE;
+
+ BibLine = 1;
+@@ -1271,7 +1271,7 @@ char *RegisterSetting(char *settingName,
+
+ Bool ReadCustomMacros(char *filename)
+ {
+- ifstream istr(filename, ios::nocreate | ios::in);
++ ifstream istr(filename, ios::in);
+ if (istr.bad()) return FALSE;
+
+ CustomMacroList.Clear();
diff -r 3cb2c729d3ff -r 18063b498c6e converters/tex2rtf/patches/patch-ad
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/converters/tex2rtf/patches/patch-ad Sat Dec 20 16:00:56 2003 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-ad,v 1.1 2003/12/20 16:00:56 ben Exp $
+
+--- wxwin/wb_utils.cpp.orig 1997-07-20 17:01:04.000000000 -0700
++++ wxwin/wb_utils.cpp
+@@ -27,6 +27,8 @@
+ */
+
+
++using namespace std;
++
+ #include "common.h"
+ #include "wx_utils.h"
+ #include "wx_list.h"
Home |
Main Index |
Thread Index |
Old Index