Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 169406 Details for
Bug 243206
patch to allow media-gfx/gthumb-2.10.10 to compile on solaris
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch needed for solaris
gthumb-2.10.10-solaris.patch (text/plain), 861 bytes, created by
Daniel Vergien
on 2008-10-22 12:08:10 UTC
(
hide
)
Description:
patch needed for solaris
Filename:
MIME Type:
Creator:
Daniel Vergien
Created:
2008-10-22 12:08:10 UTC
Size:
861 bytes
patch
obsolete
>diff -ru gthumb-2.10.10.orig/libgthumb/file-utils.c gthumb-2.10.10/libgthumb/file-utils.c >--- gthumb-2.10.10.orig/libgthumb/file-utils.c 2008-10-22 13:18:29.771795250 +0200 >+++ gthumb-2.10.10/libgthumb/file-utils.c 2008-10-22 13:25:10.977704838 +0200 >@@ -2459,12 +2459,18 @@ > template = g_strconcat (best_folder, "/.gth-XXXXXX", NULL); > g_free (best_folder); > >- result = mkdtemp (template); >+ /* mkdtemp not in Solaris 10 */ >+ { >+ int status; > >- if ((result == NULL) || (*result == '\0')) { >- g_free (template); >- result = NULL; >- } >+ result = mktemp(template); >+ status = mkdir (result,0700); >+ >+ if ((result == NULL) || (*result == '\0') || (status != 0)) { >+ g_free (template); >+ result = NULL; >+ } >+ } > > return result; > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 243206
:
169404
| 169406