ports/sysutils/squashfs-tools/files/patch-squashfs-tools_unsquashfs.c
Rene Ladan 8a407131f8 Squashfs is a compressed read-only filesystem for Linux. Squashfs is
intended for general read-only filesystem use, for archival use (i.e.
in cases where a .tar.gz file may be used), and in constrained block
device/memory systems (e.g. embedded systems) where low overhead is
needed. The filesystem is currently stable, and has been tested on
PowerPC, i586, Sparc and ARM architectures.

squashfs-tools are the set of tools to manipulate squashfs images.

WWW:	http://squashfs.sourceforge.net/

PR:		ports/145914
Submitted by:	Ashish SHUKLA <wahjava at gmail.com>
Approved by:	tabthorpe (mentor)
2010-05-05 18:19:43 +00:00

15 lines
427 B
C

$FreeBSD$
--- squashfs-tools/unsquashfs.c.orig 2009-04-05 23:23:06.000000000 +0200
+++ squashfs-tools/unsquashfs.c 2010-04-29 17:48:22.000000000 +0200
@@ -26,6 +26,10 @@
#include "squashfs_compat.h"
#include "read_fs.h"
+#ifdef __FreeBSD__
+#include <sys/sysctl.h>
+#endif
+
struct cache *fragment_cache, *data_cache;
struct queue *to_reader, *to_deflate, *to_writer, *from_writer;
pthread_t *thread, *deflator_thread;