From owner-svn-ports-all@FreeBSD.ORG Sat Jun 14 14:56:36 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9AD01C28; Sat, 14 Jun 2014 14:56:36 +0000 (UTC) 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)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 87C7925C0; Sat, 14 Jun 2014 14:56:36 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s5EEua8d018777; Sat, 14 Jun 2014 14:56:36 GMT (envelope-from zeising@svn.freebsd.org) Received: (from zeising@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s5EEuaKa018776; Sat, 14 Jun 2014 14:56:36 GMT (envelope-from zeising@svn.freebsd.org) Message-Id: <201406141456.s5EEuaKa018776@svn.freebsd.org> From: Niclas Zeising Date: Sat, 14 Jun 2014 14:56:36 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r357786 - head/x11/fireflies/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.18 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: Sat, 14 Jun 2014 14:56:36 -0000 Author: zeising Date: Sat Jun 14 14:56:36 2014 New Revision: 357786 URL: http://svnweb.freebsd.org/changeset/ports/357786 QAT: https://qat.redports.org/buildarchive/r357786/ Log: Fix build on CURRENT. Modified: head/x11/fireflies/files/patch-src-main.cc Modified: head/x11/fireflies/files/patch-src-main.cc ============================================================================== --- head/x11/fireflies/files/patch-src-main.cc Sat Jun 14 14:45:45 2014 (r357785) +++ head/x11/fireflies/files/patch-src-main.cc Sat Jun 14 14:56:36 2014 (r357786) @@ -1,5 +1,5 @@ ---- src/main.cc 2003-06-23 16:55:04.000000000 -0400 -+++ src/main.cc 2013-05-13 14:24:28.000000000 -0400 +--- src/main.cc.orig 2003-06-23 22:55:04.000000000 +0200 ++++ src/main.cc 2014-06-13 19:00:33.000000000 +0200 @@ -15,8 +15,10 @@ #ifdef WIN32 #include @@ -20,6 +20,24 @@ // mingw doesn't have argp. implement half-assed version #define OPTION_HIDDEN 1 +@@ -131,7 +133,7 @@ + return -1; + } + else if (opt[0] == 'V') { +- extern char *argp_program_version; ++ extern const char *argp_program_version; + cerr << argp_program_version << endl; + return -1; + } +@@ -154,7 +156,7 @@ + return -1; + } + else if (strcmp(opt, "version") == 0) { +- extern char *argp_program_version; ++ extern const char *argp_program_version; + cerr << argp_program_version << endl; + return -1; + } @@ -187,7 +189,7 @@ #define OPT_FPS 2 #define OPT_FASTFORWARD 3