File babel-2.0.0-64bit-portability.patch of Package babel

diff -urN babel-2.0.0-orig/runtime/sidl/sidlf03array.c babel-2.0.0/runtime/sidl/sidlf03array.c
--- babel-2.0.0-orig/runtime/sidl/sidlf03array.c	2011-09-27 17:40:26.000000000 +0200
+++ babel-2.0.0/runtime/sidl/sidlf03array.c	2012-08-25 20:57:53.466675576 +0200
@@ -75,7 +75,8 @@
   long chasmStride[7];
   int i;
   if (getCompilerCharacteristics()) return 1;
-  dest->d_ior = (ptrdiff_t)ior;
+  ptrdiff_t a = ior;
+  dest->d_ior = &a;
   for(i = 0; i < dimen; ++i){
 #if (SIZEOF_LONG != 4)
     low[i] = (long)lower[i];
openSUSE Build Service is sponsored by