aboutsummaryrefslogtreecommitdiff
path: root/archivers
diff options
context:
space:
mode:
authorJohn Marino <marino@FreeBSD.org>2014-07-07 10:47:37 +0000
committerJohn Marino <marino@FreeBSD.org>2014-07-07 10:47:37 +0000
commit5d68b2a1edfb1777f9f17bc7d7013177daec00f4 (patch)
tree4a7f2ec63b3c775e82306dfee4cbcd383106f11b /archivers
parent592081e41bd91b330b8a69556d601e83cf044962 (diff)
downloadports-5d68b2a1edfb1777f9f17bc7d7013177daec00f4.tar.gz
ports-5d68b2a1edfb1777f9f17bc7d7013177daec00f4.zip
Notes
Diffstat (limited to 'archivers')
-rw-r--r--archivers/unalz/files/patch-UnAlz.cpp16
1 files changed, 13 insertions, 3 deletions
diff --git a/archivers/unalz/files/patch-UnAlz.cpp b/archivers/unalz/files/patch-UnAlz.cpp
index 6bb4d2e3d5a5..f0cd87c72cb3 100644
--- a/archivers/unalz/files/patch-UnAlz.cpp
+++ b/archivers/unalz/files/patch-UnAlz.cpp
@@ -1,15 +1,25 @@
---- UnAlz.cpp.orig
+--- UnAlz.cpp.orig 2014-07-07 10:40:53.000000000 +0000
+++ UnAlz.cpp
@@ -37,7 +37,7 @@
# include <errno.h>
#endif
-#if defined(__NetBSD__)
-+#if defined(__NetBSD__) || defined(__FreeBSD__)
++#if defined(__NetBSD__) || defined(__FreeBSD__) || defined(__DragonFly__)
# include <sys/param.h> // __NetBSD_Version__
# include <errno.h> // iconv.h ¶§¹®¿¡ ÇÊ¿ä
#endif
-@@ -1907,7 +1907,11 @@
+@@ -455,7 +455,8 @@ BOOL CUnAlz::ReadLocalFileheader()
+ size_t size;
+ char inbuf[ICONV_BUF_SIZE];
+ char outbuf[ICONV_BUF_SIZE];
+-#if defined(__FreeBSD__) || defined(__CYGWIN__) || defined(__NetBSD__)
++#if defined(__FreeBSD__) || defined(__CYGWIN__) || defined(__NetBSD__) \
++ || defined(__DragonFly__)
+ const char *inptr = inbuf;
+ #else
+ char *inptr = inbuf;
+@@ -1907,7 +1908,11 @@ void CUnAlz::DecryptingData(int nSize, B
////////////////////////////////////////////////////////////////////////////////////////////////////
UINT32 CUnAlz::CRC32(UINT32 l, BYTE c)
{