summaryrefslogtreecommitdiff
path: root/archivers/unalz/patches
diff options
context:
space:
mode:
authorminskim <minskim>2005-07-19 13:51:52 +0000
committerminskim <minskim>2005-07-19 13:51:52 +0000
commit4c6a97f2ec8b1cbda257d6b101afd8caf71ae513 (patch)
treed988e0779abf9adf2dff51f54703612f8e03b73c /archivers/unalz/patches
parent121bbfa9cba21db963d6f247302b2d433e84a546 (diff)
downloadpkgsrc-4c6a97f2ec8b1cbda257d6b101afd8caf71ae513.tar.gz
Make this package build on NetBSD-1.6.2 by correcting header file paths.
Diffstat (limited to 'archivers/unalz/patches')
-rw-r--r--archivers/unalz/patches/patch-ab16
-rw-r--r--archivers/unalz/patches/patch-ac15
2 files changed, 25 insertions, 6 deletions
diff --git a/archivers/unalz/patches/patch-ab b/archivers/unalz/patches/patch-ab
index 016b4365efc..29cadba21ff 100644
--- a/archivers/unalz/patches/patch-ab
+++ b/archivers/unalz/patches/patch-ab
@@ -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
diff --git a/archivers/unalz/patches/patch-ac b/archivers/unalz/patches/patch-ac
new file mode 100644
index 00000000000..b831665559b
--- /dev/null
+++ b/archivers/unalz/patches/patch-ac
@@ -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"
+