Index: head/deskutils/easystroke/Makefile =================================================================== --- head/deskutils/easystroke/Makefile (revision 531757) +++ head/deskutils/easystroke/Makefile (revision 531758) @@ -1,54 +1,54 @@ # Created by: Tobias Kortkamp # $FreeBSD$ PORTNAME= easystroke PORTVERSION= 0.6.0 -PORTREVISION= 21 +PORTREVISION= 22 CATEGORIES= deskutils MASTER_SITES= SF MAINTAINER= ports@FreeBSD.org COMMENT= Easystroke is a gesture-recognition application for X11 LICENSE= ISCL LICENSE_FILE= ${WRKSRC}/LICENSE BROKEN_FreeBSD_11_powerpc64= fails to build on powerpc64 elfv1: handler.cc:560:27: call of overloaded 'abs(float&)' is ambiguous BROKEN_FreeBSD_12_powerpc64= fails to build on powerpc64 elfv1: handler.cc:560:27: call of overloaded 'abs(float&)' is ambiguous BUILD_DEPENDS= help2man:misc/help2man \ ${LOCALBASE}/include/xorg/xserver-properties.h:x11-servers/xorg-server LIB_DEPENDS= libdbus-1.so:devel/dbus \ libdbus-glib-1.so:devel/dbus-glib \ libboost_serialization.so:devel/boost-libs USES= compiler:c++11-lang gettext gmake gnome pkgconfig xorg USE_GNOME= gtkmm30 USE_XORG= x11 xext xfixes xi xtst USE_CXXSTD= c++11 INSTALLS_ICONS= yes OPTIONS_DEFINE= NLS OPTIONS_SUB= yes NLS_BUILD_DEPENDS= intltool-merge:textproc/intltool NLS_ALL_TARGET= easystroke.desktop all man # This builds easystroke without translations NLS_ALL_TARGET_OFF= man # Create a .desktop file without translations. # It's usually created by intltool-merge during the build. pre-build-NLS-off: @${CP} ${WRKSRC}/${PORTNAME}.desktop.in ${WRKSRC}/${PORTNAME}.desktop do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.desktop ${STAGEDIR}${PREFIX}/share/applications/ ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.svg ${STAGEDIR}${PREFIX}/share/pixmaps/ ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MAN1PREFIX}/man/man1 do-install-NLS-on: (cd ${WRKSRC}/po/ && \ ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/share/locale/ "-name *.mo") .include Index: head/deskutils/easystroke/files/patch-actiondb.cc =================================================================== --- head/deskutils/easystroke/files/patch-actiondb.cc (nonexistent) +++ head/deskutils/easystroke/files/patch-actiondb.cc (revision 531758) @@ -0,0 +1,20 @@ +--- actiondb.cc.orig 2013-03-27 15:52:38 UTC ++++ actiondb.cc +@@ -118,14 +118,9 @@ template void StrokeInfo::serialize(Arc + using namespace std; + + void Command::run() { +- pid_t pid = fork(); +- switch (pid) { +- case 0: +- execlp("/bin/sh", "sh", "-c", cmd.c_str(), NULL); +- exit(1); +- case -1: +- printf(_("Error: can't execute command \"%s\": fork() failed\n"), cmd.c_str()); +- } ++ gchar* argv[] = {(gchar*) "/bin/sh", (gchar*) "-c", NULL, NULL}; ++ argv[2] = (gchar *) cmd.c_str(); ++ g_spawn_async(NULL, argv, NULL, G_SPAWN_SEARCH_PATH, NULL, NULL, NULL, NULL); + } + + ButtonInfo Button::get_button_info() const { Property changes on: head/deskutils/easystroke/files/patch-actiondb.cc ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property