mirror of
https://git.freebsd.org/ports.git
synced 2025-06-27 23:50:30 -04:00
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)
15 lines
427 B
C
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;
|