From owner-svn-ports-all@FreeBSD.ORG Fri Aug 2 17:34:40 2013 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 315BBDE1; Fri, 2 Aug 2013 17:34:40 +0000 (UTC) (envelope-from olivierd@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 1EB132275; Fri, 2 Aug 2013 17:34:40 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r72HYdPS012755; Fri, 2 Aug 2013 17:34:39 GMT (envelope-from olivierd@svn.freebsd.org) Received: (from olivierd@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r72HYdxl012752; Fri, 2 Aug 2013 17:34:39 GMT (envelope-from olivierd@svn.freebsd.org) Message-Id: <201308021734.r72HYdxl012752@svn.freebsd.org> From: Olivier Duchateau Date: Fri, 2 Aug 2013 17:34:39 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r324169 - in head/science/xfce4-equake-plugin: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Aug 2013 17:34:40 -0000 Author: olivierd Date: Fri Aug 2 17:34:39 2013 New Revision: 324169 URL: http://svnweb.freebsd.org/changeset/ports/324169 Log: Unbreak with clang Submitted by: Roman Cat (private email) Added: head/science/xfce4-equake-plugin/files/patch-panel-plugin__equake_func.h (contents, props changed) Modified: head/science/xfce4-equake-plugin/Makefile Modified: head/science/xfce4-equake-plugin/Makefile ============================================================================== --- head/science/xfce4-equake-plugin/Makefile Fri Aug 2 17:16:28 2013 (r324168) +++ head/science/xfce4-equake-plugin/Makefile Fri Aug 2 17:34:39 2013 (r324169) @@ -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 Added: head/science/xfce4-equake-plugin/files/patch-panel-plugin__equake_func.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/science/xfce4-equake-plugin/files/patch-panel-plugin__equake_func.h Fri Aug 2 17:34:39 2013 (r324169) @@ -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 + );