diff -urN /usr/ports/graphics/gtimelapse/Makefile graphics/gtimelapse/Makefile --- /usr/ports/graphics/gtimelapse/Makefile 2013-11-06 22:02:09.000000000 +0900 +++ graphics/gtimelapse/Makefile 2013-12-17 00:00:00.000000000 +0900 @@ -8,19 +8,23 @@ MASTER_SITES= SF/${PORTNAME}/Relase # yes, this is not a typo (here) MAINTAINER= ports@FreeBSD.org -COMMENT= An application for capturing images to generate timelapse videos +COMMENT= Application for capturing images to generate timelapse videos LICENSE= GPLv2 -LIB_DEPENDS= gphoto2.2:${PORTSDIR}/graphics/libgphoto2 +LIB_DEPENDS= libgphoto2.so:${PORTSDIR}/graphics/libgphoto2 + +WRKSRC= ${WRKDIR}/${PORTNAME} -GNU_CONFIGURE= yes -CONFIGURE_ARGS= --with-wx-config=${WX_CONFIG} USES= pkgconfig USE_WX= 2.8+ -WRKSRC= ${WRKDIR}/${PORTNAME} +WX_CONF_ARGS= absolute +USE_AUTOTOOLS= libtoolize aclocal automake autoconf +LIBTOOLIZE_ARGS=--copy --force +AUTOMAKE_ARGS= --add-missing --copy PLIST_FILES= bin/${PORTNAME} -NO_STAGE= yes +DESKTOP_ENTRIES="gTimelapse" "" "" "${PORTNAME}" "Graphics;GTK;" "" + .include <bsd.port.mk> diff -urN /usr/ports/graphics/gtimelapse/files/patch-src__gtimelapse.cpp graphics/gtimelapse/files/patch-src__gtimelapse.cpp --- /usr/ports/graphics/gtimelapse/files/patch-src__gtimelapse.cpp 1970-01-01 09:00:00.000000000 +0900 +++ graphics/gtimelapse/files/patch-src__gtimelapse.cpp 2013-12-17 00:00:00.000000000 +0900 @@ -0,0 +1,25 @@ +--- src/gtimelapse.cpp.orig ++++ src/gtimelapse.cpp +@@ -155,7 +155,11 @@ + //cout << "type: RADIO" << endl; + //cout << "current: " << current << endl; + ++#ifdef __clang__ ++ wxString *choices = new wxString[cnt]; ++#else + wxString choices[cnt]; ++#endif + + for ( i=0; i<cnt; i++) { + const char *choice; +@@ -165,6 +169,10 @@ + choices[i] = mystring; + } + ++#ifdef __clang__ ++ delete [] choices; ++#endif ++ + wxString title(label, wxConvUTF8); + wxString default_choice(current, wxConvUTF8); + wxString choice_label(uselabel, wxConvUTF8);