summaryrefslogtreecommitdiff
path: root/converters
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2010-01-30 10:24:29 +0000
committerobache <obache@pkgsrc.org>2010-01-30 10:24:29 +0000
commit18d2159bee75ee4101268c7e8812bcfe69153e38 (patch)
tree2066a316ec7c8d4bb5181ec60ef262ee983f3b04 /converters
parent09902bdafacf6f330a69ea0e881f5c5b6d9180d8 (diff)
downloadpkgsrc-18d2159bee75ee4101268c7e8812bcfe69153e38.tar.gz
Treat Haiku like BeOS.
Diffstat (limited to 'converters')
-rw-r--r--converters/libiconv/distinfo3
-rw-r--r--converters/libiconv/patches/patch-ag19
2 files changed, 21 insertions, 1 deletions
diff --git a/converters/libiconv/distinfo b/converters/libiconv/distinfo
index 0fc8a6d388e..0c74bb68045 100644
--- a/converters/libiconv/distinfo
+++ b/converters/libiconv/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.32 2010/01/06 21:01:09 tron Exp $
+$NetBSD: distinfo,v 1.33 2010/01/30 10:24:29 obache Exp $
SHA1 (libiconv-1.12-cp932.patch.gz) = 7c433e19a61a15bd9585e01c0a6fbe2eb9129625
RMD160 (libiconv-1.12-cp932.patch.gz) = 33eb9758470f5e7ca0608fc478ea1342bf6bd0dc
@@ -12,3 +12,4 @@ SHA1 (patch-ac) = a27e8ab5a776a2bc8b2c790eabff5c15985d9584
SHA1 (patch-ad) = e94da1c4423677b74f463d4b132c7714efc65815
SHA1 (patch-ae) = e18c4d9dd76b27e40c8dcd273f856fe5933f72bc
SHA1 (patch-af) = 83c65b3b2d8a7e8ed83246258523a8d2f2b49c41
+SHA1 (patch-ag) = f2ac1a4ecb30e328e6cccdfac47789e03e65c31d
diff --git a/converters/libiconv/patches/patch-ag b/converters/libiconv/patches/patch-ag
new file mode 100644
index 00000000000..c4e544e6510
--- /dev/null
+++ b/converters/libiconv/patches/patch-ag
@@ -0,0 +1,19 @@
+$NetBSD: patch-ag,v 1.1 2010/01/30 10:24:29 obache Exp $
+
+Treat Haiku like BeOS
+
+http://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=40d88197eef9efb44102f8fd6ce10141ca61fb3c
+
+--- srclib/binary-io.h.orig 2007-10-23 23:31:23.000000000 +0000
++++ srclib/binary-io.h
+@@ -30,8 +30,8 @@
+ # define O_BINARY _O_BINARY
+ # define O_TEXT _O_TEXT
+ #endif
+-#ifdef __BEOS__
+- /* BeOS 5 has O_BINARY and O_TEXT, but they have no effect. */
++#if defined __BEOS__ || defined __HAIKU__
++ /* BeOS 5 and Haiku have O_BINARY and O_TEXT, but they have no effect. */
+ # undef O_BINARY
+ # undef O_TEXT
+ #endif