]> git.pld-linux.org Git - packages/babel.git/commitdiff
- New file: gcc3 patch for old-style Babel 1.6
authorjaphy <japhy@pld-linux.org>
Mon, 26 Mar 2007 22:19:21 +0000 (22:19 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    babel-gcc3.patch -> 1.1

babel-gcc3.patch [new file with mode: 0644]

diff --git a/babel-gcc3.patch b/babel-gcc3.patch
new file mode 100644 (file)
index 0000000..ba0964a
--- /dev/null
@@ -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++)
+       {
This page took 0.106319 seconds and 4 git commands to generate.