Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Jul 2014 10:47:37 +0000 (UTC)
From:      John Marino <marino@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r361051 - head/archivers/unalz/files
Message-ID:  <201407071047.s67Alb1G004448@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: marino
Date: Mon Jul  7 10:47:37 2014
New Revision: 361051
URL: http://svnweb.freebsd.org/changeset/ports/361051
QAT: https://qat.redports.org/buildarchive/r361051/

Log:
  archivers/unalz: Adjust patch for DragonFly support (dports)

Modified:
  head/archivers/unalz/files/patch-UnAlz.cpp

Modified: head/archivers/unalz/files/patch-UnAlz.cpp
==============================================================================
--- head/archivers/unalz/files/patch-UnAlz.cpp	Mon Jul  7 10:39:30 2014	(r361050)
+++ head/archivers/unalz/files/patch-UnAlz.cpp	Mon Jul  7 10:47:37 2014	(r361051)
@@ -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)
  {



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201407071047.s67Alb1G004448>