FreeBSD Bugzilla – Attachment 27396 Details for
Bug 46474
Fix build on -current for graphics/gtkfig
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 2.85 KB, created by
Kuang-che Wu
on 2002-12-22 20:10:11 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Kuang-che Wu
Created:
2002-12-22 20:10:11 UTC
Size:
2.85 KB
patch
obsolete
>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 <math.h> >+ #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 <stdlib.h> >++#include <string.h> >+ #include <gtk/gtk.h> >+ #include <gdk/gdkkeysyms.h> >+
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 46474
: 27396