From owner-freebsd-ports Sun Dec 22 12:10:15 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 620CB37B401 for ; Sun, 22 Dec 2002 12:10:12 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 75A7943EE5 for ; Sun, 22 Dec 2002 12:10:11 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id gBMKABNS016109 for ; Sun, 22 Dec 2002 12:10:11 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id gBMKAB2w016108; Sun, 22 Dec 2002 12:10:11 -0800 (PST) Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 772E537B401 for ; Sun, 22 Dec 2002 12:06:48 -0800 (PST) Received: from mail1in.giga.net.tw (mail1in.giga.net.tw [203.133.1.15]) by mx1.FreeBSD.org (Postfix) with ESMTP id D4ECF43ED8 for ; Sun, 22 Dec 2002 12:06:47 -0800 (PST) (envelope-from kcwu@kcwu.dyndns.org) Received: from kcwu.homeip.net (u142-187.u61-70.giga.net.tw [61.70.142.187]) by mail1in.giga.net.tw (Postfix) with ESMTP id 6D6DA535D4 for ; Mon, 23 Dec 2002 04:06:45 +0800 (CST) Received: from kcwu.dyndns.org (m722 [192.168.0.234]) by kcwu.homeip.net (8.12.5/8.12.5) with ESMTP id gBMK62QD035646 for ; Mon, 23 Dec 2002 04:06:03 +0800 (CST) (envelope-from kcwu@kcwu.dyndns.org) Received: (from kcwu@localhost) by kcwu.dyndns.org (8.12.6/8.12.6/Submit) id gBMK64jD041997; Mon, 23 Dec 2002 04:06:04 +0800 (CST) Message-Id: <200212222006.gBMK64jD041997@kcwu.dyndns.org> Date: Mon, 23 Dec 2002 04:06:04 +0800 (CST) From: Kuang-che Wu Reply-To: Kuang-che Wu To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/46474: Fix build on -current for graphics/gtkfig Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 46474 >Category: ports >Synopsis: Fix build on -current for graphics/gtkfig >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: Sun Dec 22 12:10:11 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 for graphics/gtkfig >How-To-Repeat: >Fix: diff -urN gtkfig/files/patch-src::line.cc gtkfig.new/files/patch-src::line.cc --- gtkfig/files/patch-src::line.cc Thu Jan 1 08:00:00 1970 +++ gtkfig.new/files/patch-src::line.cc Mon Dec 23 04:04:31 2002 @@ -0,0 +1,11 @@ +--- src/line.cc.orig Mon Dec 23 03:58:33 2002 ++++ src/line.cc Mon Dec 23 03:58:44 2002 +@@ -14,7 +14,7 @@ + // he/she clicked on the line. + #define SELECT_DISTANCE 4 + +-TCADLine::TCADLine(TCADSheet *Sheet,int x=0,int y=0) : TCADObject(Sheet) ++TCADLine::TCADLine(TCADSheet *Sheet,int x,int y) : TCADObject(Sheet) + { + First.x = x; + First.y = y; diff -urN gtkfig/files/patch-src::rightangleline.cc gtkfig.new/files/patch-src::rightangleline.cc --- gtkfig/files/patch-src::rightangleline.cc Thu Jan 1 08:00:00 1970 +++ gtkfig.new/files/patch-src::rightangleline.cc Mon Dec 23 04:04:31 2002 @@ -0,0 +1,11 @@ +--- src/rightangleline.cc.orig Mon Dec 23 03:59:17 2002 ++++ src/rightangleline.cc Mon Dec 23 03:59:30 2002 +@@ -283,7 +283,7 @@ + } + } + +-TCADRightAngleLine::TCADRightAngleLine(TCADSheet *Sheet,int x=0,int y=0) : TCADLine(Sheet,x,y) ++TCADRightAngleLine::TCADRightAngleLine(TCADSheet *Sheet,int x,int y) : TCADLine(Sheet,x,y) + { + int i; + diff -urN gtkfig/files/patch-src::sheet.cc gtkfig.new/files/patch-src::sheet.cc --- gtkfig/files/patch-src::sheet.cc Thu Jan 1 08:00:00 1970 +++ gtkfig.new/files/patch-src::sheet.cc Mon Dec 23 04:04:31 2002 @@ -0,0 +1,11 @@ +--- src/sheet.cc.orig Mon Dec 23 04:01:02 2002 ++++ src/sheet.cc Mon Dec 23 04:01:05 2002 +@@ -1142,7 +1142,7 @@ + if (!Obj->HasText()) return; + + OldText = ((TCADTextObject *)Obj)->GetText(); +- TextEditBox(OldText,NULL,EditTextCallback,this); ++ TextEditBox(OldText,NULL,(void(*)(char*,void*))EditTextCallback,this); + free(OldText); + } + diff -urN gtkfig/files/patch-src::simpleline.cc gtkfig.new/files/patch-src::simpleline.cc --- gtkfig/files/patch-src::simpleline.cc Thu Jan 1 08:00:00 1970 +++ gtkfig.new/files/patch-src::simpleline.cc Mon Dec 23 04:04:31 2002 @@ -0,0 +1,11 @@ +--- src/simpleline.cc.orig Mon Dec 23 04:01:18 2002 ++++ src/simpleline.cc Mon Dec 23 04:01:41 2002 +@@ -8,7 +8,7 @@ + #include + #include "simpleline.h" + +-TCADSimpleLine::TCADSimpleLine(TCADSheet *Sheet,int x=0,int y=0) : TCADLine(Sheet,x,y) ++TCADSimpleLine::TCADSimpleLine(TCADSheet *Sheet,int x,int y) : TCADLine(Sheet,x,y) + { + RecomputeEncapRect(); + RecomputeRefRect(); diff -urN gtkfig/files/patch-src::texteditbox.cc gtkfig.new/files/patch-src::texteditbox.cc --- gtkfig/files/patch-src::texteditbox.cc Thu Jan 1 08:00:00 1970 +++ gtkfig.new/files/patch-src::texteditbox.cc Mon Dec 23 04:04:31 2002 @@ -0,0 +1,10 @@ +--- src/texteditbox.cc.orig Mon Dec 23 04:02:07 2002 ++++ src/texteditbox.cc Mon Dec 23 04:02:22 2002 +@@ -5,6 +5,7 @@ + \********************************/ + + #include ++#include + #include + #include + >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message