diff options
author | arved <arved@FreeBSD.org> | 2007-05-31 03:17:27 +0800 |
---|---|---|
committer | arved <arved@FreeBSD.org> | 2007-05-31 03:17:27 +0800 |
commit | 1f2d4771deb7dc61ae163193075cccbc5e4f7c5b (patch) | |
tree | 11fe4bcc5420d52f58122472c9e4a12ab05b5fff | |
parent | 60951d90a530b3fb59edbff860c759aa89996c95 (diff) | |
download | freebsd-ports-gnome-1f2d4771deb7dc61ae163193075cccbc5e4f7c5b.tar.gz freebsd-ports-gnome-1f2d4771deb7dc61ae163193075cccbc5e4f7c5b.tar.zst freebsd-ports-gnome-1f2d4771deb7dc61ae163193075cccbc5e4f7c5b.zip |
Fix build with gcc4
-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); + + + |