diff options
Diffstat (limited to 'sci-chemistry/babel/files/babel-1.6-gcc32.diff')
-rw-r--r-- | sci-chemistry/babel/files/babel-1.6-gcc32.diff | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/sci-chemistry/babel/files/babel-1.6-gcc32.diff b/sci-chemistry/babel/files/babel-1.6-gcc32.diff new file mode 100644 index 000000000000..ba0964af5352 --- /dev/null +++ b/sci-chemistry/babel/files/babel-1.6-gcc32.diff @@ -0,0 +1,28 @@ +--- block.c.orig Sun Sep 15 04:51:13 2002 ++++ block.c Sun Sep 15 04:58:04 2002 +@@ -99,7 +99,12 @@ + void *array; + + /* calc how much space we are gonna need */ ++#ifdef __va_copy ++ __va_copy (ap, initap); ++#else + ap = initap; ++#endif ++ + size = 0; + for(i=0; types[i] != '\0'; i++) + { +@@ -116,7 +121,12 @@ + /* set up the ptrs if we can alloc the memory */ + if(*handle != NULL) + { ++#ifdef __va_copy ++ __va_copy (ap, initap); ++#else + ap = initap; ++#endif ++ + ptr = 0; + for(i=0; types[i] != '\0'; i++) + { |