Make this package build on NetBSD-1.6.2 by correcting header file paths.

This commit is contained in:
minskim 2005-07-19 13:51:52 +00:00
parent 1c1bcf2282
commit b27819145f
3 changed files with 28 additions and 8 deletions

View file

@ -1,7 +1,8 @@
$NetBSD: distinfo,v 1.6 2005/07/12 13:55:26 minskim Exp $
$NetBSD: distinfo,v 1.7 2005/07/19 13:51:52 minskim Exp $
SHA1 (unalz-0.40.tgz) = f187a9b12260afa72369be3411a6052f32371343
RMD160 (unalz-0.40.tgz) = 3b1b40c101e1904353d7a03828957276a0ec8171
Size (unalz-0.40.tgz) = 131697 bytes
SHA1 (patch-aa) = 35072979d009ff4a0d110e64aeac99e2f7a584cc
SHA1 (patch-ab) = 36a49ae81e02ab3f0f9546eb13de9456dff4d954
SHA1 (patch-ab) = f9c1d88c3c49e3601d0a1dbfb727406a5b07d640
SHA1 (patch-ac) = 00c6255437f4ebdf3676787ed63cc838a16476d4

View file

@ -1,12 +1,16 @@
$NetBSD: patch-ab,v 1.4 2005/07/12 13:55:26 minskim Exp $
This patch assumes that on NetBSD, every <iconv.h> has the non-const
prototype argument for the second parameter of iconv(). This is true for
all but some release candidates of NetBSD-2.0, because either the
package converters/libiconv is used or there's a current <iconv.h>.
$NetBSD: patch-ab,v 1.5 2005/07/19 13:51:52 minskim Exp $
--- UnAlz.cpp.orig 2005-06-17 22:31:33.000000000 -0500
+++ UnAlz.cpp
@@ -1,6 +1,6 @@
//#include "stdafx.h"
-#include "zlib/zlib.h"
-#include "bzip2/bzlib.h"
+#include <zlib.h>
+#include <bzlib.h>
#include "UnAlz.h"
// mkdir
@@ -18,6 +18,10 @@
# include <errno.h> // iconv.h 때문에 필요
#endif

View file

@ -0,0 +1,15 @@
$NetBSD: patch-ac,v 1.1 2005/07/19 13:51:52 minskim Exp $
--- UnAlzBzip2.cpp.orig 2004-11-27 08:33:33.000000000 -0600
+++ UnAlzBzip2.cpp
@@ -10,8 +10,8 @@
////////////////////////////////////////////////////////////////////////////////////////////////////
//#include "stdafx.h"
-#include "zlib/zlib.h"
-#include "bzip2/bzlib.h"
+#include <zlib.h>
+#include <bzlib.h>
#include "bzip2/bzlib_private.h"
#include "UnAlz.h"