Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Apr 2006 14:26:10 +0200
From:      Frank Altpeter <frank@alpteter.de>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/96258: [PATCH] graphics/f-spot calls exec() with arguments
Message-ID:  <E1FY08o-00078h-7G@pegasus.dyndns.info>
Resent-Message-ID: <200604241230.k3OCUIkQ043389@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         96258
>Category:       ports
>Synopsis:       [PATCH] graphics/f-spot calls exec() with arguments
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Apr 24 12:30:17 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Frank Altpeter
>Release:        FreeBSD 6.1-RC i386
>Organization:
>Environment:
System: FreeBSD pegasus.dyndns.info 6.1-RC FreeBSD 6.1-RC #0: Mon Apr 10 17:00:32 CEST 2006 root@pegasus.dyndns.info:/usr/obj/usr/src/sys/kernconf.pegasus i386


	
>Description:
	After installing the new f-spot-0.1.11_1 the program cannot be
	started:

	root@pegasus:/usr/X11R6/bin 0# ./f-spot
	exec: -a: not found

>How-To-Repeat:
	
>Fix:

	/usr/X11R6/bin/f-spot is marked as to be started by /bin/sh,
	which doesn't know "-a [name]" option like the bash exec builtin.
	To prevent having to install bash for this, that option should be
	removed.


Patch (add as files/patch-src_f-spot.in):
------------------------------- eat here ---------------------------------
--- src/f-spot.in.orig	Mon Apr 24 14:18:33 2006
+++ src/f-spot.in	Mon Apr 24 14:18:40 2006
@@ -17,4 +17,4 @@
 	echo "*** Running F-Spot in Debug Mode ***"
 esac
 
-exec -a @PACKAGE@ mono $MONO_OPTIONS $EXE_TO_RUN "$@"
+exec mono $MONO_OPTIONS $EXE_TO_RUN "$@"
------------------------------- eat here ---------------------------------


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1FY08o-00078h-7G>