Date: Thu, 19 Sep 2013 19:28:31 GMT From: Boris Samorodov <bsam@passap.ru> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/182233: [patch] graphics/eos-movrec: fix build at 10.x and use new LIB_DEPENDS syntax Message-ID: <201309191928.r8JJSVgJ010441@oldred.freebsd.org> Resent-Message-ID: <201309191930.r8JJU0Oj009947@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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 <qapplication.h> ++#include <clocale> + #include "mainwnd.h" + + int main(int argc, char **argv) >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201309191928.r8JJSVgJ010441>