View | Details | Raw Unified | Return to bug 177556 | Differences between
and this patch

Collapse All | Expand All

(-)devel/subcommander2/Makefile (-5 / +2 lines)
Lines 19-42 Link Here
19
LATEST_LINK=	subcommander2
19
LATEST_LINK=	subcommander2
20
CONFLICTS=	subcommander-1.*
20
CONFLICTS=	subcommander-1.*
21
21
22
BROKEN=		does not build
23
24
WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION:R:S,.b,b,}p${PORTVERSION:E}
22
WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION:R:S,.b,b,}p${PORTVERSION:E}
25
23
26
USE_DOS2UNIX=	*.cpp *.h
24
USE_DOS2UNIX=	*.cpp *.h
27
USE_QT_VER=	4
25
USE_QT4=	corelib gui network qt3support moc_build rcc_build uic_build
28
QT_COMPONENTS=	corelib gui network qt3support moc_build rcc_build uic_build
29
QT_NONSTANDARD=	yes
26
QT_NONSTANDARD=	yes
30
USE_OPENSSL=	yes
27
USE_OPENSSL=	yes
31
USE_GMAKE=	yes
28
USE_GMAKE=	yes
32
USE_AUTOTOOLS=	aclocal automake autoheader autoconf
29
USE_AUTOTOOLS=	aclocal automake autoheader autoconf
33
ACLOCAL_ARGS=	-I ac-macros
30
ACLOCAL_ARGS=	-I ac-macros
31
AUTOMAKE_ARGS=	--copy --force-missing --foreign
34
CONFIGURE_ARGS=	--with-boost=${LOCALBASE}/include \
32
CONFIGURE_ARGS=	--with-boost=${LOCALBASE}/include \
35
		--with-subversion=${LOCALBASE} --with-qt=${QT_PREFIX} \
33
		--with-subversion=${LOCALBASE} --with-qt=${QT_PREFIX} \
36
		--with-apr=${LOCALBASE}/bin/apr-1-config \
34
		--with-apr=${LOCALBASE}/bin/apr-1-config \
37
		--with-apr-util=${LOCALBASE}/bin/apu-1-config \
35
		--with-apr-util=${LOCALBASE}/bin/apu-1-config \
38
		--with-openssl=${OPENSSLBASE}
36
		--with-openssl=${OPENSSLBASE}
39
40
MAKE_JOBS_SAFE=	yes
37
MAKE_JOBS_SAFE=	yes
41
38
42
CPPFLAGS+=	-I${QT_INCDIR} -I${LOCALBASE}/include ${PTHREAD_CFLAGS}
39
CPPFLAGS+=	-I${QT_INCDIR} -I${LOCALBASE}/include ${PTHREAD_CFLAGS}
(-)devel/subcommander2/files/patch-subcommander__subcommander.cpp (-1 / +1 lines)
Lines 18-24 Link Here
18
     // initialization.
18
     // initialization.
19
 
19
 
20
-    fprintf( stderr, e.getError()->getMessage() );
20
-    fprintf( stderr, e.getError()->getMessage() );
21
+    fprintf( stderr, "%s", e.getError()->getMessage() );
21
+    fprintf( stderr, "%s", e.getError()->getMessage().getStr() );
22
     return EXIT_FAILURE;
22
     return EXIT_FAILURE;
23
   }
23
   }

Return to bug 177556