aboutsummaryrefslogtreecommitdiff
path: root/security/cfs/files/patch-cfs.h
diff options
context:
space:
mode:
authorFlorent Thoumie <flz@FreeBSD.org>2005-04-12 09:06:25 +0000
committerFlorent Thoumie <flz@FreeBSD.org>2005-04-12 09:06:25 +0000
commit84dee8dde88b73b2e13dba2a7e117655103732f0 (patch)
treeaf57ee5943fc53988e7e936954a943ccbdff1b07 /security/cfs/files/patch-cfs.h
parent2a6230f941145a41b174c031e2e9c8184eaf5903 (diff)
downloadports-84dee8dde88b73b2e13dba2a7e117655103732f0.tar.gz
ports-84dee8dde88b73b2e13dba2a7e117655103732f0.zip
- Merge and split existing patch-a[a-f] files.
- Fix types issues on 64-bits architectures. PR: ports/75878 Submitted by: Ville-Pertti Keinonen <will@exomi.com> Approved by: maintainer timeout (3 months)
Notes
Notes: svn path=/head/; revision=133129
Diffstat (limited to 'security/cfs/files/patch-cfs.h')
-rw-r--r--security/cfs/files/patch-cfs.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/security/cfs/files/patch-cfs.h b/security/cfs/files/patch-cfs.h
new file mode 100644
index 000000000000..f1e42ec1f9e5
--- /dev/null
+++ b/security/cfs/files/patch-cfs.h
@@ -0,0 +1,27 @@
+
+$FreeBSD$
+
+--- cfs.h.orig
++++ cfs.h
+@@ -23,6 +23,8 @@
+ #include "safer.h"
+ #include "cfs_bf.h"
+
++#include <inttypes.h>
++
+ #define H_REG 0
+ #define H_ATTACH 0 /* same as regular */
+ #define H_ROOT 1
+@@ -57,10 +59,10 @@
+ u_char magic[8];/* 0x0123456789abcdef */
+ u_short htype; /* 0=reg, 1=attachpt, 2=root(but notused) */
+ u_short instance; /* which attach */
+- u_long fileid; /* inode # */
++ uint32_t fileid; /* inode # */
+ u_char check[8];/* we just encrypt the date and copy it here */
+ #ifdef SHORTLINKS
+- u_long linkid; /* To uniquify short links */
++ uint32_t linkid; /* To uniquify short links */
+ u_char pad[4]; /* empty */
+ #else
+ u_char pad[8]; /* empty */