aboutsummaryrefslogtreecommitdiffstats
path: root/archivers
diff options
context:
space:
mode:
authorarved <arved@FreeBSD.org>2006-12-20 03:23:21 +0800
committerarved <arved@FreeBSD.org>2006-12-20 03:23:21 +0800
commit30ab8aed54555e846dedc81f41aaeae4905f2871 (patch)
tree91d3387d73b51a9c416e0b3f1bf8a245ee736854 /archivers
parent16d6700d4d21f5c69f8dfc963acd702d38fc6697 (diff)
downloadfreebsd-ports-gnome-30ab8aed54555e846dedc81f41aaeae4905f2871.tar.gz
freebsd-ports-gnome-30ab8aed54555e846dedc81f41aaeae4905f2871.tar.zst
freebsd-ports-gnome-30ab8aed54555e846dedc81f41aaeae4905f2871.zip
Fix build with gcc41
Diffstat (limited to 'archivers')
-rw-r--r--archivers/libcabinet/files/patch-cfcreate.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/archivers/libcabinet/files/patch-cfcreate.h b/archivers/libcabinet/files/patch-cfcreate.h
new file mode 100644
index 000000000000..2b6a8be2d6e4
--- /dev/null
+++ b/archivers/libcabinet/files/patch-cfcreate.h
@@ -0,0 +1,11 @@
+--- cfcreate.h.orig Tue Dec 19 20:09:01 2006
++++ cfcreate.h Tue Dec 19 20:09:09 2006
+@@ -211,7 +211,7 @@
+ int process_block(const byte* data, word datalen);
+ int read_block(istream& in, byte* &buf, int& bytesread);
+ int compress_block(byte* &dest, word &destlen, byte* src, word srclen);
+- CHECKSUM cfc_folderinfo::CSUMCompute(byte* pb, unsigned cb, CHECKSUM seed);
++ CHECKSUM CSUMCompute(byte* pb, unsigned cb, CHECKSUM seed);
+ public:
+ cfc_folderinfo() { clear_variables(); }
+ virtual ~cfc_folderinfo() { free_buffers(); }