Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 68005 Details for
Bug 93387
cabextract fails to compile due to missing safe-ctype.h
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
removes requirement for safe-ctype.h
cabextract-uclibc.patch (text/plain), 1.39 KB, created by
Rande Knight
on 2005-09-09 05:52:05 UTC
(
hide
)
Description:
removes requirement for safe-ctype.h
Filename:
MIME Type:
Creator:
Rande Knight
Created:
2005-09-09 05:52:05 UTC
Size:
1.39 KB
patch
obsolete
>--- cabextract/fnmatch.c.orig 2005-01-22 06:16:14.000000000 +0000 >+++ cabextract/fnmatch.c 2005-01-22 06:20:56.000000000 +0000 >@@ -45,7 +45,6 @@ > > #include <errno.h> > #include <fnmatch.h> >-#include <safe-ctype.h> > > /* Comment out all this code if we are using the GNU C Library, and are not > actually compiling the library itself. This code is part of the GNU C >@@ -55,7 +54,7 @@ > program understand `configure --with-gnu-libc' and omit the object files, > it is simpler to just do this in the source for each such file. */ > >-#if defined (_LIBC) || !defined (__GNU_LIBRARY__) >+//#if defined (_LIBC) || !defined (__GNU_LIBRARY__) > > > #if !defined(__GNU_LIBRARY__) && !defined(STDC_HEADERS) >@@ -65,7 +64,7 @@ > /* Match STRING against the filename pattern PATTERN, returning zero if > it matches, nonzero if not. */ > int >-fnmatch (pattern, string, flags) >+rpl_fnmatch (pattern, string, flags) > const char *pattern; > const char *string; > int flags; >@@ -73,7 +72,7 @@ > register const char *p = pattern, *n = string; > register unsigned char c; > >-#define FOLD(c) ((flags & FNM_CASEFOLD) ? TOLOWER (c) : (c)) >+#define FOLD(c) ((flags & FNM_CASEFOLD) ? tolower (c) : (c)) > > while ((c = *p++) != '\0') > { >@@ -220,4 +219,4 @@ > return FNM_NOMATCH; > } > >-#endif /* _LIBC or not __GNU_LIBRARY__. */ >+//#endif /* _LIBC or not __GNU_LIBRARY__. */
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 93387
: 68005