From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Sep 19 19:30:01 2013 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.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 ESMTP id EB44EC83 for ; Thu, 19 Sep 2013 19:30:00 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (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 CA6B6243A for ; Thu, 19 Sep 2013 19:30:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r8JJU0Vq009959 for ; Thu, 19 Sep 2013 19:30:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r8JJU0Oj009947; Thu, 19 Sep 2013 19:30:00 GMT (envelope-from gnats) Resent-Date: Thu, 19 Sep 2013 19:30:00 GMT Resent-Message-Id: <201309191930.r8JJU0Oj009947@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Boris Samorodov 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 93BACC75 for ; Thu, 19 Sep 2013 19:28:32 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from oldred.freebsd.org (oldred.freebsd.org [8.8.178.121]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 67C862431 for ; Thu, 19 Sep 2013 19:28:32 +0000 (UTC) Received: from oldred.freebsd.org ([127.0.1.6]) by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id r8JJSVXI010445 for ; Thu, 19 Sep 2013 19:28:31 GMT (envelope-from nobody@oldred.freebsd.org) Received: (from nobody@localhost) by oldred.freebsd.org (8.14.5/8.14.5/Submit) id r8JJSVgJ010441; Thu, 19 Sep 2013 19:28:31 GMT (envelope-from nobody) Message-Id: <201309191928.r8JJSVgJ010441@oldred.freebsd.org> Date: Thu, 19 Sep 2013 19:28:31 GMT From: Boris Samorodov To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: ports/182233: [patch] graphics/eos-movrec: fix build at 10.x and use new LIB_DEPENDS syntax X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Sep 2013 19:30:01 -0000 >Number: 182233 >Category: ports >Synopsis: [patch] graphics/eos-movrec: fix build at 10.x and use new LIB_DEPENDS syntax >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Thu Sep 19 19:30:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Boris Samorodov >Release: FreeBSD 10-amd64 >Organization: BSDprint >Environment: FreeBSD bb052.int.wart.ru 10.0-ALPHA2 FreeBSD 10.0-ALPHA2 #9 r255677: Thu Sep 19 01:37:48 UTC 2013 bsam@bb052.int.wart.ru:/usr/obj/usr/src/sys/BB64X amd64 >Description: The ports does not build at a fresh CURRENT: ----- [ 15%] Building CXX object CMakeFiles/eos_movrec.dir/main.cpp.o /usr/bin/c++ -DGPHOTO2=1 -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NO_DEBUG -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES=1 -O2 -pipe -fno-strict-aliasing -fexceptions -O2 -pipe -fno-strict-aliasing -DNDEBUG -isystem /usr/local/include/qt4 -isystem /usr/local/include/qt4/QtGui -isystem /usr/local/include/qt4/QtCore -I/usr/local/share/qt4/mkspecs/default -I/wrkdirs/usr/ports/graphics/eos-movrec/work/eos-movrec-0.3.1_beta -I/usr/local/include/gphoto2 -I/usr/local/include -o CMakeFiles/eos_movrec.dir/main.cpp.o -c /wrkdirs/usr/ports/graphics/eos-movrec/work/eos-movrec-0.3.1_beta/main.cpp /wrkdirs/usr/ports/graphics/eos-movrec/work/eos-movrec-0.3.1_beta/main.cpp:30:12: error: use of undeclared identifier 'LC_MESSAGES' setlocale(LC_MESSAGES, "POSIX"); ^ 1 error generated. *** Error code 1 ----- >How-To-Repeat: . install fresh CURRENT; . try to build graphics/eos-movrec. >Fix: . fix build at 10.x; . use new LIB_DEPENDS syntax. Patch attached with submission follows: Index: graphics/eos-movrec/Makefile =================================================================== --- graphics/eos-movrec/Makefile (revision 327613) +++ graphics/eos-movrec/Makefile (working copy) @@ -17,9 +17,10 @@ LICENSE= GPLv2 -LIB_DEPENDS= gphoto2:${PORTSDIR}/graphics/libgphoto2 +LIB_DEPENDS= libgphoto2.so:${PORTSDIR}/graphics/libgphoto2 USE_BZIP2= yes +USE_DOS2UNIX= main.cpp USES= cmake pkgconfig USE_QT4= qmake_build moc_build rcc_build uic_build gui Index: graphics/eos-movrec/files/patch-main.cpp =================================================================== --- graphics/eos-movrec/files/patch-main.cpp (revision 0) +++ graphics/eos-movrec/files/patch-main.cpp (working copy) @@ -0,0 +1,10 @@ +--- main.cpp.orig 2013-09-19 22:25:36.000000000 +0400 ++++ main.cpp 2013-09-19 22:26:10.000000000 +0400 +@@ -19,6 +19,7 @@ + ***************************************************************************/ + + #include ++#include + #include "mainwnd.h" + + int main(int argc, char **argv) >Release-Note: >Audit-Trail: >Unformatted: