Browse Source

Rene Rebe:


			
			
				rocklinux
			
			
		
Rene Rebe 21 years ago
parent
commit
711e6e5caf
3 changed files with 88 additions and 0 deletions
  1. +34
    -0
      package/base/ncompress/gcc34.patch
  2. +15
    -0
      package/base/tree/gcc34.patch
  3. +39
    -0
      package/rene/cdparanoia/gcc34.patch

+ 34
- 0
package/base/ncompress/gcc34.patch

@ -0,0 +1,34 @@
Some glibc-2.3.4 / gcc-3.4 changes.
- Rene Rebe <rene@rocklinux.org>
--- ncompress-4.2.4/compress42.c.orig 2004-05-03 19:39:12.000000000 +0200
+++ ncompress-4.2.4/compress42.c 2004-05-03 19:42:08.000000000 +0200
@@ -172,7 +172,7 @@
extern void *malloc LARGS((int));
extern void free LARGS((void *));
#ifndef _IBMR2
- extern int open LARGS((char const *,int,...));
+ /* extern int open LARGS((const char *,int,...)); */
#endif
extern int close LARGS((int));
extern int read LARGS((int,void *,int));
@@ -638,7 +638,7 @@
} ;
#endif
-void main ARGS((int,char **));
+int main ARGS((int,char **));
void Usage ARGS((void));
void comprexx ARGS((char **));
void compdir ARGS((char *));
@@ -691,7 +691,7 @@
* deterministic, and can be done on the fly. Thus, the decompression
* procedure needs no input table, but tracks the way the table was built.
*/
-void
+int
main(argc, argv)
REG1 int argc;
REG2 char *argv[];

+ 15
- 0
package/base/tree/gcc34.patch

@ -0,0 +1,15 @@
The usual gcc-3.4 fixes.
- Rene Rebe <rene@rocklinux.org>
--- tree-1.4/tree.c.orig 2004-05-03 19:31:28.000000000 +0200
+++ tree-1.4/tree.c 2004-05-03 19:30:48.000000000 +0200
@@ -1082,6 +1082,7 @@
case '"':
case '?':
case '+':
+ ((void)0);
}
}
}

+ 39
- 0
package/rene/cdparanoia/gcc34.patch

@ -0,0 +1,39 @@
The usual gcc-3.4 fixes.
Rene Rebe <rene@rocklinux.org>
--- cdparanoia-III-alpha9.8-orig/interface/utils.h 2000-04-20 00:41:04.000000000 +0200
+++ cdparanoia-III-alpha9.8/interface/utils.h 2004-05-03 21:29:26.000000000 +0200
@@ -112,6 +112,7 @@
break;
case CDDA_MESSAGE_FORGETIT:
default:
+ ((void)0);
}
}
}
@@ -127,6 +128,7 @@
break;
case CDDA_MESSAGE_FORGETIT:
default:
+ ((void)0);
}
}
}
@@ -169,6 +171,7 @@
break;
case CDDA_MESSAGE_FORGETIT:
default:
+ ((void)0);
}
}
if(malloced)free(buffer);
@@ -205,6 +208,7 @@
break;
case CDDA_MESSAGE_FORGETIT:
default:
+ ((void)0);
}
}
if(malloced)free(buffer);

Loading…
Cancel
Save