guile/guile-1.6.10-mktemp.patch
Matthias Mailänder c91531aaa7 Accepting request 412615 from home:sleep_walker:branches:devel:languages:misc
- updated to 2.0.12:
   ** FFI: Add support for functions that set 'errno'
   ** The #!r6rs directive now influences read syntax
   ** 'read' now accepts "\(" as equivalent to "("
   ** SRFI-14 character data set upgraded to Unicode 8.0.0
   ** SRFI-19 table of leap seconds updated
   ** 'string-hash', 'read-string', and 'write' have been optimized
   ** GOOPS bug fix for inherited accessor methods
   for complete list of changes see NEWS
- refreshed patches
- add key of Andy Wingo to guile.keyring

OBS-URL: https://build.opensuse.org/request/show/412615
OBS-URL: https://build.opensuse.org/package/show/devel:languages:misc/guile?expand=0&rev=80
2016-07-21 20:01:41 +00:00

15 lines
603 B
Diff

Index: libguile/guile-snarf.in
===================================================================
--- libguile/guile-snarf.in.orig 2016-07-21 14:25:17.474695839 +0200
+++ libguile/guile-snarf.in 2016-07-21 14:25:22.894645638 +0200
@@ -87,8 +87,7 @@
cpp_ok_p=false
if [ x"$TMPDIR" = x ]; then TMPDIR="/tmp" ; else : ; fi
-tempdir="$TMPDIR/guile-snarf.$$"
-(umask 077 && mkdir $tempdir) || exit 1
+tempdir=$(mktemp -d -q "$TMPDIR/snarf.XXXXXX") || { echo >&2 "guile-snarf: can not create temporary file"; exit 1; }
temp="$tempdir/tmp"
if [ x"$CPP" = x ] ; then cpp="@CPP@" ; else cpp="$CPP" ; fi