projects
/
openwrt
/
staging
/
hauke.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4ad8aa5
)
yaffs2: fix compilation on FreeBSD
author
Jo-Philipp Wich
<jow@openwrt.org>
Thu, 22 Jul 2010 02:59:14 +0000
(
02:59
+0000)
committer
Jo-Philipp Wich
<jow@openwrt.org>
Thu, 22 Jul 2010 02:59:14 +0000
(
02:59
+0000)
SVN-Revision: 22345
tools/yaffs2/patches/100-compile.patch
patch
|
blob
|
history
diff --git
a/tools/yaffs2/patches/100-compile.patch
b/tools/yaffs2/patches/100-compile.patch
index 154f3895b7f199cba7d0506d04aa085ea4656621..2f83e1fff2d5bd6ee0e49dde02c2c58d7f4402b2 100644
(file)
--- a/
tools/yaffs2/patches/100-compile.patch
+++ b/
tools/yaffs2/patches/100-compile.patch
@@
-112,3
+112,14
@@
//printf("Processing directory %s into image file %s\n",argv[1],argv[2]);
error = write_object_header(1, YAFFS_OBJECT_TYPE_DIRECTORY, &stats, 1,"", -1, NULL);
if(error)
+--- a/yaffs2/devextras.h
++++ b/yaffs2/devextras.h
+@@ -37,7 +37,7 @@ typedef unsigned char __u8;
+ typedef unsigned short __u16;
+ typedef unsigned __u32;
+
+-#if defined(__APPLE__)
++#if defined(__APPLE__) || defined(__FreeBSD__)
+ typedef long long loff_t;
+ #endif
+