freebsd-ports/comms/gfax/files/patch-gfax.in
Jeremy Messenger 012d5a9a10 -Update to 0.7.3.
-Remove the IGNORE, it doesn't crash anymore with Mono 1.1.7.

BSD# - Project by:	http://www.mono-project.com/Mono:FreeBSD
2005-05-16 06:33:05 +00:00

27 lines
717 B
Text

--- gfax.in.orig Mon Jan 31 18:03:09 2005
+++ gfax.in Thu May 12 18:12:41 2005
@@ -11,19 +11,19 @@
# CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECT-
# ION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#
-RNAME=G$$
# don't change this spool directory, gfax uses it.
-SPOOL_DIR=@eprefix@/var/spool/gfax
+SPOOL_DIR=/var/spool/gfax
+RNAME=`mktemp -q $SPOOL_DIR/D.XXXXXX` || exit 1
STD=no
if [ -s /dev/stdin ]; then
- cat > $SPOOL_DIR/D.$RNAME
+ cat > $RNAME
STD=yes
fi
if [ $STD = "yes" ]; then
- exec mono @prefix@/lib/gfax/gfax.exe -f $SPOOL_DIR/D.$RNAME &
- #rm -f $SPOOL_DIR/D.$RNAME
+ exec mono @prefix@/lib/gfax/gfax.exe -f $RNAME &
+ #rm -f $RNAME
exit 0
fi