Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 49966 Details for
Bug 80110
glib2 does not build with iconv support disabled
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
glib-2.4.6-no_iconv.patch
glib-2.4.6-no_iconv.patch (text/plain), 652 bytes, created by
solar (RETIRED)
on 2005-01-30 11:07:40 UTC
(
hide
)
Description:
glib-2.4.6-no_iconv.patch
Filename:
MIME Type:
Creator:
solar (RETIRED)
Created:
2005-01-30 11:07:40 UTC
Size:
652 bytes
patch
obsolete
>--- glib/gconvert.c.mps Tue Sep 21 21:19:41 2004 >+++ glib/gconvert.c Tue Sep 21 21:18:01 2004 >@@ -22,7 +22,9 @@ > > #include "config.h" > >+#ifdef HAVE_ICONV_H > #include <iconv.h> >+#endif > #include <errno.h> > #include <stdio.h> > #include <string.h> >@@ -49,6 +49,24 @@ > #error GNU libiconv not in use but included iconv.h is from libiconv > #endif > >+#ifndef HAVE_ICONV_H >+typedef void *iconv_t; >+ >+static iconv_t iconv_open(const char *tocode, const char *fromcode) >+{ >+ return (iconv_t)(-1); >+} >+ >+static int iconv_close(iconv_t cd) >+{ >+ free(cd); >+ >+ return 0; >+} >+ >+static size_t iconv() {return 0;} >+#endif >+ > GQuark > g_convert_error_quark (void) > {
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 80110
:
49965
| 49966 |
49967
|
50027
|
50138
|
50145