Browse Source

a sparc specific glibc patch (disable a header since gdb does really not

like the redefinitions in it ...)
and gcc3-cross does officially only provide a KCC ...


git-svn-id: http://www.rocklinux.org/svn/rock-linux/trunk@997 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc
rocklinux
Rene Rebe 21 years ago
parent
commit
ae96d50f50
2 changed files with 18 additions and 1 deletions
  1. +1
    -1
      package/base/gcc3-cross/gcc3-cross.desc
  2. +17
    -0
      package/base/glibc23/sparc-gdb_fix.patch

+ 1
- 1
package/base/gcc3-cross/gcc3-cross.desc

@ -36,7 +36,7 @@
[M] Clifford Wolf <clifford@clifford.at>
[C] base/development
[F] DIETLIBC CC KCC CXX F77
[F] DIETLIBC KCC
[E] group compiler

+ 17
- 0
package/base/glibc23/sparc-gdb_fix.patch

@ -0,0 +1,17 @@
--- glibc-2.3.2/sysdeps/unix/sysv/linux/sparc/sys/ucontext.h.orig 2003-08-03 19:45:12.000000000 +0000
+++ glibc-2.3.2/sysdeps/unix/sysv/linux/sparc/sys/ucontext.h 2003-08-03 19:47:29.000000000 +0000
@@ -19,6 +19,8 @@
#ifndef _SYS_UCONTEXT_H
#define _SYS_UCONTEXT_H 1
+#ifdef __GLIBC__
+
#include <features.h>
#include <signal.h>
#include <bits/wordsize.h>
@@ -267,4 +269,5 @@
} ucontext_t;
#endif /* __WORDSIZE == 32 */
+#ennif /* __GLIBC__ */
#endif /* sys/ucontext.h */

Loading…
Cancel
Save