diff options
author | Tilman Keskinoz <arved@FreeBSD.org> | 2007-05-30 19:17:27 +0000 |
---|---|---|
committer | Tilman Keskinoz <arved@FreeBSD.org> | 2007-05-30 19:17:27 +0000 |
commit | 37218fa383803da3e42e01554f7514157e0e37f3 (patch) | |
tree | 4fedcd8049b9c6827688dee3d63bb3696a46ef02 | |
parent | - update of lang/tcl84 and x11-toolkits/tk84 to 8.4.15 (diff) |
Fix build with gcc4
Notes
Notes:
svn path=/head/; revision=192416
-rw-r--r-- | math/xgobi/files/patch-xgv_anchor.c | 35 | ||||
-rw-r--r-- | x11-toolkits/XawPlus/files/patch-LocPixmap.c | 18 | ||||
-rw-r--r-- | x11-wm/piewm/files/patch-icons.h | 11 |
3 files changed, 64 insertions, 0 deletions
diff --git a/math/xgobi/files/patch-xgv_anchor.c b/math/xgobi/files/patch-xgv_anchor.c new file mode 100644 index 000000000000..cc276dad2588 --- /dev/null +++ b/math/xgobi/files/patch-xgv_anchor.c @@ -0,0 +1,35 @@ +--- xgv_anchor.c.orig Wed May 30 21:06:33 2007 ++++ xgv_anchor.c Wed May 30 21:08:22 2007 +@@ -34,20 +34,20 @@ + #include "DrawingA.h" + #include "xgvis.h" + +-void xgv_shift_clust_widgets(xgobidata *); +-void xgv_alloc_clust(xgobidata *); +-void xgv_addGroup(int, Widget, xgobidata *); +-void xgv_draw_cluster_symbol(xgobidata *, int); +-void xgv_mark_cluster_symbol(xgobidata *, int, int); +-void xgv_create_clust_widgets(xgobidata *); ++static void xgv_shift_clust_widgets(xgobidata *); ++static void xgv_alloc_clust(xgobidata *); ++static void xgv_addGroup(int, Widget, xgobidata *); ++static void xgv_draw_cluster_symbol(xgobidata *, int); ++static void xgv_mark_cluster_symbol(xgobidata *, int, int); ++static void xgv_create_clust_widgets(xgobidata *); + XtCallbackProc xgv_reset_clusters_cback (Widget, xgobidata *, XtPointer); + XtCallbackProc xgv_open_anchor_popup_cback(Widget, xgobidata *, XtPointer); +-XtCallbackProc xgv_symbol_reset_cb(Widget, xgobidata *, XawDrawingAreaCallbackStruct *); +-XtCallbackProc xgv_anchor_cback(Widget, xgobidata *, XtPointer); +-XtCallbackProc xgv_close_cback(Widget, xgobidata *, XtPointer); +-XtCallbackProc xgv_symbol_expose_cb(Widget, xgobidata *, XawDrawingAreaCallbackStruct *); +-XtCallbackProc xgv_exclude_cback(Widget, xgobidata *, XtPointer); +-XtCallbackProc xgv_hide_cback(Widget, xgobidata *, XtPointer); ++static XtCallbackProc xgv_symbol_reset_cb(Widget, xgobidata *, XawDrawingAreaCallbackStruct *); ++static XtCallbackProc xgv_anchor_cback(Widget, xgobidata *, XtPointer); ++static XtCallbackProc xgv_close_cback(Widget, xgobidata *, XtPointer); ++static XtCallbackProc xgv_symbol_expose_cb(Widget, xgobidata *, XawDrawingAreaCallbackStruct *); ++static XtCallbackProc xgv_exclude_cback(Widget, xgobidata *, XtPointer); ++static XtCallbackProc xgv_hide_cback(Widget, xgobidata *, XtPointer); + + extern void save_group_names(xgobidata *); + extern void save_brush_groups(xgobidata *); diff --git a/x11-toolkits/XawPlus/files/patch-LocPixmap.c b/x11-toolkits/XawPlus/files/patch-LocPixmap.c new file mode 100644 index 000000000000..c1919812e800 --- /dev/null +++ b/x11-toolkits/XawPlus/files/patch-LocPixmap.c @@ -0,0 +1,18 @@ +--- LocPixmap.c.orig Wed May 30 21:14:07 2007 ++++ LocPixmap.c Wed May 30 21:14:31 2007 +@@ -173,6 +173,7 @@ + } /* if */ + } + ++static char **split_path_string(); + + /* + * XawLocatePixmapFile - read a pixmap file using the normal defaults +@@ -195,7 +196,6 @@ + char **file_paths = NULL; + char filename[MAXPATHLEN]; + int i; +- static char **split_path_string(); + char *name; + + XpmAttributes attributes; diff --git a/x11-wm/piewm/files/patch-icons.h b/x11-wm/piewm/files/patch-icons.h new file mode 100644 index 000000000000..1221d47b337b --- /dev/null +++ b/x11-wm/piewm/files/patch-icons.h @@ -0,0 +1,11 @@ +--- icons.h.orig Wed May 30 21:09:38 2007 ++++ icons.h Wed May 30 21:09:45 2007 +@@ -53,7 +53,7 @@ + void AddIconRegion(char *geom, int grav1, int grav2, int stepx, int stepy); + void IconDown (TwmWindow *tmp_win); + void IconUp (TwmWindow *tmp_win); +-void PlaceIcon(TwmWindow *tmp_win, int def_x, int def_y, int *final_x, int *final_y); ++static void PlaceIcon(TwmWindow *tmp_win, int def_x, int def_y, int *final_x, int *final_y); + + + |