This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: CVS 20030612 fail to build for alpha. [PATCH]


On Tuesday 17 June 2003 10:41, Guido Guenther wrote:
> On Tue, Jun 17, 2003 at 12:07:27AM -0400, Balint Cristian wrote:
> > Hi !
> >
> > I tryed to build up glibc-2.3.2-51.src.rpm (RH rawhide one), as CVS is
> > glibc-2.3.2 from 20030612 date.
>
> Attached is what I'm currently using on mips to get it to build again.
> The fix for alpha should be very similar. I'm not sure if this is
> entirely correct though, testsuite is still running.
>  -- Guido

Thanks Guido !
 
It worked for me, things now compile fine and run.

I attach the diff for the list:, [rpbably some maintainers take a look:

[root@alpha glibc-2.3.2-200306120810]# diff -Nru sysdeps/unix/sysv/linux/alpha/xstatconv.c.orig sysdeps/unix/sysv/linux/alpha/xstatconv.c
--- sysdeps/unix/sysv/linux/alpha/xstatconv.c.orig      Thu Jun 12 01:37:05 2003
+++ sysdeps/unix/sysv/linux/alpha/xstatconv.c   Wed Jun 18 02:22:31 2003
@@ -18,11 +18,21 @@
    02111-1307 USA.  */

 #include <errno.h>
-#include <string.h>
 #include <sys/stat.h>
-
+#include <errno.h>
+#include <sys/stat.h>
+#include <kernel_stat.h>
 #include <xstatconv.h>

+#ifdef STAT_IS_KERNEL_STAT
+
+/* Dummy.  */
+struct kernel_stat;
+
+#else
+
+#include <string.h>
+

 int
 __xstat_conv (int vers, struct kernel_stat *kbuf, void *ubuf)
@@ -92,3 +102,4 @@

   return 0;
 }
+#endif



-- 
Life in itself has no meaning. 
Life is an opportunity to create meaning.

              \|/ ____ \|/ 
              "@'/ .. \`@" 
              /_| \__/ |_\ 
                 \__U_/ 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]