From owner-svn-ports-head@FreeBSD.ORG Thu Sep 5 21:55:18 2013 Return-Path: Delivered-To: svn-ports-head@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 7E9EA89C; Thu, 5 Sep 2013 21:55:18 +0000 (UTC) (envelope-from marcus@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 6B5822355; Thu, 5 Sep 2013 21:55:18 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r85LtIdv038782; Thu, 5 Sep 2013 21:55:18 GMT (envelope-from marcus@svn.freebsd.org) Received: (from marcus@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r85LtI4B038781; Thu, 5 Sep 2013 21:55:18 GMT (envelope-from marcus@svn.freebsd.org) Message-Id: <201309052155.r85LtI4B038781@svn.freebsd.org> From: Joe Marcus Clarke Date: Thu, 5 Sep 2013 21:55:18 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r326452 - head/x11/gnome-swallow/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-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Sep 2013 21:55:18 -0000 Author: marcus Date: Thu Sep 5 21:55:17 2013 New Revision: 326452 URL: http://svnweb.freebsd.org/changeset/ports/326452 Log: Fix the build with clang. Reported by: pkg-fallout Modified: head/x11/gnome-swallow/files/patch-gnome-swallow.c Modified: head/x11/gnome-swallow/files/patch-gnome-swallow.c ============================================================================== --- head/x11/gnome-swallow/files/patch-gnome-swallow.c Thu Sep 5 21:53:10 2013 (r326451) +++ head/x11/gnome-swallow/files/patch-gnome-swallow.c Thu Sep 5 21:55:17 2013 (r326452) @@ -1,12 +1,20 @@ ---- gnome-swallow.c.orig Fri Sep 12 00:21:55 2003 -+++ gnome-swallow.c Sun Apr 24 00:28:34 2005 -@@ -1,3 +1,5 @@ +--- gnome-swallow.c.orig 2003-09-12 00:21:55.000000000 -0400 ++++ gnome-swallow.c 2013-09-05 17:51:55.000000000 -0400 +@@ -1,5 +1,8 @@ +#include +#include #include #include ++#include #include -@@ -55,7 +57,7 @@ gboolean swallow(char* wantedWindow, Dis + #include + +@@ -51,11 +54,11 @@ gboolean swallow(char* wantedWindow, Dis + struct timeval tv; + char ret; + +- if(! display) return; /* WTF? */ ++ if(! display) return FALSE; /* WTF? */ XSync (display, FALSE); @@ -15,7 +23,7 @@ now = start = (double)tv.tv_sec + ((double)tv.tv_usec / 1000000.0); while (ready == FALSE && now < (start + 10.0)) -@@ -131,7 +133,7 @@ gboolean swallow(char* wantedWindow, Dis +@@ -131,7 +134,7 @@ gboolean swallow(char* wantedWindow, Dis fprintf(stderr,"Loop"); gtk_main_iteration_do(FALSE); @@ -24,7 +32,7 @@ now = (double)tv.tv_sec + ((double)tv.tv_usec / 1000000.0); } -@@ -249,13 +251,13 @@ void exitProgram(GtkWidget* w, gpointer +@@ -249,13 +252,13 @@ void exitProgram(GtkWidget* w, gpointer void forkApplet(struct AppletConfigure* ap) { if(ap->pid > -1) {