summaryrefslogtreecommitdiffstats
path: root/japanese/xjtext/files/patch-ab
diff options
context:
space:
mode:
authorjylefort <jylefort@FreeBSD.org>2005-05-18 00:17:35 +0000
committerjylefort <jylefort@FreeBSD.org>2005-05-18 00:17:35 +0000
commit9b2be92fa3b030c7c6c4584553ca018cf6965950 (patch)
tree35f29cb48528d0564c8d88fab4db84e5000b359b /japanese/xjtext/files/patch-ab
parent473ef95ff3394736d73c226e461d47cea5949076 (diff)
downloadFreeBSD-ports-9b2be92fa3b030c7c6c4584553ca018cf6965950.zip
FreeBSD-ports-9b2be92fa3b030c7c6c4584553ca018cf6965950.tar.gz
- Fix build on -CURRENT [1]
- Do not ignore CXX and CXXFLAGS [1] - Use DOCSDIR and EXAMPLESDIR [1] - Use SUB_FILES=pkg-message - Improve the grammar of pkg-message and pkg-descr - Fix a typo in COMMENT PR: ports/81124 [1] Submitted by: KATO Tsuguru <tkato432@yahoo.com> [1]
Diffstat (limited to 'japanese/xjtext/files/patch-ab')
-rw-r--r--japanese/xjtext/files/patch-ab29
1 files changed, 27 insertions, 2 deletions
diff --git a/japanese/xjtext/files/patch-ab b/japanese/xjtext/files/patch-ab
index e2f3fd7..3ce709d 100644
--- a/japanese/xjtext/files/patch-ab
+++ b/japanese/xjtext/files/patch-ab
@@ -1,6 +1,31 @@
--- xwindow.h.orig Sat Sep 4 22:45:16 1999
-+++ xwindow.h Sat Jul 8 01:08:55 2000
-@@ -60,7 +60,7 @@
++++ xwindow.h Mon May 16 15:51:32 2005
+@@ -1,12 +1,14 @@
+ #ifndef _XWINDOW
+ #define _XWINDOW
+-#include <stream.h>
++#include <iostream>
+ #include <X11/Xlib.h>
+ #include <X11/Xutil.h>
+ #include <X11/Xatom.h>
+ #include <X11/extensions/shape.h>
+ #include <Imlib.h>
+
++using namespace std;
++
+ extern Display* TheDisplay;
+ typedef unsigned long ulong;
+ typedef unsigned int uint;
+@@ -35,7 +37,7 @@
+ XColor Exact; XColor NewColor;
+ if(XAllocNamedColor(TheDisplay,CMap,ColorName,&Exact,&NewColor)==0)
+ {
+- cerr<<form("Can't allocate the color specified by \"%s\".\n",ColorName);
++ cerr<<("Can't allocate the color specified by \"%s\".\n",ColorName);
+ return BlackPixel(TheDisplay,TheScreen);
+ }
+ else return NewColor.pixel;
+@@ -60,7 +62,7 @@
XSetLineAttributes(TheDisplay,TheGC,1,LineSolid,CapButt,JoinMiter);
XDrawLine(TheDisplay,TheWindow,TheGC,X1,Y1,X2,Y2);
}
OpenPOWER on IntegriCloud