diff options
author | Olivier Duchateau <olivierd@FreeBSD.org> | 2013-08-02 17:34:39 +0000 |
---|---|---|
committer | Olivier Duchateau <olivierd@FreeBSD.org> | 2013-08-02 17:34:39 +0000 |
commit | 3c2241c14c3c0532ef1ffa5e22ef12be39e3de6b (patch) | |
tree | e80c48b13cf08296f0c4422f11b65ac69175e98c /science/xfce4-equake-plugin | |
parent | 13bdf03c6ec8d03160c5a2bd2ab0d19a89118399 (diff) | |
download | ports-3c2241c14c3c0532ef1ffa5e22ef12be39e3de6b.tar.gz ports-3c2241c14c3c0532ef1ffa5e22ef12be39e3de6b.zip |
Notes
Diffstat (limited to 'science/xfce4-equake-plugin')
-rw-r--r-- | science/xfce4-equake-plugin/Makefile | 1 | ||||
-rw-r--r-- | science/xfce4-equake-plugin/files/patch-panel-plugin__equake_func.h | 290 |
2 files changed, 291 insertions, 0 deletions
diff --git a/science/xfce4-equake-plugin/Makefile b/science/xfce4-equake-plugin/Makefile index 87311fa2e766..ff8ab43efcb8 100644 --- a/science/xfce4-equake-plugin/Makefile +++ b/science/xfce4-equake-plugin/Makefile @@ -4,6 +4,7 @@ PORTNAME= xfce4-equake-plugin PORTVERSION= 1.3.2 +PORTREVISION= 1 CATEGORIES= science xfce MASTER_SITES= http://www.e-quake.org/wp-uploads/2013/07/ DIST_SUBDIR= xfce4 diff --git a/science/xfce4-equake-plugin/files/patch-panel-plugin__equake_func.h b/science/xfce4-equake-plugin/files/patch-panel-plugin__equake_func.h new file mode 100644 index 000000000000..893220804f7e --- /dev/null +++ b/science/xfce4-equake-plugin/files/patch-panel-plugin__equake_func.h @@ -0,0 +1,290 @@ +Fix errors with clang 3.3 + +--- panel-plugin/equake_func.h.orig 2013-07-31 23:42:02.000000000 +0000 ++++ panel-plugin/equake_func.h 2013-08-02 18:49:06.000000000 +0000 +@@ -26,23 +26,23 @@ + ( + GtkWidget *event_box, + GdkEventButton *event, +- gpointer data; ++ gpointer data + ); + + void equake_setprefs + ( +- struct Equake_Data *equakedata; ++ struct Equake_Data *equakedata + ); + + void equake_getprefs + ( +- struct Equake_Data *equakedata; ++ struct Equake_Data *equakedata + ); + + void equake_saveprefs + ( + struct Equake_Data *equakedata, +- FILE *fp; ++ FILE *fp + ); + + /*static void equake_applet_change_background +@@ -50,7 +50,7 @@ + XfcePanelPlugin *applet, + XfcePanelPluginBackgroundType type, + GdkColor *colour, +- GdkPixmap *pixmap; ++ GdkPixmap *pixmap + );*/ + + static void equake_applet_fill +@@ -60,7 +60,7 @@ + + void setdefaults + ( +- struct Equake_Data *equakedata; ++ struct Equake_Data *equakedata + ); + + /* process the arguments given at program startup, if any */ +@@ -68,52 +68,52 @@ + ( + int arg, + char **argv, +- struct Equake_Data *equakedata; ++ struct Equake_Data *equakedata + ); + + int processdata_daily + ( +- struct Equake_Data *equakedata; ++ struct Equake_Data *equakedata + ); + + int render_equake_label + ( +- struct Equake_Data *equakedata; ++ struct Equake_Data *equakedata + ); + + static void set_label_tooltip_text + ( +- GtkWidget *label, ++ GtkLabel *label, + char *lbltxt, +- char *tooltiptxt; ++ char *tooltiptxt + ); + + int processdata + ( + struct Equake_Data *equakedata, +- int period; ++ int period + ); + + void set_signature_file + ( +- struct Equake_Data *equakedata; ++ struct Equake_Data *equakedata + ); + + void alert_heavy_quake + ( + struct Equake_Data *equakedata, +- int pos; ++ int pos + ); + + void set_magnitude_icon + ( + struct Equake_Data *equakedata, +- int pos; ++ int pos + ); + + int convert_localtime + ( +- struct Equake_Data *equakedata; ++ struct Equake_Data *equakedata + ); + + long long diff_tm +@@ -124,14 +124,14 @@ + + int eventloop + ( +- struct Equake_Data *equakedata; ++ struct Equake_Data *equakedata + ); + + /* print error message and exit */ + void error + ( + char *msg, +- struct Equake_Data *equakedata; ++ struct Equake_Data *equakedata + ); + + /* In case of partial send make sure everything is sent or give an error */ +@@ -139,7 +139,7 @@ + ( + int socket, + char *buf, +- int *len; ++ int *len + ); + + int receiveall +@@ -147,7 +147,7 @@ + int socket, + char *buf, + int len, +- int period; ++ int period + ); + + /* +@@ -157,7 +157,7 @@ + int getquakedata + ( + struct Equake_Data *equakedata, +- int period; ++ int period + ); + + int startequake +@@ -165,38 +165,38 @@ + XfcePanelPlugin *applet, + GtkWidget *label, + GtkWidget *logo, +- struct Equake_Data *equakedata; ++ struct Equake_Data *equakedata + ); + + /* menu functions */ + static void do_update + ( + XfcePanelPlugin *applet, +- struct Equake_Data *equakedata; ++ struct Equake_Data *equakedata + ); + + static void load_details + ( + XfcePanelPlugin *applet, +- struct Equake_Data *equakedata; ++ struct Equake_Data *equakedata + ); + + static void load_map + ( + XfcePanelPlugin *applet, +- struct Equake_Data *equakedata; ++ struct Equake_Data *equakedata + ); + + static void load_didyoufeelit + ( + XfcePanelPlugin *applet, +- struct Equake_Data *equakedata; ++ struct Equake_Data *equakedata + ); + + static void display_properties_dialog + ( + XfcePanelPlugin *applet, +- struct Equake_Data *equakedata; ++ struct Equake_Data *equakedata + ); + + static void set_properties_from_dialog +@@ -205,41 +205,42 @@ + int willalert, + int alertheavy, + int sigfilemag, +- int monitormag; ++ int monitormag, ++ struct Equake_Data *equakedata + ); + + static void display_about_dialog + ( + XfcePanelPlugin *applet, +- struct Equake_Data *equakedata; ++ struct Equake_Data *equakedata + ); + + static void display_dialog + ( +- char *t; ++ char *t + ); + + static void display_url + ( +- char *url; ++ char *url + ); + + static void display_nonmodaldialog + ( + GtkWidget *dialog, +- char *t; ++ char *t + ); + + static void display_lastday + ( + XfcePanelPlugin *applet, +- struct Equake_Data *equakedata; ++ struct Equake_Data *equakedata + ); + + static void display_lasthour + ( + XfcePanelPlugin *applet, +- struct Equake_Data *equakedata; ++ struct Equake_Data *equakedata + ); + + static void fill_text_period +@@ -247,31 +248,31 @@ + struct Equake_Data *equakedata, + char *running, + char *periodtext, +- int period; ++ int period + ); + + static void display_period_window + ( + char *text, +- int period; ++ int period + ); + + static void display_lastperiod + ( +- struct Equake_Data *equakedata; +- int period; ++ struct Equake_Data *equakedata, ++ int period + ); + + static void equake_orientation_changedi + ( + XfcePanelPlugin *applet, + GtkOrientation orientation, +- struct Equake_Data *equakedata; ++ struct Equake_Data *equakedata + ); + + static void equake_size_changed + ( + XfcePanelPlugin *applet, + int size, +- struct Equake_Data *equakedata; ++ struct Equake_Data *equakedata + ); |