Date: Sun, 15 Dec 2002 00:56:24 +0800 (CST) From: Kuang-che Wu <kcwu@kcwu.dyndns.org> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/46259: Fix build on -current for chinese/stardict Message-ID: <200212141656.gBEGuOr9001089@kcwu.dyndns.org>
next in thread | raw e-mail | index | archive | help
>Number: 46259 >Category: ports >Synopsis: Fix build on -current for chinese/stardict >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat Dec 14 09:00:15 PST 2002 >Closed-Date: >Last-Modified: >Originator: Kuang-che Wu >Release: FreeBSD 5.0-CURRENT i386 >Organization: >Environment: System: FreeBSD m722 5.0-CURRENT FreeBSD 5.0-CURRENT #0: Tue Nov 26 18:00:18 CST 2002 root@m722:/usr/obj/usr/src/sys/M722 i386 >Description: Fix build on -current >How-To-Repeat: >Fix: diff -urN stardict/files/patch-src::image.h stardict.new/files/patch-src::image.h --- stardict/files/patch-src::image.h Thu Jan 1 08:00:00 1970 +++ stardict.new/files/patch-src::image.h Sun Dec 15 00:44:51 2002 @@ -0,0 +1,12 @@ +--- src/image.h.orig Sun Dec 15 00:37:41 2002 ++++ src/image.h Sun Dec 15 00:37:45 2002 +@@ -17,7 +17,8 @@ + #ifndef IMAGE_H + #define IMAGE_H + +-#include <stdiostream.h> ++#include <iostream> ++using namespace std; + #include <stdlib.h> + #include <memory.h> + #include <string.h> diff -urN stardict/files/patch-src::trans.h stardict.new/files/patch-src::trans.h --- stardict/files/patch-src::trans.h Thu Jan 1 08:00:00 1970 +++ stardict.new/files/patch-src::trans.h Sun Dec 15 00:44:51 2002 @@ -0,0 +1,12 @@ +--- src/trans.h.orig Sun Dec 15 00:37:55 2002 ++++ src/trans.h Sun Dec 15 00:38:48 2002 +@@ -44,7 +44,7 @@ + #include <Xm/PushB.h> + #include <Xm/DrawnB.h> + #include <Xm/ArrowB.h> +-#include <strstream.h> +-#include <fstream.h> ++#include <sstream> ++#include <fstream> + + #include "regdef.h" >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200212141656.gBEGuOr9001089>