opnsense-ports/sysutils/cramfs/files/patch-mkcramfs.c
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

12 lines
356 B
C

--- mkcramfs.c.orig Wed Nov 29 12:47:30 2006
+++ mkcramfs.c Wed Nov 29 12:49:25 2006
@@ -36,6 +36,9 @@
#include <linux/cramfs_fs.h>
#include <zlib.h>
+#define MAP_ANONYMOUS MAP_ANON
+typedef long long loff_t;
+
/* Exit codes used by mkfs-type programs */
#define MKFS_OK 0 /* No errors */
#define MKFS_ERROR 8 /* Operational error */