Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 122984 Details for
Bug 135304
xv fails to create directory .xvpics
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
files/xv-3.10a-osx-bsd-20070520.patch
xv-3.10a-osx-bsd-20070520.patch (text/plain), 1.44 KB, created by
Joe Peterson (RETIRED)
on 2007-06-24 21:50:33 UTC
(
hide
)
Description:
files/xv-3.10a-osx-bsd-20070520.patch
Filename:
MIME Type:
Creator:
Joe Peterson (RETIRED)
Created:
2007-06-24 21:50:33 UTC
Size:
1.44 KB
patch
obsolete
>--- xv.h~ 2007-06-24 14:30:42 -0600 >+++ xv.h 2007-06-24 14:42:04 -0600 >@@ -158,7 +158,7 @@ > > #ifndef VMS > # include <errno.h> >-# ifndef __NetBSD__ >+# if !defined(__NetBSD__) && !defined(__FreeBSD__) && !defined(__APPLE__) > # if !(defined __GLIBC__ && __GLIBC__ >= 2) > extern int errno; /* SHOULD be in errno.h, but often isn't */ > extern char *sys_errlist[]; /* this too... */ >@@ -171,7 +171,7 @@ > #ifdef VMS > # define ERRSTR(x) strerror(x, vaxc$errno) > #else >-# if defined(__BEOS__) || defined(__linux__) /* or all modern/glibc systems? */ >+# if defined(__BEOS__) || defined(__linux__) || defined(__APPLE__) /* or all modern/glibc systems? */ > # define ERRSTR(x) strerror(x) > # else > # define ERRSTR(x) sys_errlist[x] >@@ -206,6 +206,8 @@ > #ifdef NEED_MALLOC_H > # if defined(hp300) || defined(hp800) || defined(NeXT) > # include <sys/malloc.h> /* it's in "sys" on HPs and NeXT */ >+# elif defined(__APPLE__) >+# include <malloc/malloc.h> > # else > # include <malloc.h> > # endif >@@ -369,7 +371,7 @@ > * them later. */ > #ifndef VMS /* VMS hates multi-line definitions */ > # if defined(__linux__) || defined(__OpenBSD__) || defined(__NetBSD__) || \ >- defined(__bsdi__) >+ defined(__FreeBSD__) || defined(__bsdi__) || defined(__APPLE__) > # ifndef USE_MKSTEMP > # define USE_MKSTEMP /* use 'mkstemp()' instead of 'mktemp()' */ > # endif /* >> SECURITY ISSUE << */
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 135304
:
122983
| 122984 |
122985
|
122987