1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00

Add patches i missed

This commit is contained in:
Patrick Li 2003-01-01 20:38:27 +00:00
parent 20e2a66e6c
commit 7598910800
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=72106
9 changed files with 101 additions and 0 deletions

View File

@ -0,0 +1,11 @@
--- topaz/buffarray.h.orig Wed Dec 4 23:02:26 2002
+++ topaz/buffarray.h Fri Dec 27 04:24:29 2002
@@ -27,6 +27,8 @@
#include <string>
+using namespace std;
+
class buffarray

View File

@ -0,0 +1,11 @@
--- topaz/convtxt.h.orig Wed Dec 4 23:02:26 2002
+++ topaz/convtxt.h Fri Dec 27 04:33:13 2002
@@ -25,6 +25,8 @@
#define __convtxt_h
#include <string>
+using namespace std;
+
extern bool tosavetxt(char *in, string *out);
extern bool fromsavetxt(char *in, string *out);
extern char *topazfgets(char *s, int size, FILE *fp);

View File

@ -0,0 +1,11 @@
--- topaz/filepoint.h.orig Wed Dec 4 23:02:26 2002
+++ topaz/filepoint.h Fri Dec 27 04:46:14 2002
@@ -26,6 +26,8 @@
# include <stdio.h>
# include <string>
+using namespace std;
+
class HandleElement
{

View File

@ -0,0 +1,11 @@
--- topaz/msgbuff.cc.orig Wed Dec 4 23:02:26 2002
+++ topaz/msgbuff.cc Fri Dec 27 04:36:46 2002
@@ -30,6 +30,8 @@
#include "msgbuff.h"
#include "kanji.h"
+using namespace std;
+
extern int tabnumber;
extern WINDOW *menuwin, *msgwin, *sepwin ,*titlewin;

View File

@ -0,0 +1,13 @@
--- topaz/objectlist.h.orig Wed Dec 4 23:02:26 2002
+++ topaz/objectlist.h Fri Dec 27 04:41:21 2002
@@ -24,6 +24,10 @@
#if !defined(__objectlist_h)
#define __objectlist_h
+#include <string>
+
+using namespace std;
+
#include "topazcurses.h"
int objectlist(WINDOW *win, int mode, string *objtype);

View File

@ -0,0 +1,11 @@
--- topaz/styledisp.h.orig Wed Dec 4 23:02:28 2002
+++ topaz/styledisp.h Fri Dec 27 04:44:03 2002
@@ -26,6 +26,8 @@
#include <string>
+using namespace std;
+
extern bool getlinestylename(int id, string *out);
bool getcolorname(unsigned int r, unsigned int g,unsigned int b, string *out);
bool getmarkerstylename(int id, string *out);

View File

@ -0,0 +1,11 @@
--- topaz/topaz.cc.orig Wed Dec 4 23:02:28 2002
+++ topaz/topaz.cc Fri Dec 27 04:29:01 2002
@@ -30,7 +30,7 @@
#include <dirent.h>
#include <sys/stat.h>
#include <signal.h>
-#include <getopt.h>
+//#include <getopt.h>
//char *optarg;
#include "script.h"
#include "frame.h"

View File

@ -0,0 +1,11 @@
--- topaz/tpv2ps.cc.orig Wed Dec 4 23:02:28 2002
+++ topaz/tpv2ps.cc Fri Dec 27 04:51:06 2002
@@ -31,7 +31,7 @@
#include <math.h>
#include <string>
#include <time.h>
-#include <getopt.h>
+//#include <getopt.h>
//char *optarg;
extern int errno;

View File

@ -0,0 +1,11 @@
--- topaz/vectdefs.h.orig Wed Dec 4 23:02:28 2002
+++ topaz/vectdefs.h Fri Dec 27 04:37:32 2002
@@ -28,6 +28,8 @@
#include "vect.h"
#include "pointdefs.h"
+using namespace std;
+
typedef rvect<int> intarray;
typedef rvect<double> doublearray;
typedef vect<string> stringarray;