diff options
-rw-r--r-- | devel/gettext-tools/distinfo | 3 | ||||
-rw-r--r-- | devel/gettext-tools/patches/patch-as | 19 |
2 files changed, 21 insertions, 1 deletions
diff --git a/devel/gettext-tools/distinfo b/devel/gettext-tools/distinfo index d0a98c66344..d7ae2ba2601 100644 --- a/devel/gettext-tools/distinfo +++ b/devel/gettext-tools/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.8 2007/11/26 18:08:36 tron Exp $ +$NetBSD: distinfo,v 1.9 2010/02/05 11:18:12 obache Exp $ SHA1 (gettext-0.14.6.tar.gz) = 0d8ce8d9a09a719065a1530399c4f45c15a002c5 RMD160 (gettext-0.14.6.tar.gz) = 02138d12fd4d9ce0b3bda2d132f1569b30d16726 @@ -20,3 +20,4 @@ SHA1 (patch-ao) = 9e81b05b6e1ee76197c360a441264588607a475c SHA1 (patch-ap) = 2955c2d6b2b2d52248d449a0b7ea025a0d632bea SHA1 (patch-aq) = 5071a9358707ee8831fa0fcfb6a4cd35a21f7547 SHA1 (patch-ar) = 587e9788aee5180a0425c0eb0797e6f8e68da864 +SHA1 (patch-as) = d6d13bb226c12a8f6549314bfa6a426f258fe014 diff --git a/devel/gettext-tools/patches/patch-as b/devel/gettext-tools/patches/patch-as new file mode 100644 index 00000000000..602e4f6f727 --- /dev/null +++ b/devel/gettext-tools/patches/patch-as @@ -0,0 +1,19 @@ +$NetBSD: patch-as,v 1.1 2010/02/05 11:18:12 obache Exp $ + +Treat Haiku like BeOS + +http://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=40d88197eef9efb44102f8fd6ce10141ca61fb3c + +--- gettext-tools/lib/binary-io.h.orig 2005-05-20 21:03:41.000000000 +0000 ++++ gettext-tools/lib/binary-io.h +@@ -31,8 +31,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 |