You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/sys-boot/quik/files/headers.patch

34 lines
991 B

--- util/elfextract.c.bak 2006-12-04 23:08:33.000000000 -0500
+++ util/elfextract.c 2006-12-04 23:08:45.000000000 -0500
@@ -6,7 +6,7 @@
#include <stdio.h>
#include <stdlib.h>
#define __KERNEL__
-#include <linux/elf.h>
+#include <elf.h>
FILE *fi, *fo;
char *ni, *no;
--- second/quik.h.bak 2006-12-04 23:10:08.000000000 -0500
+++ second/quik.h 2006-12-04 23:10:12.000000000 -0500
@@ -26,7 +26,7 @@
int tolower(int c);
int stricmp(const char *s1, const char *s2);
int strncmp(const char * cs,const char * ct,size_t count);
-int strlen(const char *s1);
+// int strlen(const char *s1);
char *strcpy(char * dest,const char *src);
char *strncpy(char * dest,const char *src,size_t count);
char *strchr(const char * s, int c);
--- second/misc.c.bak 2010-02-09 22:18:47.000000000 -0500
+++ second/misc.c 2010-02-09 22:18:52.000000000 -0500
@@ -11,7 +11,7 @@
*/
#include <linux/kernel.h>
-#include <asm/page.h>
+// #include <asm/page.h>
#include <sys/types.h>
#include "setjmp.h"