aboutsummaryrefslogtreecommitdiffstats
path: root/main/ocfs2-tools/ocfs2-tools-1.6.4-umode_t.patch
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2013-01-07 12:47:50 +0100
committerCarlo Landmeter <clandmeter@gmail.com>2013-01-07 12:47:50 +0100
commitb6226d09b1cd479150a69861bc35ef8ee79038ee (patch)
tree9bc78ce6b46e65ab91109a208c81c480b4296c74 /main/ocfs2-tools/ocfs2-tools-1.6.4-umode_t.patch
parentefab697c63d275c149f9d9226efe7b9aed1966e8 (diff)
downloadaports-b6226d09b1cd479150a69861bc35ef8ee79038ee.tar.bz2
aports-b6226d09b1cd479150a69861bc35ef8ee79038ee.tar.xz
main/ocfs2-tools: fix build on eglibc
Diffstat (limited to 'main/ocfs2-tools/ocfs2-tools-1.6.4-umode_t.patch')
-rw-r--r--main/ocfs2-tools/ocfs2-tools-1.6.4-umode_t.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/main/ocfs2-tools/ocfs2-tools-1.6.4-umode_t.patch b/main/ocfs2-tools/ocfs2-tools-1.6.4-umode_t.patch
new file mode 100644
index 0000000000..fb8b714082
--- /dev/null
+++ b/main/ocfs2-tools/ocfs2-tools-1.6.4-umode_t.patch
@@ -0,0 +1,12 @@
+--- ocfs2-tools-1.6.4/include/ocfs2-kernel/ocfs2_fs.h 2010-12-29 07:30:55.000000000 +0100
++++ ocfs2-tools-1.6.4.n/include/ocfs2-kernel/ocfs2_fs.h 2012-04-23 19:13:46.402253336 +0200
+@@ -1638,7 +1638,7 @@
+ }
+
+ static inline void ocfs2_set_de_type(struct ocfs2_dir_entry *de,
+- umode_t mode)
++ unsigned short mode)
+ {
+ de->file_type = ocfs2_type_by_mode[(mode & S_IFMT)>>S_SHIFT];
+ }
+