/usr/share/gccxml-0.9/Sun/5.8/std-5.10.patch is in gccxml 0.9.0+cvs20111013-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | diff -r -u old/iso/stdlib_iso.h new/iso/stdlib_iso.h
--- old/iso/stdlib_iso.h Wed May 20 12:02:31 2009
+++ new/iso/stdlib_iso.h Wed May 20 12:01:23 2009
@@ -110,8 +110,10 @@
extern double atof(const char *);
extern int atoi(const char *);
extern long int atol(const char *);
+/* SMOSS 29/08/07
extern void *bsearch(const void *, const void *, size_t, size_t,
int (*)(const void *, const void *));
+*/
#if __cplusplus >= 199711L
extern "C++" {
void *bsearch(const void *, const void *, size_t, size_t,
@@ -131,7 +133,6 @@
extern size_t mbstowcs(wchar_t *_RESTRICT_KYWD, const char *_RESTRICT_KYWD,
size_t);
extern int mbtowc(wchar_t *_RESTRICT_KYWD, const char *_RESTRICT_KYWD, size_t);
-extern void qsort(void *, size_t, size_t, int (*)(const void *, const void *));
#if __cplusplus >= 199711L
extern "C++" {
void qsort(void *, size_t, size_t, int (*)(const void *, const void *));
|