From owner-svn-ports-all@FreeBSD.ORG Tue Apr 22 13:41:54 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 56174436; Tue, 22 Apr 2014 13:41:54 +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 293C917AF; Tue, 22 Apr 2014 13:41:54 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s3MDfswG047800; Tue, 22 Apr 2014 13:41:54 GMT (envelope-from rodrigo@svn.freebsd.org) Received: (from rodrigo@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s3MDfrWJ047798; Tue, 22 Apr 2014 13:41:53 GMT (envelope-from rodrigo@svn.freebsd.org) Message-Id: <201404221341.s3MDfrWJ047798@svn.freebsd.org> From: Rodrigo Osorio Date: Tue, 22 Apr 2014 13:41:53 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r351834 - in head/graphics/ufraw: . 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.17 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: Tue, 22 Apr 2014 13:41:54 -0000 Author: rodrigo Date: Tue Apr 22 13:41:53 2014 New Revision: 351834 URL: http://svnweb.freebsd.org/changeset/ports/351834 QAT: https://qat.redports.org/buildarchive/r351834/ Log: - fix clang issue caused by incorrect namespacing - add dependency - bump portrevision PR: ports/188044 Submitted by: Chris Rees Approved by: bapt (mentor) Obtained from: Macports MFH: 2014Q2 Added: head/graphics/ufraw/files/patch-ufraw.h (contents, props changed) Modified: head/graphics/ufraw/Makefile Modified: head/graphics/ufraw/Makefile ============================================================================== --- head/graphics/ufraw/Makefile Tue Apr 22 13:24:48 2014 (r351833) +++ head/graphics/ufraw/Makefile Tue Apr 22 13:41:53 2014 (r351834) @@ -3,7 +3,7 @@ PORTNAME= ufraw PORTVERSION= 0.19.2 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= graphics MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION} @@ -19,7 +19,7 @@ LIB_DEPENDS= libjpeg.so:${PORTSDIR}/grap GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-silent-rules --enable-extras -USES= gettext pkgconfig gmake +USES= gettext pkgconfig gmake desktop-file-utils CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS} Added: head/graphics/ufraw/files/patch-ufraw.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/ufraw/files/patch-ufraw.h Tue Apr 22 13:41:53 2014 (r351834) @@ -0,0 +1,24 @@ +--- ufraw.h.orig 2014-01-11 11:04:08.000000000 -0800 ++++ ufraw.h 2014-01-11 11:04:54.000000000 -0800 +@@ -41,6 +41,10 @@ + /* An impossible value for conf float values */ + #define NULLF -10000.0 + ++#ifdef __cplusplus ++extern "C" { ++#endif // __cplusplus ++ + /* Options, like auto-adjust buttons can be in 3 states. Enabled and disabled + * are obvious. Apply means that the option was selected and some function + * has to act accourdingly, before changing to one of the first two states */ +@@ -78,10 +82,6 @@ extern UFName ufRawImage; + extern UFName ufRawResources; + extern UFName ufCommandLine; + +-#ifdef __cplusplus +-extern "C" { +-#endif // __cplusplus +- + UFObject *ufraw_image_new(); + #ifdef HAVE_LENSFUN + UFObject *ufraw_lensfun_new();