summaryrefslogtreecommitdiff
path: root/sysutils/squashfs-tools/files/patch-squashfs-tools_unsquashfs.c
diff options
context:
space:
mode:
authorAshish SHUKLA <ashish@FreeBSD.org>2012-05-06 03:04:23 +0000
committerAshish SHUKLA <ashish@FreeBSD.org>2012-05-06 03:04:23 +0000
commit60e2a2226bef96b4ebe988118a92b05957fde25d (patch)
treecc76d61a1b3e493fc2f0f2af1ba0a0b9d8c77cea /sysutils/squashfs-tools/files/patch-squashfs-tools_unsquashfs.c
parent- Pet portlint except 'only one MASTER_SITE configured' (diff)
- Update to 4.2[1]
- Add OPTIONS - Add LICENSE information - Fix building on clang - Remove patch-warnings (integrated upstream)[1] PR: ports/166646[1] Submitted by: Alex Kozlov <soam@rm-rf.kiev.ua>[1]
Notes
Notes: svn path=/head/; revision=296067
Diffstat (limited to 'sysutils/squashfs-tools/files/patch-squashfs-tools_unsquashfs.c')
-rw-r--r--sysutils/squashfs-tools/files/patch-squashfs-tools_unsquashfs.c16
1 files changed, 11 insertions, 5 deletions
diff --git a/sysutils/squashfs-tools/files/patch-squashfs-tools_unsquashfs.c b/sysutils/squashfs-tools/files/patch-squashfs-tools_unsquashfs.c
index 5f151a9d7855..a67b8778678f 100644
--- a/sysutils/squashfs-tools/files/patch-squashfs-tools_unsquashfs.c
+++ b/sysutils/squashfs-tools/files/patch-squashfs-tools_unsquashfs.c
@@ -1,10 +1,16 @@
$FreeBSD$
---- unsquashfs.c 2009-04-05 23:23:06.000000000 +0200
-+++ unsquashfs.c 2010-04-29 17:48:22.000000000 +0200
-@@ -26,6 +26,10 @@
- #include "squashfs_compat.h"
- #include "read_fs.h"
+--- unsquashfs.c.orig 2010-09-20 03:14:38.000000000 +0530
++++ unsquashfs.c 2010-09-29 09:34:43.000000000 +0530
+@@ -29,9 +29,16 @@
+ #include "compressor.h"
+ #include "xattr.h"
+
++#ifdef __linux__
+ #include <sys/sysinfo.h>
++#endif
++
+ #include <sys/types.h>
+#ifdef __FreeBSD__
+#include <sys/sysctl.h>